/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: just like in /sqt/ spend at least a minute to check a web search engine with your question.
*Search: qwant, searx, ixquick or startpage.
*Many free software have active mailing lists.
*Many free software has an active bugzilla where you can check and report errors

$ 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

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: 1495393747796.jpg (430x602, 374K)

Other urls found in this thread:

en.m.wikipedia.org/wiki/False_dilemma
pornhub.com/random
improbability.net/loki/
bbs.archlinux.org/viewtopic.php?id=226067
bbs.archlinux.org/viewtopic.php?id=205654
askubuntu.com/a/6128
freebsd.org/cgi/man.cgi?query=urxvt&manpath=ports&sektion=7
flathub.org/apps/details/com.valvesoftware.Steam
flathub.org/apps/details/com.visualstudio.code
twitter.com/NSFWRedditGif

what's wrong with her face

tits or gtfo, chubby boxxy

I know I've seen this fluid druid before somewhere

After attempting to run a shell command that hasn't been installed on the system, you'll get a response that the command isn't installed but can be installed by typing... ect.
How does the system know that the command is a valid command, despite not being installed?

Part of command-not-found.

Interesting. So then the response for entering an unknown command is unique for different shells? Is the Linux repository not involved somehow?

the shell most likely does a scan of the application repository or it has a local list somewhere

>Linux repository
no, but I guess it just checks the package list

unevolved gills

Death to all commies

Wrong board. You may enjoy

Okay. So the repository stores the actual package software and the software gets downloaded when a user wants to install something. If user wants to download software not included in the distribution's repository then they have to add the address to the third-party server in their repository file. Makes sense.
The distribution's package list on the other hand is what's stored locally I'm guessing?

I'm completely hammered. What are some cool commands I should run.

en.m.wikipedia.org/wiki/False_dilemma

while :;do printf '\e[38;5;%sm\e[%s;%sf%s\e[m' $[RANDOM%7] $[RANDOM%LINES] $[RANDOM%COLUMNS] "`cat --v|tail -n1|awk '{print $6}'` `ls --v|tail -n1|awk '{print $5}'` `rev

What does that do?

Try it, it's harmless. I made it when discovering Perl and JAPH.
Stop it with CTRL+C as usual.

sudo apt install bsdgames
adventure

fuck off phoneposter

emacs --batch --load dunnet

Dude... Just tell me. I won't run a rogue line of code. You could harm me very badly. I am not versed in bash as I am sure you can tell.

mpv pornhub.com/random

>he doesn't have a comfy vm

If you were an ultra hacker you could break free from my VM.

Why is Sasha Grey holding that book?

How can Linux and Unix philosophy coexist? Isn't Linux a monolithic clusterfuck?

>clusterfuck
Linux's source code is actually quite good. Most things are split off into modules, and can optionally be compiled in/out; the only thing is that this all happens in kernel space, not user space.
Also, microkernels are confirmed as useless memes.

Well I mean if you're really attracted to minimalism and theoretical elegance, I hear HURD's been looking for devs for, oh, I don't know, about two and a half decades.

Linux is a great example of the other unix philosophy - worse is better. Or, more accurately said, good enough and here now wins versus anything more elegant. Linux arrived and rapidly became good enough to be useful, so it took over the whole unix-like space, warts and all. Many of those have been slowly removed over the years by further development, and replaced with different ones. That's the price of success, basically.

>manjaro KDE's battery widget not working, upower -d shows battery and everything is correct inside other KDE applications
>don't want to openSUSE KDE because bloat-ass and don't like the package management
>don't want to kubuntu because ubuntu/debian and not rolling release
>antergos bug preventing KDE and openbox installation been around for a week with little to no progress
>don't want to manually install plasma on top of Arch because want the system-integration feel with decent defaults

JUST

based rodeny mullen runs debian, how will the archfags recover from this?

Attached: DzRC0sc.jpg (1080x2220, 268K)

How do you deal with segmentation fault? A guy over /wsr/ has the same problem we all have at some point, segmentation fault. What to do?

Also there is the thread If you guys can help this friend you are good people.

Attached: 1516292398742.png (392x309, 180K)

If it's an old game I would guess it's because of some library loading problem.
You could try running it with:
LD_DEBUG=libs ./sof 2>&1 | grep error
to see if anything is failing to load

That was informative, thanks.

>a video nearly blows my eardrums because system volume has been set to 100% by a notification
>because pulseaudio enables flat volumes by default
thanks lennart
and thanks debian devs who were too retarded to disable it out of the box like any other sane linux distribution

Attached: Lennart_poettering.jpg (1024x678, 123K)

Actually now that I look into it that game was ported by Loki. There's a known issue with all of those old Loki ported games
improbability.net/loki/
You have to download the "loki compatibility libraries" and then just set LD_LIBRARY_PATH to point to them.

