/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 to boot directly into the GNU/Linux distribution without installing anything.
2) Don't 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.

$ man %command%
$ info %command%
$ %command% -h/--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/
overthewire.org/wargames/bandit/
>Where can I learn more about Free Software?
gnu.org/philosophy/philosophy.html
>Which web browser performs best on GNU/Linux?
linuxreviews.org/firefox-vs-chromium

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

Previously:

Attached: 1502232170891.jpg (2272x1704, 551K)

Other urls found in this thread:

leetcode.com
codecademy.com/
hackerrank.com
libreboot.org/faq.html#intel
libreboot.org/faq.html#amd
bugzilla.kernel.org/show_bug.cgi?id=196683
github.com/jcs/openbsd-src/commit/0d236b7a4e295a840eafd9da81e33ac5eb733520
github.com/thesofproject
youtube.com/watch?v=CbxvaC9fo4g
myredditnudes.com/
twitter.com/AnonBabble

install the guix

GKH uses arch though

Why does wine insist in adding its entries to my mimeapps and ~/.local/share/applications directory?

It's really annoying when all of a sudden I get the option in PCManFM to open a simple text document with Notepad.exe through wine, alongside the ones I actually want like vim or emacs.

Attached: 1560847984377.png (646x634, 339K)

im trying to install linux for the first time (tried both ubuntu and mint) and getting this error every time when i boot from the usb. i have heavily searched this on google and do not really see a clear error for this problem - most of them mention changing nvidia settings but i have amd. does anyone know what may be causing this issue when booting from USB? is this a sign my computer just isnt strong enough? is it a debian problem?

Attached: IMG_4521.jpg (3024x4032, 1.91M)

how do i become a chad in scripting? i know the basics, but im pretty bad at doing filters and such

Guys, I do I install pirated gaems on Linux? It's been a long time since the last time I played a game and I don't feel like installing a VM just to play one game.

Attached: 4c9.png (645x729, 113K)

Who cares

u just run it
if it's a windows gaem then you just run it in wine

Check the sh for malicious code added by the pirate group or general assholes.
If its a windows game use proton/wine

there's not a single game that can run on my machine which doesn't work in wine

If you're going to use a program a friend shared with you, why would you compare yourself with a robber and murder at the high seas? This only leads to laws that criminalize sharing. Don't do this.

Attached: 1497897281323.jpg (640x640, 88K)

Because it's retarded. I lInk all the uninteresting wine entries in .local/share/applications to /dev/null and that solves the annoyances for me.

that's actually a great simple fix. thanks.

BIG noob fag here.

I don't fully understand the application of knowledge around linux based systems. I've seen some careers that require experience in programming in this environment but i fail to see why you cant just do the same tasks in windows or macOS. Like I said I am a huge noob and I want to learn more but IDK where to start. Many years ago I fresh installed my shitty macbook OS with ubuntu, but I didn't have any projects or goals to work on so I gave up pretty quickly.

I'm not asking for a perfect answer on a silver platter as i can understand if there are many layers to a good response. Basically I'm just wondering if anybody knew of any good resources or ideas for long term projects (literally any subject too. Anywhere from networking to shitty app programming). Just any sort of advice for somebody who wants to learn more.

Attached: peepo.jpg (352x352, 20K)

upgrade your BIOS other than that there are few solution on google that are supposed to guide you throw this...
never saw that shit before

Starting a VM is quick and easy. Don't compromise your system.

The game in question came in an iso installer. I managed to unzip the thing, but when I try to install it with PlayOnLinux the setup.exe is unable to reach the gaem.bin.
Sorry, Jesus. I won't repeat that mistake.

Go from one topic to the next topic. To go full chad mode it will talks a while. Shell scrpting can be edgy. What especially do you want to learn? By filters, do you mean awkgrepsed? Regex?

Which VM do you recommend?

