/FLT/ - Friendly GNU/Linux Thread - The Return Edition

I noticed that the last thread ended without a new one getting made.

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

$ 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
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: /fglt/'s website and copypasta collection:
fglt.nl && p.teknik.io/wJ9Zy

Other urls found in this thread:

trac.ffmpeg.org/wiki/Encode/VP8
youtube.com/watch?v=YWlZ3B_hq_g
github.com/koalaman/shellcheck/wiki/SC2156
freedesktop.org/wiki/Software/PulseAudio/Download/
github.com/jaagr/polybar/wiki/Module:-volume
pastebin.com/raw/y1NiW4Ac
pastebin.com/W9Wuv6bd
twitter.com/NSFWRedditVideo

pleas delet, my girlfriend maki doesn't smoke

Look buddy I'm just here to bring the thread back. I needed to make sure lots of regulars would show up to yell at me, ensuring a new one gets made. Please take arguments about Love Live to Sup Forums.

> make archive with tar
> have easily 500 GB of free space on home partition
> xarchiver says it can't open the archive because "no space on device"

Can someone help me out here? I really fucking don't want to resize my tmp partition like a google result suggested and I'm not sure what the problem is.

ffmpeg -i input -c:v libvpx -crf 18 -qmin 4 -qmax 30 -codec vp8 -quality best -lag-in-frames 16 -slices 8 -threads 4 -acodec libvorbis -aq 8 output

How's this for a cookie cutter ffmpeg preset? Did I miss anything important?

The bitrate maybe? I don't think vp8 allows variable bitrate in the same way some other encodings do and still utilizes a bitrate as a "target".
trac.ffmpeg.org/wiki/Encode/VP8
>Choose a higher bit rate if you want better quality. Note that you shouldn't leave out the -b:v option as the default settings will produce mediocre quality output.

>as the default settings will produce mediocre quality output.
I always just varied CRF to get the quality I wanted, but I guess I should add it then.

Once a mdadm array is unmounted can the drives be powered down safely or is there more to it?

At any rate just using tar from the command line to extract it fully works, which is good enough for my purposes I guess

is there a place i can pay someone to build me a smartphone ish sized terminal or do i still have to make one myself like a peasant.

if i gotta do that, is there space in link below for a headphone jack? i cant really tell from the video and i dont wanna sink money into the parts just to find out theres not enough room.

youtube.com/watch?v=YWlZ3B_hq_g

Anyone got a good guide to setting up a virtual machine completely without the use of a gui?

i dont but whats the point of that?

might as well create a seperate partition to chroot into with its own os installed to it.

Having some problem with ncmpcpp visualization after reformatting. It's just "off balance", the bars above the middle line were always accurately mirrored by the bars below the middle line if that makes any sense. It did not look like this before and yes I do have the option for displaying the spectrum in stereo. Any feedback would be great.

I'm setting up a VM on a remote host that doesn't have a window manager of any sort (purely command line) so I'll have no graphical interface until I have vnc running on the VM that I am currently creating.

can you not physicaly access the device and install a window manager just to go through the process of installing the vm, then uninstall the window manager after?

unless the virtual machine boots command lin only, then you start a display server on it theres no reason not to install a display server on the host in the first place, or rather maybe just use the remote host for whatever you plan to do in the virtual machine

I spend something like 10 hours a day in a web browser with music playing. What DE should I use?

mate's pretty comfy

reinstall maybe?

i3

Well yeah, and in cases where the bitrate isn't used with CRF then that's all you need. But webm seems to need both for some reason.
So they're like 2 separate parameters that you need to fine tune.

If my understanding is correct than my simple way of thinking about it is that crf more or less determines the target quality, and the bitrate determines how fast the image can meet that quality.
(e.g. if 100% of the screen changes then that's a lot of new information to update, rather than just updating a potion of the screen, so it can't do it all at once. With a low bitrate it takes more frames before the full image is corrected and a high bitrate can change more of the screen at once)
So with a low bitrate and a good crf, you might have a good quality image if the scene doesn't change much but when it does change you will notice artifacts and low quality that will linger for a while as the image slowly recovers up to the quality determined by the crf.
I could be wrong about that though, but I do know that you need both options.