Although, that link actually lists soldier of fortune as working without needing those libs, but I would try it anyway since that was written in 2012. It might require the compat libs today.

I'd be more inclined to blame not only having that desktop-notification stuff running, but having it set to play sound at all.

I already tried disabling all notification sounds in KDE system options, but it didn't work for all of them. For example, a notification sound still plays if I try to close a Dolphin window with two tabs.

Seriously, flat volumes is fucking retarded.
It's the one absolutely essential change everyone running pulseaudio should make.

How do these redhat and gnome devs decide on their defaults? By my reckoning it's literally just whatever they personally prefer. It doesn't look like they give any consideration at all to how other people use their machines, even when they're way is the minority.

[sudo pacman -Syyu]

I've done this everyday this week and there's been no updates on manjaro. Do they only release new pacakges every week or so?

Can you explain what flat volume means and why it's bad? When I think of that term I think of an equalizer where all the channels are the same level. Since mastering emphasizes different frequencies for a purpose I think messing with the levels by default is a bad idea.

I run manjaro, and I have a problem where the screen freezes and the splash screen after i enter my password and login.

If i use "acpi=off", it doesn't do this, but my laptop's keyboard & trackpad don't work, and I have to use a usb keyboard.

How do I fix this?

Yeah. Manjaro is barely functional as it is. They publicize their rolling release, but what's the use if updates are slow as shit? They also used the hardware detection software mhwd, but all it can do is install gpu drivers, most of which are still broken as shit.

I switched from arch because I was getting two terrible bugs (first was bbs.archlinux.org/viewtopic.php?id=226067 and the other was bbs.archlinux.org/viewtopic.php?id=205654 - first solution might be fixed but the second is "buy more RAM lol"). I like pacman and aur so what other choices do I have?

I thought KDE screen tearing was a meme but here we are. If I switch compositor to compton can I fix this?

you're right, right now of the pacman using distros, manjaro requires the least work, but still requires more work than debian based ones.

Wayland does not have this problem.

Becaue it's a photoshop.

Does WINE cause high CPU temps for everybody else when playing some games?

Attached: 6e21cacf5b6432fdc0d65aa459621310.jpg (400x560, 48K)

hey lads, so I did the following
uncommented the en_us utf8 line in locale.gen
run locale-gen
set LANG to the same value
run
localectl set-keymap hu
and
localectl set-x11-keymap hu
after I start x the keymap works (in x), but on the login screen, and on other virtual consoles the keymap stays american
/etc/vconsole.conf has
KEYMAP=hu101
what's going on here?

What did she mean by that hand action??

When I shutdown my Linux Mint it takes like a minute to shut down completely.

When I log out and then shut down it takes like 1-2 seconds.

Why is that?

Just tried to switch just then. Went to "configure desktop" and clicked the "cancel" button and it crashed. I'll come back in a couple months.

>It doesn't look like they give any consideration at all to how other people use their machines, even when they're way is the minority.
Those who write the code get to decide

it's probably a daemon refusing to terminate, follow the instructions here to see what's holding up your shutdown
askubuntu.com/a/6128

> manjaro KDE's battery widget not working

works for me.

Please avoid using the term “photoshop” as a verb, meaning any kind of photo manipulation or image editing in general. Photoshop is just the name of one particular image editing program, which should be avoided since it is proprietary. There are plenty of free programs for editing images, such as the GIMP.

Attached: 1495440761788.jpg (712x562, 36K)

Why is CentOS the best OS ever made?

>does wine use your cpu when running games?
Yes it does, thats what happens when you tell your computer to do things.It starts firing electricity through your cpu and as a result, heat is created

I meant as abnormally high temps, ffmpeg causes high temps as well but it reach 70-80 C range, WINE on the other hand the temps reach 99 C and even shutdown.
That's why I'm asking.
The game is not visually intensive, but I'm running it on Core i5 2520m

Attached: maxresdefault.jpg (1280x720, 219K)

>Please avoid using the term “Band-Aid” as a verb, meaning any kind of adhesive bandage or sterile adhesive bandage in general. Band-Aid is just the name of one particular brand of adhesive bandage, which should be avoided since it is proprietary. There are plenty of alternative adhesive bandages for sticking on your boo boo's, such as the Curad brand.

Attached: why_rms_sucks.jpg (1000x898, 190K)

But he said "please", senpai.

overheating laptops are a fact of life, you shouldn't be surprised

Just say you don't know anything.

I know better than trying to game on a laptop