>managed to "unzip" an iso file
lol well setup.exe should work fine if you did in fact manage to "unzip" the thing
it's possible that it doesn't have permission to access the file though
do chmod 644 on the files and chmod 755 on directories

just use virtualbox, it's easy as shit

qemu+kvm with gpu passthrough
near native performance

7z x file.iso, but yeah, I get your point. I'm going the VM route, though. The other user scared me.

best, but
>implying a beginner can handle all this

>not running proprietary programs in wine under a different user

Tips and tricks for Kubuntu for a better experience?
I've been using Kubuntu for a few weeks. KDE has quickly become my favorite DE and I like how easy it is to use anything Debian based. Is there anything I can do for a better experience though? Any options I should be changing?

good choice

well he won't be able to play any games in a basic virtualbox setup
not sure how's the PCI passthrough on virtualbox though

>giving proprietary software filesystem and internet access

it only has access to the wine home folder though
>internet access
>what is iptables

>first i wait and look how my data gets send to somewhere, then i block the IPs, I'm safe

how about just block networking entirely for the wine user via iptables

There are over 9000 ways to break out of WINE and even more to compromise at kernel level. Don't fool yourself for being too lazy to set up a VM for proprietary software.

I'm confused, uh, what exactly are you asking? Why Linux is considered a developer os? Or you asking what to do as a developer?
what language dude?

leetcode.com
codecademy.com/
hackerrank.com

