/fglt/ - Friendly GNU/Linux 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: Please spend at least a minute to check a web search engine with your question.
*Many free software projects have active mailing lists.

$ man %command%
$ info %command%
$ %command% --help
$ help %builtin/keyword%

Don't know what to look for?
$ apropos %something%

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

Jow 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/
cheat.sh/
>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

/fglt/'s website and copypasta collection:
fglt.nl && p.teknik.io/wJ9Zy

Previous thread:

Attached: 1525901443830.jpg (500x375, 153K)

First for Gentoo

Second for Gentoo

Third for gen3 minus 1

Repostan from old thread

How do I make syslinux boot a squashfs file that's on another partition?
DEFAULT Live
LABEL Live
KERNEL vmlinuz
APPEND initrd=initrd boot=squash toram=filesystem.squashfs
TIMEOUT 10
PROMPT 0


this works as long as filesystem.squashfs is in /squash on the same partition as syslinux
DEFAULT Live
LABEL Live
KERNEL vmlinuz
APPEND initrd=initrd boot=LABEL=SQUASHFS toram=filesystem.squashfs
TIMEOUT 10
PROMPT 0


this does not. I have a partition with label SQUASHFS with the filesystem placed in it's root

Install Fedora, the businessman's distro

Attached: Fedora-logo.svg.png (2000x2000, 112K)

*tips distro*

I want to backup my /home once a day to a NAS. Other people are also using the NAS and I'd rather they don't steal my loli pics. Thus: what is a good backup solution?
I was thinking of making a Cron job to make a password-protected zip or something. Thoughts?

Why should I use Fedora instead of Debian?

>businessman
>beta-testing RHLE

Both are trannyfied disyris, so install neither.

I'd say a good reason is if you know you'll work with CentOS or rpm-based distro.
Or if you like Gnome, since Fedora always has the latest version iirc, like OpenSUSE with KDE

>more up-to-date
>muh SELinux
>dnf is actually good
>systemd but it's not shit for once
Fedora is mostly its own thing, only sponsored by Red Hat. It runs perfectly stable but has a short release cycle, which is not a problem for individuals, but isn't feasible for enterprise servers, which is why RHEL is a derivative with a long-ass release cycle.
Debian is worse in this regard.

Better off installing Arch tbqhwy mates.

What linux distro i should use for audio production (with a low latency audio server ofc)

install gentoo

Grt a low latency Linux.

>hobbyist distro

Why do all icon themes look like shit when displayed at >=128px
There's lots of themes that have really nice looking icons that just loose all their charm when displayed at thumbnail size.

Are there any exceptions to this? Note that I'm not talking about panel icons or whatever, these are for displaying inside a file manager, so those themes that are just all circles, squares, hexagons, don't look that great.

>he uses icons
lol

>implying we aren't all hobbyists at home
>implying this thread is anything but a hobbyist circlejerk

The point is not us being hobbyists, it's the maintainers. To top it off, they're also lazy as fuck. Between that and a distro that is good enough to be used by a big corporation as a base for their enterprise spinoff, the choice seems to be obvious.

That's not very friendly.

I've been using GNU Linux for over two years now, but I've never come to understand how setting up the network (mainly wifi) via cli works.

For instance, I've recently installed void Linux but couldn't manage to make the connection work. Never managed to understand how dhcpcd interacts with WPA_suplicant.

My home's wi fi connection is wpa2 aes. So I set the key management handles to ccmp tkip and all. Put in the ssid, the psk, everything. I've managed to make it work for one minute then for some reason it goes down and doesn't come back up unless I reboot it when I try to use the xbps.

I only ever managed to make the wifi connection work by using the GUI our curses network managers. How the hell am I supposed to configure it by config files only?

I need to create a bash script that runs two executable files. I'd like exec1 to start 20 seconds earlier than exec2, and I would like them both to open in separate terminals so I can see error output etc. Any ideas? A quick search didn't come up with much.

Give me 5 reasons to use centos

>set to tkip
bad user! bad!
TKIP has been blown open for years.

In ~2006 it had better LDAP support than Ubuntu
It's basically free RHEL if you're into that
It's probably more stable than Arch
I guess maybe poettering and co might consider bugs that affect it before debian?
Reasonably cool logo?

Quick, give the the best privacy respecting DNS entries for my resolv.conf.

Arch user here, I have a problem with USB devices. When booting up my PC there is like a 50/50 chance the kernel log will spit out something like:

[ 12.613673] xhci_hcd 0000:11:00.3: xHCI host not responding to stop endpoint command.
[ 12.613678] xhci_hcd 0000:11:00.3: xHCI host controller not responding, assume dead
[ 12.613826] xhci_hcd 0000:11:00.3: HC died; cleaning up
[ 12.613878] usb 3-1: USB disconnect, device number 2
[ 12.614210] mt76x2u: probe of 3-1:1.0 failed with error -5
[ 12.614263] usbcore: registered new interface driver mt76x2u
[ 12.614609] usb 3-3: USB disconnect, device number 3
[ 12.614891] usb 3-4: USB disconnect, device number 4