It's a buddy's computer so no. All I really need to know is how to get a command prompt from the VM once it's been created and I'm golden.

How do I access a virtual machine's terminal without use of SSH or VNC?

All my external USB drives, USB sticks, other computers etc. use NTFS. Is installing Ubuntu using ext4 file system a bad idea if I use those devices daily?

What is the preferred way to manage multiple Wine versions and multiple Wine prefixes?

Is it PlayOnLinux or something else?

are you asking how to ssh into a virtual machine running on a remote machine?
idk how to do that

but why create a virtual machine at all?

Nope. Go ahead and use ext4 for Ubuntu. Linux has no problem reading NTFS devices. ext4 partitions are only readable by Linux

>Linux has no problem reading NTFS devices.
Yeah, except for huge CPU strain because it's built on FUSE and is constantly moving data between the kernel and userspace. Unless you're using certain proprietary (and paid) NTFS drivers.

Basically it's a sandbox for me. I have ssh access to the remote machine. I have the same level of access as I would from my own computer in a terminal emulatorl; I just need to know what command lets me emulate the VM's terminal so I can set up its OS and get vnc going.

You can access NTFS on Linux easily, but be aware of two things:
1. ACLs after writing the data from Linux will probably look weird if that matters to you.
2. What user said . It shouldn't be a problem with low data amounts, but it can become one if you need to squeeze every last bit of RW performance and/or energy efficiency.

find "$1" -type f -exec bash -c '[[ $(stat -c %h {}) =~ ^[2-9]+$ ]] && echo {}' \;
How do I make it so the substitution (the '{}') is escaped? Putting single quotes around {} breaks the string, and double quotes don't prevent shell expansion so also broken

Could you give me a backtrace on firefox using gdb or something? I think the error has something to do with improper mimetypes.