pick a language (python, nodejs, C/C#/C++) and get to work.

Linux is a kernel.

This shit is breaking my heart man. Want to use Linux so bad but my computer is t even letting me..:

well I'm willing to take the off chance that my shitty windows games from 10 years ago don't contain malicious CIA code that can break out of wine and exploit unpatched zero day vulnerabilities in latest linux kernels
if the CIA wanted to pwn me that badly, I'm pretty sure they'd use the intel ME rather than risk their amazing top secret malware falling into hands of russian hackers

>using post 2006 computers
you're asking for it

intoddlers BTFO

AMD has the same problems.
libreboot.org/faq.html#intel
libreboot.org/faq.html#amd

this is a dumb question, but if i'm doing gpu pass through, do the slave and master gpus have to go to different monitors?

>implying AMD's PSP isn't an equivalent of intel's ME

this is what you get when you release something under the bsd license
think about it for a while, tannebaum

Or go to different inputs of a single monitor

What’s the fastest, most stable distro that has nothing to do with debian

pimp my gnu

>Why does wine insist in adding its entries to my mimeapps and ~/.local/share/applications directory?
Because WINE was originally for productivity applications. It's still beyond gay they try to put their notepad and IE in there.

seriously wtf is this??? seems like no one else has this issue. fuck me

Attached: 9999.jpg (3017x2969, 3.06M)

update your BIOS

hm, I see there is an update available. do you think once I update it, I have to do anything else? like change settings? I notice my BIOS is listed as type UEFI, is that significant? I guess ill try updating the BIOS and see what happens

Probably this
bugzilla.kernel.org/show_bug.cgi?id=196683

Try updating your BIOS, many people say the newest ones work.
Some also say there's some settings in the BIOS you can set which will help the situation like "typical current idle" and disabling C6 states or something.

yeah but only if you want to install windows UEFI works for Linux
Try libreboot if it's compatible with your hardware, because your bios is probably proprietary

Is there any reason my i3bar isn't showing my battery or internet connection anymore? Everything else still works; mailbox, memory, CPU temp, volume, date/time
I just cannot get battery and internet to show up. It broke after updating last week, and I haven't changed anything in my config file.

The numbers used to identify the battery and network probably changed.
It needs to be bat0 or bat1 or whatever is the right number. For network type "ifconfig" and see what the interface name is

drop your hardware details
i respond to you yesterday than go to sleep
most chances upgrading your BIOS/UEFI will resolve it no other modification needed

>libreboot
He has AMD so no.

thank you for the help. will try installing Linux again and see what happens. my laptop processor only has around 2.0ghz so not sure if that may be an issue

Im trying to use rakarrack on manjaro but i get an error that jackd isnt running trying to start jackd outputs

JACK is running in realtime mode, but you are not allowed to use realtime scheduling.
Please check your /etc/security/limits.conf for the following line
and correct/add it if necessary:

@audio - rtprio 99

After applying these changes, please re-login in order for them to take effect.

You don't appear to have a sane system configuration. It is very likely that you
encounter xruns. Please apply all the above mentioned changes and start jack again!


I dont mind changing it, but is there a reason its not a default? some sort of safety thing?

>I dont mind changing it, but is there a reason its not a default? some sort of safety thing?
More of a general purpose thing. Linux is tuned for throughput rather than latency control by default.

>Linux is tuned for throughput rather than latency control by default
I'm wondering what the reasoning is. From what I've read jack seems better that pulse in every way. Both still just output to alsa though.

Why reinstall? I mean, it's fine if you want to do it to be on the safe side
but just to be clear here: that isn't going to update your BIOS.

to be clear, I just updated my BIOS. Wasn't able to install Linux at all before, so making another attempt. I still have windows only

JACK is basically a pain in the balls to configure. Someday Soon(tm) both JACK and Pulseaudio will be replaced by PipeWire which has good performance and good autoconfig. IIRC the big push for pipewire is better media handling in flatpakked sandboxes.

Is there a way to figure out what the name of the battery would've changed to? I've never had it not be BAT0 so I've never needed to know how to find it.

>Someday Soon(tm) both JACK and Pulseaudio will be replaced by PipeWire
i tried uninstalling jack and the amount of programs that are hard dependent on jack is pretty crazy. blender, kde, the list goes on. wayland and pipewire is the dream system. see you in 37 years

I always just looked in some directory, can't remember which at the moment. /proc/acpi something. There's probably a better way

Wayland is on by default in Debian 10. Pipewire and flatpak are the laggards now.

ugh pipewire.
Another rug like pulseaudio to sweep everything under, instead of actually solving the real fucking problems at a lower level.
Since when did GNU/Linux become about pretending our problems don't exist

What problems? I'm genuinely curious here. Pulseaudio ended up net reducing the bugs in the ALSA stack because it exposed almost all of them at once.

>Pulseaudio ended up net reducing the bugs in the ALSA stack because it exposed almost all of them at once
Sounds like you're already aware of some, so why ask me?

I called it a "rug", I didn't say it didn't do the job of a "rug" well.
Point being it sits on top of shit that has problems and "reduces" them as you yourself put it. It's hiding the problems. It's not actually solving them.
I just think the whole audio system needs to be rethought from the ground up.

Almost all audio hardware sucks in silicon. Every driver stack on every OS is like 80% quirks and workarounds and errata. You're never going to get zero bugs with that setup.

Case in point:

github.com/jcs/openbsd-src/commit/0d236b7a4e295a840eafd9da81e33ac5eb733520

>Since when did GNU/Linux become about pretending our problems don't exist
It's always been like that, see the eternal man vs GNU info war.

>Almost all audio hardware sucks in silicon. Every driver stack on every OS is like 80% quirks and workarounds and errata. You're never going to get zero bugs with that setup.
i thought that was literally the one thing apple did well

The i3 developers quietly made it so that you have to insert a newline after printing the output for it to show in your bar. If you’re using LARBS, Luke merged in some of my fixes today so an update should fix most of the issues.

No, the Intel HD Audio spec is worthlessly vague and squishy. I think literally every implementation has bugs. There's a project to make sound devices with open source firmware that has potential to replace HDA someday but it's not ready yet.

github.com/thesofproject

Really though this is what we get for moving away from nicely behaved standard hardware like SB16+OPL3. Drivers for THOSE just work on everything from Linux to 9front to MS-DOS.
>yes, there's still a midi driver for the opl3 in ALSA

Attached: 1567373951041.png (1376x1492, 93K)

I assume I'll need to merge the whole .local/bin as well as update the i3blocks config file, yeah?

That’s probably the cleanest way. Or you could just download the latest copies of the broken blocks from Github to replace the ones you have.

He hasn’t merged in the battery fix yet, so this is the change you’ll want to make in ~/.local/bin/statusbar/battery.

Attached: 24280581-27D3-4444-9F30-E80004BFAF14.jpg (2323x747, 515K)

It worked! After I updated the BIOS, it let me install. Thanks for the help guys.

Hmm well i got jack working but now i only get sound out of rakarrack, everything else wont even play (mpv, youtube just pause). fucking annoying shit man, anyone got any idea>

JACK and Pulseaudio conflict - they both want exclusive control of ALSA devices. You need to set up JACK as a sink for PulseAudio and restart PulseAudio.

Also mpv --ao jack should work.

\n worked to get my network icon back, but it's still not giving me my battery. Changed the line exactly as pictured, so no clue what's going on there.

>GIMP for no reason is crashing when opening anything
>persisting through a total purge of the install and all configs
>look up big tracker for people with similar issues in the last few years
>"we can't find any new information on this bug so we are closing it"

Attached: 320.jpg (720x404, 61K)

Nevermind I forgot that it was set to interval=once.
On reboot everything's working again. Cheers, mate.

Are there any sed exercises? I want to train my sed skills.

Any way to block specific hosts but only for 1 app?

Download more ram with this one weird trick
modprobe zram
echo 1G > /sys/block/zram0/disksize
mkswap /dev/zram0
swapon /dev/zram0

Hey, why are linux gamers bullying this guys friends for being politically correct?

youtube.com/watch?v=CbxvaC9fo4g

where should i go after the basics of installing mint and using it basically as a cooler looking windows? how do i get to the point of actual competency, of understanding what my machine is doing and how to find and fix issues without just googling the problem and copypasting from a forum?

I'm getting a little confused trying to setup JACK. I've gotten it up and running over pulse and now my issue is getting it to pick up my guitar.

It seems the only input that is available for me to control from catia is my microphone input, but other devices, where as if i looked into pavucontrols I'd find my webcam, microphone, and guitar adapter listed. From what I've gathered I'm supposed to use alsa_in which seems a bit weird to me both because I can't just see all my devices by default, as well as the fact that I cannot figure out how to actually use alsa_in. Any idea what I should do from here?

Just use it like you'd use a normal computer user. You learn by using it, the same way you learned windows. Just go about your day, and if something happens look it up. To avoid being a copypaster just look up what the commands do, more often than not you can either google the command name, or go into a terminal and type "man " which will give you detailed information about the command. Either that or " --help" or "command -h". Most programs have at least one of those. Also the arch wikl, it's not the same distro but it's still Linux and it explains stuff pretty damn well.

weird, did you do this because of the other poster (me) or is it just a coincidence? shouldnt it be done in qjackctl?

How do I make it so debian actually resizes in my virtualbox window

Attached: Screen Shot 2019-09-12 at 4.42.52 AM.png (1714x1144, 256K)

Change the resolution?

oh lmao I didn't even read your question. I just got on here and posted. Maybe yours will give me info tho, thanks for pointing it out. but yeah no I've been working on this for a bit now.

I suggest reading the advanced bash guide on tldp.org, it is very good starting point.
Basically Unix was a system for processing text and you need to understand the philosophy behind that and how to use that.

Doesn't let me

install the vbox linux addons.

So, the only way to get rid of audio bugs is to buy a Sound Blaster PCI card at a retrocomputing price, and use one of those slot conversion cards to get no headaches with audio?

A command requires Y to be pressed, so that it continues. I am thinking of using the output of echo Y to make it run in a script, without using a temporary file. How can I do that?

command -param echo Y