And none of my USB devices work. I can fix this by running

echo -n "0000:11:00.3" | tee /sys/bus/pci/drivers/xhci_hcd/unbind
echo -n "0000:11:00.3" | tee /sys/bus/pci/drivers/xhci_hcd/bind


as root, but it's a pain in the ass. When the USB driver doesn't shit the bed on reboot it sometimes says shit like:

>getting hardware semaphore for firmware path failed

Or something like that. How do I fix this? Did running pacman -Syu try to path my UEFI or something?

>inb4 you're too dumb to handle arch
Yeah yeah whatever, this is the only distro where I got the CUDA package to actually run. Also ubuntu is shit.

how do i set up my external hdd so it appears on my home network? on windows i just right click and press share. i really dont wanna do bs like smb servers and all that crap, i just want simple solution

> Arch user here

>path
I meant to say PATCH. How did I make the same typo twice in a row?

REHL for free
Amazon Linux is based on it if you're going to use AWS (although you can use whatever the fuck you want)
It's stable enough for servers, like Debian
Maybe you like rpm packages?
The logo is has chaos star from Warhammer?

>used by a big corporation as a base for their enterprise spinoff
There's quite a difference between "upstream" and "base" though.

>i really dont wanna do bs like smb servers

how do you reckon Windows makes the folder appear in your network?

literally just use file permissions to keep them out

Okay Jow Forums. Give me (Win7 user) a desktop distro that has the following features:
>Stable
>Fast
>Not outdated
>Not bloated
>Easy to use
>Doesn't break easily

gentoo

fuck big blue

borgbackup

xubuntu or mint xfce ?

Kubuntu.

smb servers. last time i tried setting it up on linux it took so long that i didnt even watch the movie. everyone was annoyed

Speaking of windows 7, is there an easy way to replicate the aero glass effects? I'm one of the few people that hate that that is gone from 10.

Any *buntu (Mate or Xfce preferably), OpenSuse, Debian Testing, Fedora

there's no difference you zoomer

Rebooted and KDE doesn't load; "lightdm" is not working. I tried reinstalling the relevant packages and the issue was not resolved. What can I do to fix this? (Thinkpad X200; Antergos)

Attached: 20190206_160518.jpg (3264x1836, 1.79M)

install unbound, start it and use 127.0.0.1

there are two basic problems with DNS, censorship and surveillance. there are some services which try to solve this that are actually genuine. those have, in my location, a really high ping as in 250-300ms for a response. that's .. not good. cloudflare at 1.1.1.1 and 1.0.0.1 give me 5ms which is probably by design so people have hard time resisting the temptation of using them. however, there is the better option of just hosting your own dns. unbound is really smooth for this. ideally you'd like it to be on a router shared by everyone on your local network for caching but if it's a laptop it's best to run it locally on the machine in question so you always get to resolve yourself regardless of where you go.

>>>>>>>>"""""""FRESH CUT"""""""
Right
These places are nasty. If only the public knew how bad it really was in fairground food vendors. Pick your ass and make food with bare hands nasty.

this is a systemd unit file
do i use
RequiresMountsFor=/dick
RequiresMountsFor=/balls

or
RequiresMountsFor=/dick;/balls

How much disk space does an Unbound install take up?

It's like 6M, I doubt you'll notice. It's also really kind in terms of memory consumption. You won't notice it.

It is more likely than not that you have a problem with X not lightdm. Check your /var/log/Xorg.0.log log and try to start it with startx and rule out that it's X that is the reason why lightdm doesn't start. Every problem I've had with a login-manager ever has been a typo in a X config file or a mismatch of some Xorg module vs the server and that kind of thing, it's rarely the loginmanager.

I don't use systemd so I can't help you, because shitstaind uses its own special butterfly language instead of using existing standards, such as bash, like all other init systems.

>because shitstaind uses its own special butterfly language
I'm well aware, but I'm not autistic or bored enough to switch to a systemd-less distro

Friendly reminder that Antergos and Ubuntu are intentionally slow distributions designed to trick freedom-loving people into buying new hardware they don't really need. It's either that or utter incompetence.

Attached: antergos-and-ubuntu-BTFO.png (938x509, 52K)

Is it possible to have two separate distros both automatically use a single home partition?

Yes, of course.

How do I use xwallpaper with Xfce? I run it from xinitrc but Xfce immediately covers the background with gray.

theoretically, sure; in practice, no
you don't want the 2 distros overwriting each others configs and whatnot
make a separate "data" partition and symlink to it from the home dirs

What are main differences between Linux /usr and BSD /usr?

Cheers mate.

startx works...

Attached: 20190206_171502.jpg (3264x1836, 853K)

You can do this but you probably do not want to let the installer of the second distribution know about it, make it touch nothing then just add a fstab entry to the existing home afterwards.