Obviously doesn't matter, but consider using a tiling WM instead of a DE if you don't need the bloat (e.g. you aren't using a laptop).

Pls respond

not him but why would a laptop need bloat? If anything I'd think it'd be backwards

To escape it you'd do this:
'..."{}'...'

The ellipsis is just your other code. That's not what you want to do, though.

github.com/koalaman/shellcheck/wiki/SC2156

Consider "shellchecking" your non-trivial shell code in the future. shelcheck.net

The escaped code should be:
'..."{}"...'

My bad. Also this site: shelcheck.net
Should actually be shellcheck.net

What is the best way to remotely access my computer from outside my home network?

I want to do some work at the library so I stop getting distracted by pornography and memes.

That sounds like a Raspberry Pi project

yeah ive only ever seen chip/raspberry pi projects that accomplsh this. if you have time, can you peek at the video and let me know if you think theres room for a headphone jack?

vnc over ssh

You could try placing one in the spot that my picture is. I might be a little awkward but if your desperate you could try that or moving the pi to the other end.

What is the best clean, full-featured, not oversimplified DE with a Windows2000y form and function? Or the one in which it is easiest to set up such an configuration. Setting up a T420 I'm giving as a gift and need to give it a familiar, comfy, desktop that can be used and super-used (almost) entirely through GUI, or the closest thing to such a desktop.

h-hey Sup Forums

helperino please?

sorry for the poor pic
I have o keep switching layouts between PT and US and apparently shit got fucked up in the installation process

It works in firefox with the latest commit, but it does not in chromium
Here is a backtrace

(gdb) bt
#0 0x00007fffef5fe860 in raise () at /usr/lib/libc.so.6
#1 0x00007fffef5ffec9 in abort () at /usr/lib/libc.so.6
#2 0x00007ffff6e10395 in g_assertion_message ()
at /usr/lib/libglib-2.0.so.0
#3 0x00007ffff6e1073e in g_assertion_message_error ()
at /usr/lib/libglib-2.0.so.0
#4 0x00007ffff202316c in () at /usr/lib/libgio-2.0.so.0
#5 0x00007ffff2024bb3 in () at /usr/lib/libgio-2.0.so.0
#6 0x00007ffff2026d89 in () at /usr/lib/libgio-2.0.so.0
#7 0x00007ffff205b956 in () at /usr/lib/libgio-2.0.so.0
#8 0x00007ffff2086532 in () at /usr/lib/libgio-2.0.so.0
#9 0x00007ffff6e0e5dc in () at /usr/lib/libglib-2.0.so.0
#10 0x00007ffff6e134f5 in () at /usr/lib/libglib-2.0.so.0
#11 0x00007ffff7bc108a in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007fffef6c042f in clone () at /usr/lib/libc.so.6

So basically I need to access the virtual machine without the use of X. I though it'd be simple but it's proven quite ornery.

How do I make it so that sudo can execute any command without needing a password? Does it involve editing the /etc/sudoers file?

Don't do that.
Might as well run everything as root while you're at it.

But I'm lazy. At the end of the day, I just want to type in sudo init 0 and be done with it. Maybe I should make my password shorter.

>'..."{}"...'
This doesn't work if the filename has metacharacters, and in fact what your link advises against. But thanks for the link, as I didn't think to pass as a parameter and that works well.

my thoughts exactly

Just run as root

have you tried Solus?

I also am giving away a t420 this holiday season to a friend who wants to escape Winblows and that is what I went with.

You're stupid, is what. Nothing good comes from trying to circumvent basic security.

If I have PulseAudio and ALSA installed at the same time, will shit hit the fan in my system somehow?

I want to compile Polybar with Volume module support, but they need ALSA for that and don't support PulseAudio officially. According to this most functionality would work with the pulseaudio-alsa backend, but I haven't found a package of it for Debian. Do I need to get it from freedesktop.org/wiki/Software/PulseAudio/Download/ exclusively? Or should I install the actual alsalib from Debian repos?

you know when gohan and cell fired their kamemeamemeha's at each other? that's what would be happening in your computer.

Why?

Pulse is a layer built upon alsa, you can use either but without the functionality of pulse when you're just using alsa.

Are you sure? Just to be clear, I'm on PulseAudio exclusively right now

If what you say is true then why does it ask me for a pulseaudio-alsa backend if I want to compile it with ALSA support?

github.com/jaagr/polybar/wiki/Module:-volume

Yes, I am sure. Having the backend is good so you dont have to do shit seperatly. You can also use apulse.

Isn't apulse to make applications think they're talking to Pulseaudio though? What I'd want is for them to think they're talking to ALSA

Do you mean Budgie? I'm looking for a DE, not a distro - pretty set on openSUSE. Budgie looks like the skin of Cinnamon slapped onto the functionality of XFCE.
Here's what I would like out of the DE for the intended user:
> Clean, orderly application menu
> Single location for style/theme and system (devices, peripherals, network, user accounts, etc.) configuration
> File browser/picker that includes directory tree
> Comfy UI/UX design language
> Optionally, a half-decent selection of /good/ themes/decorations/icons
In other words, I want KDE 3. What is the most like KDE 3? It's not Plasma 5. Flat design where the main menu is >50% empty space makes my eyes burn. It's not anything GNOME-derived. Last I tried Trinity, it was barely held together by a scarce team of enthusiasts. What is the closest I can get to these criteria and still have a mature, stable, maintained DE?

On XFCE is there a way to embed the menu bar and window buttons into the taskbar like I have on KDE? See pic related

VMware's being a pain, it doesn't want to compile its kernel modules. Arch Wiki isn't helping much. So here's my question, can VirtualBox be good enough for Adobe CC software? (Photoshop, Illustrator, InDesign etc)

I'm trying to get i3wm to set a wallpaper via the config file but it's not working. I added the line "exec --no-startup-id feh --bg-scale ~/path/to/wallpaper.png" but for some reason It isn't working. I'm modifying the file in . config/i3/config if that makes any difference

Are you using the dkms packages?
If you arent you should, then just invoke mkinitcpio or how ever your distro installs kernels and it should generate the modules for it

A backup got stuck again on proxmox, for 5 days now, the console says it's "stopping", but obviously it's not, I sigkill'd everything possible, but the task itself is not killable, the only solution usually is to restart the entire server.

Is there a way to kill the task, without having to restart the entire server each time this shit happens?

Has anyone got an idea on how to fix GNOME's animation lag? It's unbearable

I can't reproduce your error. But try giving this patch a shot.
pastebin.com/raw/y1NiW4Ac

Of course, you should still clone the glib2 patched thumbnailer repo and apply the various Arch patches as well. This will spit out a bunch of errors during build, but it seems OK. Not sure if it'll fix anything for you though.

On Arch, already using that patch.

This is barely different. It just reverts a couple of g_assert calls.

Does anyone here use a DisplayLink monitor?

I feel like I'm trapped into using Ubuntu because they have the only supported driver. There were some guides for Arch but the approach was outdated.

Tried the posted patch and its still crashing

(gdb) bt
#0 0x00007fffef5fe860 in raise () at /usr/lib/libc.so.6
#1 0x00007fffef5ffec9 in abort () at /usr/lib/libc.so.6
#2 0x00007ffff6e10395 in g_assertion_message ()
at /usr/lib/libglib-2.0.so.0
#3 0x00007ffff6e1073e in g_assertion_message_error ()
at /usr/lib/libglib-2.0.so.0
#4 0x00007ffff2103fdc in () at /usr/lib/libgio-2.0.so.0
#5 0x00007ffff2105a23 in () at /usr/lib/libgio-2.0.so.0
#6 0x00007ffff20ef3a9 in () at /usr/lib/libgio-2.0.so.0
#7 0x00007ffff2043686 in () at /usr/lib/libgio-2.0.so.0
#8 0x00007ffff207a662 in () at /usr/lib/libgio-2.0.so.0
#9 0x00007ffff6e0e5dc in () at /usr/lib/libglib-2.0.so.0
#10 0x00007ffff6e134f5 in () at /usr/lib/libglib-2.0.so.0
#11 0x00007ffff7bc108a in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007fffef6c042f in clone () at /usr/lib/libc.so.6

Yup, the same shit. I'll have to take spend some time trying to figure it out.

finally happened to me
updated arch and half my shit broke and got fucked around

is there arch LTS lol

explain pic pls

debian

>buy a cheap ARMv8 mini itx devkit
>add a USB3 JBOD enclosure and 32TB of raw storage
>set the externals up as BtrFS RAID10
>change password, add user, install basic packages, and get hacking
>and it all just fucking works
I love Linux so much.

pic is example of shit aliased font rendering your welcome

Thanks anons.

just upgraded my internet from 2mbps down to 14. holy fuck bros.

Seconding i3. If you switch to a panel like polybar, you can display/control what's playing with mpd, so then you can play/pause/skip music while the browser is maximized.

Looks like your font might not be displaying correctly. You might have to use the family name for the font. e.g. xos4 terminus instead of terminus, or lucy tewi instead of tewi. Do fc-list | grep -i FONT and search for the font you're using. You may have to edit your terminal config to rename the font. It was an upstream change that not all distros followed. It's something you need to change on Arch, but not Void, for example.

The letters at the bottom look wrongly spaced like when you're using a non-monospace font in a terminal, which has mainly happened to me when my font name changes and it falls back to a non-monospace font, so that's why I'm suggesting this.

Have you looked into the Gemini PDA?

You can configure certain commands to not need a password, I think. Do it with the most-used ones, like your package manager or poweroff/reboot.

>Just to be clear, I'm on PulseAudio exclusively right now
Not him, but in my experience, you always have alsa, and you sometimes have pulse on top of alsa. I find it hard to believe you haven't got alsa installed. If you're using pulse primarily, but alsa is installed, you should still be able to have some programs just interface with alsa directly without issues.

Just fucking called my buddy and asked him to let me install some stuff. Case closed.

Due to Monster Hunter World, I'm thinking of putting Windows back on my PC.
I know from previous experience that installing Windows over an existing Linux install just breeds all manner of issues, so my plan is to format, install Windows, then install Linux.

I don't want to lose my current config, though.
is there a way to make a complete backup of my Linux install, sorta like TWRP?

I know I can back up /home, but I don't wanna reinstall everything.

>If you switch to a panel like polybar, you can display/control what's playing with mpd

i3blocks can already do that sorta thing, why do you need polybar?

christ

How do I make my drives accesible without root after mounting them?
Is there a flag for mount that does that or do I have to modify fstab

look up how to change ownership of a mounted drive

I want to do a minimal Debian install for my laptop, all I essentially need is a music player (mopidy for Google Play Music support with ncmpcpp) and a web browser (firefox-esr). Lightdm, bspwm and polybar is what I'm used to having and I have config files ready to go for them.
Which packages do I need to install besides the ones I just mentioned (and/ or their dependencies) so the system still functions without any major hiccups.
Also, is it a smart idea to disable apt from installing recommends and suggests? It would help to keep things minimal.

Since Sup Forums, redditors and Sup Forumstards don't give a fuck or are too stupid to get into linux, I think it's better to ask here to have better answers.

What the hell is all this mess about net neutrality recently ? It went from
>you need net neutrality to have the same access to internet everywhere and that every website is treated the same way, permitting that big companies that can pay do not have a monopoly
to
>supporting net neutrality is supporting big corporations, muuh sjw will run the web with net neutrality
>free market will fix everything
>only redditors wants net neutrality


Does anyone here can explain me what the fuck is going ?

You'll need open source drivers for an AMD GPU, proprietary driver for an NVIDIA GPU
Wifi drivers.
I don't remember exactly what are the packages pre-installed with debian, but you might want a few things like sudo, vim, gedit...

If you automount with fstab you can modify it there. But is what you might want to do

anything locale is related to your system language

>install arch
>one package become unsupported
>it breaks a few applications that depended on it
>removing this package fixes everything
It happened to me once. I doubt it broke everything like you said.
Debian testing or gentoo to answer you.

install a better DE

I would say most of it is meme shitposting. The demographic that uses Sup Forums is the sort that would understand what NN is and how it is good for the consumer. No doubt there are polfags who know what it is and how it is good but like seeing libruls cry more than anything else so they revel in losing NN. But I feel like even on Sup Forums they are just the vocal minority.

>Which packages do I need to install besides the ones I just mentioned

Maybe power management software? PowerTOP, TLP or Laptop-Mode-Tools.

>Also, is it a smart idea to disable apt from installing recommends and suggests? It would help to keep things minimal.

If you disable recommends, X will probably not work out of the box, for example. I don't think suggested packages are installed by default, but they stay in your system as dependencies if another package pulls them.

I'd have suggested packages removed by apt autoremove. You can do it by adding this in your apt.conf:

APT::AutoRemove::SuggestsImportant "false";

kek

Something in your X environment is setting that locale (C). If you log into a non-X environment, a tty for example, it should say en_US for everything. Solution: set your locale in your X session as well.

pastebin.com/W9Wuv6bd
This is my windows 10 configuration xml file for libvirt.
I'm using a ryzen 1600. What should I change in here to get 4 cores/8 threads in my virtual machine?

Can someone who's using Openbox post his output of ps aux?