What is wrong with my time (happens no matter what distro i'm on) and how do I fix it

Attached: time.webm (1920x1080, 2.83M)

I'm going to install Linux Mint.

I don't want to be connected to the internet during the install. Will that screw things up?

Have you tried sudo pacman-mirrors -f3 && sudo pacmam -Syyu ? One time it went for 3 weeks without any updates, ran this in terminal and all of sudden blam, '250 updates are available'.

>and even shutdown.
Defective cpu or shit cooling.

can't you just describe what's wrong with it? I can't decipher anything from that video

It says it is 6am when in fact it is 10am and nothing I do changes it

try executing timedatectl

>There are two big problems with Gentoo Linux: first, most if not all Gentoo systems are completely broken (missing or mismatched header files, broken compiler etc. are just the tip of the iceberg); secondly, it should be called Gentoo GNU/Linux.

>For these reasons, it is impossible to support rxvt-unicode on Gentoo. Problems appearing on Gentoo systems will usually simply be ignored unless they can be reproduced on non-Gentoo systems.

Wew lads. freebsd.org/cgi/man.cgi?query=urxvt&manpath=ports&sektion=7

Maybe hardware clock and system clock are different and one is setting the other. Figure out which cli command lists both for your distro and troubleshoot from there.

I don't think so, but you won't be able to download some packages. You *should* be able to do that afterwards anyway, but i'm not entirely sure.

>I don't want to be connected to the internet during the install.
Why exactly?

no its fine. all it does with your internet connection is hit an ntp server to get the correct time, download proprietary drivers and download updates; all of which can be done later or manually fixed.

How to turn on or off a GPIO pin from ssh shell in a raspberry pi?
It is running raspibian which is debian

Thank you guys.

It's because of internetophobia.

>FreeBSD using manpages from ages ago.
Wew

how much does the file system you use effect freezing? i am on btrfs and i know it is slower but i feel as though my desktop freezes more commonly now

I can't get Steam running on Debian Testing. Is it impossible?

Is it using the steam runtime libraries? Try launching it with
STEAM_RUNTIME=1 steam
Also try =0. Maybe Debian has better luck with one.

the steam deb is probably a hassle to work with on debian
but the steam flatpak should work flathub.org/apps/details/com.valvesoftware.Steam

Good thread.

I want to install Debian alongside Windows, but when I go to manual partitioning in the graphical installer I can't create a new partition with the free space I allocated before. What do

Flatpak is great, but some of the stuff people decide to put on Flathub confuses me:

flathub.org/apps/details/com.visualstudio.code
>This is the official, proprietary, Microsoft build of Visual Studio Code, packaged into a Flatpak. This repackaging is not supported by Microsoft.

Stop using 'download the exe' shits like appimage, flatpack, snaps. This isn't Windows.

open it in terminal and see what errors are there. as for personal experience i had to delete a bunch of libraries, youll find the script to delete them just by googling the error if so

you can configure a flatpak to download its contents when deployed; all they're distributing is a configuration file which produces the flatpak
flatpaks are convenient

AppImage binary of Love2D didn't work properly on my system because it changed the working directory to somewhere in usr before attempting to read my Lua code. I compiled it from source and the problem disappeared.

does choosing wayland or xorg affect system resources consumption too much? i found almost no difference in my tests

Good post.

>Stop using 'download the exe' shits like appimage, flatpack, snaps
AppImage is the only one of those three that's a 'download the exe' type of format. Flatpack and Snappy are just alternative package managers.

I still say people should be using Guix instead of snaps or flatpacks.

It can mimic them pretty much exactly but should scale up much nicer in cases where you install a lot of software using it.
And I would argue it vastly outshines those projects at their own game because unlike snaps or flatpaks Guix could actually be used to distribute bundled packages as mere tarballs that can be installed by anyone without requiring them to install Guix first. (So that would essentially be the equivalent of being able to distribute flatpaks that can be run by people without flatpak installed). Which is more true to the goal of snaps/flatpaks that snaps/flatpaks themselves are.

What do you expect from linux-for-those-who-wanna-look-alternative.

Find the libgcc/libc++ libraries inside the steam directory and delete them. This usually fixes the problem.

I woudln't be surprised if it didn't make a difference. The supposed benefits of Wayland aren't so much resources, as far as I know. But with having a simpler (less legacy) codebase for developers, and has some properties (which I neither nor remember nor understood completely) that should make the overall desktop experience much smoother. E.g. it should fix persistent screen tearing issues some users get, should prevent those random flickers of old screen artifacts (e.g. you start up a fullscreen game and for a second see some random content displayed on your screen that you were looking at 2hrs ago), and also should make things like resizing/moving windows be much smoother.

Disclaimer: I haven't tried wayland myself yet. And there is still debate about whether it really should replace X or not. Some don't like it, not sure why though.

>Some don't like it, not sure why though.
They refuse to work with the largest graphics card vendor for linux.

You mean the vendor that Linus Torvalds himself said something like they were the most difficult company they've ever had to work with? The one that some even say the employees of actually detest GNU/Linux?

Yeah, I'm sure the problem is GNU/Linux not cooperating with them and not the other way around. I wonder why AMD hasn't had any trouble.