There are some potential downsides to this, though. Say distro1 has Xfce 4.12 and distro2 has Xfce 4.13 and distro2 "upgrades" your configuration files and you go to distro1 and now it's messed up there. So things could go wrong.

Another way of doing it could be to have two different homes and a partition for Documents/ which is mounted on both. That way your .config isn't used by potentially different versions of your desktop and office and so on.

Could someone explain in (very) simple terms, what's the difference between a TTY and a shell?

Attached: 33U0zyH.png (300x194, 68K)

Any Linux distro is at most a quarter the size of Windows. Bloat is a non issue.

a TTY is a terminal
a shell is a program that runs inside the terminal and provides you a command line interface

I just hate the bloat that is included in many distros. Stuff I'll never use anyway. If I need it I'll install it myself.

Debian!

>soulseekqt appimage requires libselinux which my distro doesn't have
>windows version works perfectly in wine

Attached: .jpg (787x960, 68K)

I'd just like to interject for a moment. What you're referring to as Linux, is in fact, Android, or as I've recently taken to calling it, Android plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning Android system made useful by the Bionic corelibs, Toybox utilities and other open source software comprising a full OS designed for touchscreen mobile devices such as smartphones and tablets.

Many users run a proprietary version of the Android system every day, without realizing it. Through a peculiar turn of events, the version of Android which is widely used today is often called "Linux", and many of its users are not aware that it is basically the Android system, developed by Google.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the Android operating system: the whole system is basically Android with Linux added, or simply Android. All the so-called "Linux" distributions are really distributions of Android.

Why are you using appimage? thats cancer shit you dont need to ever use. You dont even need seliuux to run that program. This is why app such programs are feature creeps run by retards that dont know what basic items are needed in a container

install gentoo

Can't you reae? It's clear.
The signs say: install Windows.

i like and use the krita appimage myself.

YOU DONT EVEN FUCKING NEED KRITA IN A CONTAINER YOU FUCKING RETARD

Yeah but what if I didn't want to install all those dependencies?

So to "remove dependencies" you install AN ENTIRE FUCKING SYSTEM INCLUDING ALL AND EVERY LIBRARY REQUIRED TO BOOTSTRAP , so you can same 5mb on dependencies?
Fucking retard holy shit

You will love Windows, give it a try

No goy appimage is the FUTURE get used to it.

Why do electron apps use the gtk file picker?

not installing anything though, it's just a download, permission change, and a ./program to get it running
alright take it easy. it's not like i use appimages exclusively. still very much like my package manager to deal with the bulk of the packages. only thing i am actually running via snap/appimage/flatpak is a handful of applications and even those are just sparingly.

Why do any apps use the gtk fileshitter?

You are duplicating literally your entire system +krita added in to that container
So to run your container, you are LITERALLY downloading a container that has everything in your system already in to it (AKA A functioning linux install) then you add krita too it
Do you not understand how retarded you are? You are literally duplicating your system with every "download" you use.

A terminal is a physical device, but people usually call everything with a command line interface a terminal. The thing you get via ctrlaltf1 is a virtual terminal, the thing you get in your desktop session is another virtual terminal, which people call terminal emulator. All these aren't terminals or ttys. They are virtual emulators; graphical interfaces you can run a shell in. The shell is nothing but another program. You can run bash -c 'ls', but unless you are in a vt, you don't see it. A terminal emulator usually starts a shell, so you can run command after command and see the results.

Am I right in assuming Gentoo and most other rolling distros will shit themselves if only updated once per few weeks or less?

Is it worth it to obtain Linux Essentials and LPIC 1/2 for employment? 31yo zoomer coming from a different career field.

It just becomes more challenging, but is always fixable.

netcat or gnunetcat?

>linux has games!
>muh 1/3 of steam catalogue
>muh wine and proton
Name one popular game for linux that isnt some 2d indie thing and actually runs without bugs or performance issues

nmap netcat

>Name one popular game for linux
no fuck off

If you want games just use windows, who cares, maybe you'll come back to linux when you outgrow them or at least stop caring about AAA game rehash #1239871231 because an indie game once in a while is the only thing gaming is worth

Attached: cirnux.png (1366x768, 820K)

>Muh gaymes!

Lmao

Linux has plenty of AAA+ games at Google Play.

Fell asleep before I saw the reply to my question.

Ended up working, thank you very much!

Attached: pic-selected-190206-1523-28.png (695x236, 23K)

Not her but this makes me happy.

What would happen?

Attached: 1549496421587.png (720x492, 77K)

How can I change sudo/su's password ghosting behavior?

I've seen videos where the sudo password is not ghosted, but masked (with characters replaced with dots/dashes, like an online login form). Is this possible without patching sudo?

What GNU/Linux distro and setup would you recommend for someone who'll mainly just be using it for programming? I'm thinking maybe Debian with xfce, or maybe I'll learn how to into tile managers and use i3wm without a DE instead of xfce.

Attached: 1549420174105.jpg (370x371, 36K)