/fglt/ - Friendly GNU/Linux Thread

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%

Check the Wikis (most troubleshoots work for all distros):
wiki.archlinux.org
wiki.gentoo.org

Sup Forums's Wiki on GNU/Linux:
wiki.installgentoo.com/index.php/Category:GNU/Linux

>What distro should I choose?
wiki.installgentoo.com/index.php/Babbies_First_Linux

>What are some cool programs?
wiki.archlinux.org/index.php/list_of_applications
directory.fsf.org/wiki/Main_Page

>What are some cool terminal commands?
commandlinefu.com/
bropages.org/

>Where can I learn the command line?
mywiki.wooledge.org/BashGuide
linuxcommand.org/tlcl.php
grymoire.com/Unix/

>Where can I learn more about Free Software?
gnu.org/philosophy/philosophy.html

>How to break out of the botnet?
prism-break.org/en/categories/gnu-linux

/t/'s GNU/Linux Games: /t/'s GNU/Linux Videos: /fglt/'s website and copypasta collection:
fglt.nl && p.teknik.io/wJ9Zy

Other urls found in this thread:

j3e.de/linux/convmv/man/
lists.freedesktop.org/mailman/listinfo/systemd-devel
giantbomb.com/podcasts/the-giant-beastcast-episode-102/1600-1961/
photofunia.com/effects/retro-wave
majorgeeks.com/news/story/nvidia_adds_telemetry_to_latest_drivers_heres_how_to_disable_it.html
ubuntuforums.org/showthread.php?t=2218732&page=2
twitter.com/NSFWRedditImage

>3DPD

I ran into a weird problem.

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.

How do I properly use convmv j3e.de/linux/convmv/man/ ?

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?

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).

/etc/systemd/system/tpspeed.service
[Unit]
Description=Adjust TouchPoint speed.

[Service]
Type=oneshot
ExecStart=/usr/local/bin/tpspeed.sh
User=root
Group=root

[Install]
WantedBy=multi-user.target


/usr/local/bin/tpspeed.sh
#!/usr/bin/sh
echo -n 225 > /sys/devices/platform/i8042/serio1/serio2/sensitivity
echo -n 225 > /sys/devices/platform/i8042/serio1/serio2/speed


journalctl -xe gives:

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

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.

Probably -f shiftjis

Which one of you fuckers sent a Stallman copypasta to the Giant Beastcast?

It starts at 01:43:45

giantbomb.com/podcasts/the-giant-beastcast-episode-102/1600-1961/

Can you ditch out systemd from distros bundled with systemd?

grsec, PAX, SELinux, hardened flags, some other stuff. The first two are gone from the open source now though

debian - devuan
arch - manjaro (openrc) or just set up runit with the guide

>be me wants to install lunix on grandma's ancient rig
>it's pentium m (non pae) with 512 mb ram
What distro to install aside puppy?

Debian GNU/Hurd

>le systemd a botnet meem

try again

Is it unethical to charge for Windows binaries, and to include GNU, FSF, and Linux adverts in them?

Nevermind, fixed it.

better res?

...

photofunia.com/effects/retro-wave

rare katya?

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?

...

You can use Linux without GNU.
You can't use GNU without Linux.

>swf
is this 1998?

kill yourself

What is BSD? What is Hurd?

>GNU/Solaris
>GNU/kFreeBSD
>GNU/Hurd

I've never heard of a usable Hurd.

I just upgraded my distro, how do I get rid of telemetry and ads?

Oh wait, I'm not using Windows. False alarm!

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.

majorgeeks.com/news/story/nvidia_adds_telemetry_to_latest_drivers_heres_how_to_disable_it.html

does this even affect lunix?

This has long been proven impossible with modern technology, sorry.

use the patched version of gtk2

install kde

>patched version of gtk2
Which patched version?

the filechooser one

i found it. now how do I use it?

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

this is my favorite subreddit

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.


Am I forever destined to be on Windows?

Processor: i7 Skylake 6700k
Motherboard: MSI Z170A GAMING M7 (MS-7976)
RAM: 32GB RAM

no

yes

Wtf do I do? cant update packages
I just wanted to look cool in screenfetch threads I didnt ask for this I need HAAAALLLPPP

>Arch
found your problem

>using a gui for pacman
>using gstreamer
>using gnome
Fix those things then come back

I use Arch Linux.

Here's the solution, turns out you don't have to reinstall flash player like it says though.

ubuntuforums.org/showthread.php?t=2218732&page=2

install adobe-flashplugin

>suggesting nonfree malware

I use Arch Linux and I am better than you.

i must be retarded cause I cant figure it out

Figure out how to patch it or figure out how to search your distro's repos?

bump

Both.

gentoo

I use Gentoo and I am better than you.

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.

why aren't you using top instead of htop?

because i'm a human

...

neat, but the white borders kill it
how did you create it?

MMD

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.

>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

Configured it now. Took me 40 minutes to fully understand how it works and it looks pretty nice now. Thanks.

...

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.

I can't move files from my external hard drive Elements, to my second hard drive in my computer 'z'. What's the diagnosis?

Which file system is z?
Post output of "ls -l /mnt/z".

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!

>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.

total 16
drwx------ 2 root root 16384 May 6 10:52 lost+found

I just reformatted, and now it works. Weird because it was EXT4 before.

>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).

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.

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

Are XFCE and LXDE the last sane DEs?

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.

I prefer just openbox, tint2, thunar

Also don't use sh in the shebang, use the shell you're using.

(alternatively: ls -la *.mkv)

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

Repost your script, I will fix it.

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.

#!/bin/bash
mkdir -p "done"
for file in *.mkv
do
ffmpeg -i "$file" -c:a copy -vf "subtitles=$file" "done/$file"
done

>XFCE
It's Xfce

I give up. I spent a few hours trying to figure out how to patch shit and I still can't figure it out.

Why -vf "subtitles=$file" What do you want to do exactly?

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

Show me a manual working command line. and we will see where is the error in the script

>Xfce
It's GNU/Xfce

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?

Attached
No,the subtitles are embedded within the mkv file(1.mkv)..1mkv has audio video, and embedded subtitles

Stop. I ask for It looks like we're trolled by that user. SO that user must provide.

Gimme a working command line. Not a fucking webm.

It looks like I was right.

ffmpeg -i 1.mkv -c:a copy -vf subtitles=1.mkv 2.mkv

So your script work. Case closed. Stop trolling user. The f of friendly does not apply to trolls.

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

Im not trolling.It does not work when using the script.