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% -h/--help$ help %builtin/keyword%Don't know what to look for?$ apropos %something%Check the Wikis (most troubleshoots work for all distros):https://wiki.archlinux.orghttps://wiki.gentoo.org/g/'s Wiki on GNU/Linux:https://igwiki.lyci.de/wiki/Category:GNU/Linux>What distro should I choose?https://igwiki.lyci.de/wiki/Babbies_First_Linux>What are some cool programs?https://wiki.archlinux.org/index.php/list_of_applicationshttps://directory.fsf.org/wiki/Main_Pagehttps://suckless.org/rocks/>What are some cool terminal commands?https://www.commandlinefu.com/commands/browsehttps://cheat.sh/>Where can I learn the command line?https://mywiki.wooledge.org/BashGuidehttps://www.grymoire.com/Unix/https://overthewire.org/wargames/bandit>Where can I learn more about Free Software?https://www.gnu.org/philosophy/philosophy.html>How to break out of the botnet?https://prism-break.org/en/categories/gnu-linux/fglt/'s website and copypasta collection:https://fglt.nl && https://files.catbox.moe/u3pj3i.txtGNU/Linux Games:>>>/t/1175569>>>/vg/lggIRC: #sqt on Rizonhttps://fglt.nl/irc.htmlPrevious thread: >>103241578
Canonical is a mistake
>>103266454Always has been. They done good in the early days where they helped to push desktop Linux forward with Unity and an installer a retard can actually use, and also pesky drivers for the shit state of laptop hardware back then but they've lost their soul
>>103266650They were fine until they lost their way and starting to chase the coattails of enterprise business contracts because money.
Podman or Docker?
Choose one:a) Linux Mintb) Fedorac) OpenSused) Arch Linuxe) Debianf) Kubuntug) Ubuntu Serverh) CachyOSi) Windows 10 LTSC
>>103266828Arch
>>103266828
>>103266766Both work fine. I mostly use Docker because migrating off of it is a hassle (there are no tools to take a JSON dump of Docker containers and re-create them in Podman and I haven't got time to do it manually. Ideally, you'd automate this, I know).I would say if you want rootless containers then Podman is better, otherwise just go with Docker.
>>103266828I choose Gentoo.
>>103266828j) Ubuntu Desktop
>>103266828d as in dickArchlinux
Why is there no way in KDE to set the output/screen that notifications appear on (either a particular display, or all displays)?You can only change the position (top/bottom, left/right). Has nobody requested this feature before?
Is it dangerous to uninstall Firefox from Fedora, but replace it with a more recent flatpak version?Would there still be stability risks or would the new Flatpak Firefox have installed all the missing dependencies?
>>103267636>Flatpak>dependenciesFlatpaks exist outside the distribution, that's the point.
>>103266828mint
What's the proper way to test a MR ? I don't want to wait a week for kwin to update, I want it now
>>103267636>Is it dangerous to uninstall Firefox from FedoraNo. Almost nothing depends on firefox. Flatpak is totally outside dnf's dependency system like other Anon said.
>>103267899You put the patch in /etc/portage/patches/kde-plasma/kwin and emerge kde-plasma/kwin
emerge kde-plasma/kwin
my uncle touch me at night so now i have to install linux, which distro should i use?
>>103267899Extract the source package, add your patch to the list, increment the build number by 1 and compile.
Does anyone know of a fetch program that displays Q4OS as itself and not Debian?
>>103267921Wrong thinking. Partition for distrohopping already:>ESP (if an UEFI system)>20GB for distro A>20GB for distro B>rest of the drive for /mnt/anime
* Messages for package dev-qt/qtwebengine-6.7.3: * There is NOT at least 112 GiB RAM * * Memory or space constraints set in the ebuild were not met!jesus
* Messages for package dev-qt/qtwebengine-6.7.3: * There is NOT at least 112 GiB RAM * * Memory or space constraints set in the ebuild were not met!
>>103268087That sounds like a typo or bug. I got rid of the last packages I was using that depended on Qt Webengine. Fuck compiling that piece of shit all of the time. If I need something that uses QtWebengine I'll install the Flatpak instead.
>>103268109unfortunately it appears freecad when built with the gui demands that pyside6 has webchannel support, so it's not avoidablesay, how do you use that new binary package repo thingie they talked about?
>>103268155https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart
>>103268169thanks. i'm about to go to sleep, so i made a huge swapfile, we'll see how it goes.it would be nice if i can swap out a few big things i don't care much for with binary packages, though
>>103267956Have you tried fastfetch?
>>103268283Yes. It just displays Debian.
>>103268513Maybe because it is Debian? What's it display in /etc/os-release and /etc/lsb-release?
Is there any reason or benefit to using aria2 as the fetch command for portage in gentoo?
>>103268647i switched mine to axel because it can do multiple connections. haven't considered aria2
>>103268665Whats the advantage of axel compared to the other downloaders?
>>103268688it can do multiple connections, i'm sure there's others that can as well, this is just the one i'm using
>>103268647It can fetch from multiple mirrors in parallel:https://github.com/hartwork/fetchcommandwrapperPersonally I just use Wget2 instead of Wget. It's plenty fast for me and also has HTTP/2 support. They'll probably add HTTP/3 at some point too not that much mirrors benefit from it.Anything is better than plain Wget though which has no parallelism at all.
>>103268647>>103268665>>103268688>>103268704>>103268705How much time do you guys spend updating, that such a matter even seems relevant to you?Genuine question, not trying to shitpost.
>>103268724I regularly update and also have my own distfiles mirror on my LAN.I don't think you understand just how slow it is for single-threaded Wget to download hundreds of small Rust crates.
>>103268724not everything needs to be a major decision, i changed it because axel can download large files faster than wget can for me, that's the only reason
>>103266439Just solved a problem on my own with the documentation instead of mindlessly posting it here. It felt good.Thanks for reading my blog
>>103268888Thank you for RTFM.
>>103268528It is based on Debian, but my question was if it had it's own entry in a fetch program other than my current one (neofetch). There are other distros based on Debian that have their own entry which is why I asked if Q4OS does too.
>>103267636Flatpak has its own dependencies that it doesn't share with the system. Also the flatpak and the rpm will be the same version.
How do I test my hardware for Fedora?
>>103268928Fetch tools just read those aforementioned files. Distributions are supposed to change these files with their own branding.What's the contents of those files look like? Because if the distro didn't update them with their own branding then for all intents and purposes it is being advertised as being a Debian distribution.
>>103268998Boot their live iso. While not guaranteed there's a good chance that if it boots and runs okay then it'll also be fine after installation.
>>103269026>>103268928For example, Ubuntu has:PRETTY_NAME="Ubuntu 24.04.1 LTS"NAME="Ubuntu"VERSION_ID="24.04"VERSION="24.04.1 LTS (Noble Numbat)"VERSION_CODENAME=nobleID=ubuntu ID_LIKE=debianUBUNTU_CODENAME=nobleThe ID= indicates the distribution is Ubuntu, the ID_LIKE indicates it is derived from Debian. There is also an /etc/debian_version that indicates the exact version of Debian it was cut from (trixie/sid).
PRETTY_NAME="Ubuntu 24.04.1 LTS"NAME="Ubuntu"VERSION_ID="24.04"VERSION="24.04.1 LTS (Noble Numbat)"VERSION_CODENAME=nobleID=ubuntu ID_LIKE=debianUBUNTU_CODENAME=noble
>>103267956what problem are you trying to solve?
>>103269210He's trying to get his fetch program to display his Debian derivatives name instead of Debian. A stupid thing to be worried about in my opinion, I'd just leave it be. It can be "fixed" though.
>>103269257Yes i understood that, what i dont understand is why anyone would even care
>>103269210I was just asking. It's not a "problem" as much as I'd simply like to know. It doesn't bother me.>>103269145I actually didn't know this, so thank you.
>>103269029Ah, thank you. Don't just rush install, try the live first.
>>103268724Sometimes people run virtual machines or containers to test stuff before deploying on bare metal and want to optimize ways of making updates go faster whenever possible. Not specifically a gentoo-only thing, since downloads arent really the bottleneck as much on gentoo atleast for my third world shithole internet.
>>103269734Pretty much this. When you have poor network it doesn't really matter but when you have good network then suddenly the time it takes to download distfiles and binary packages, etc, becomes a real bottleneck.In my case where I'm using Wget2 it's the time it takes to initiate a connection that's the real difference. Wget2 can establish a connection so much quicker with things like TCP fast open and HTTP/2, etc, which makes a huge difference when you're downloading loads of small files. When it gets going there's not much difference for larger files.
>>103266828Slackware.
>>103270338Slackware is only relevant for offline use cases.
fedora kinoite .. gud distro?
Is there a combo that is more lightweight than gentoo with dwm with equivalent or better performance?
i dont trust ntp so i have to run the ntpq command every few weeks am i a retard or doesnt it just seem really suspicious that the ntp people can probably track every device using the internet with the protocol
Best live boot distro with a bunch of utilities for testing disks, memory, doing rescues, etc?
I haven't booted this system for a few months, went to check for updates and this happens. Wat do?
>>103271982Gentoo with a lightweight Wayland stack (sway, labwc, etc.)
>>103272330SystemRescue
>>103272228NTP is just a protocol, pick a different timeserver.
What's your reason for using Linux instead of Windows?Thinking of migrating to EndeavourOS.
>>103272383Control and familiarity. At this point I've been using Linux for almost fifteen years and I feel cramped and awkward using Windows.
>>103272333Can you ping google.com?
>>103267959>>20GB for distro A>>20GB for distro BSure, then 3 months later:>guise how do I resize my /
>>103272414Do you game? I installed EnOS on my Surface and been using it for few months to get myself used, pretty familiar with it now for general usage but migrating seems like huge task when you need to reformat all HDDs to Ext4 so gotta transfer files to another drive.
>>103272469Yes. Internet connectivity isn't an issue, I'm posting from this thing right now.
https://www.atlassian.com/git/tutorials/dotfilesWhy is it a bare git repo and not a normal one?
>>103272383An update bricked my PC twice on win 10, I already disliked the GUI from XP onwards but I hated how 10 looked. As soon as I found out everything I played worked I switched>EndeavourOSpretty cool way to get into Arch
>>103272333Did you try updating the keyring?
>>103272590>ext4 on hddMay as well skip a second reformat and use btrfs.
>>103273093Isn't btrfs a meme? All I hear is people having problems with it.>>103272959I'm definitely liking it, most of the filters Arch has are removed and it's easy to use. If you want people to use your distro that's how you gotta do it.
>>103273140people keep saying that people had problems with it because they saw some 10 year old forum posts about people having problems with it
>>103273140>>103273222I tried to use btfrs while installing arch via the script and had nothing but problems. Said problems disappeared when I switched off btrfs
>>103273291>while installing arch via the scriptFound the problem.
>>103273088I haven't, how do I do that?
>>103266828Devuan
>>103273088>>103272469I'm using a mirror now instead of the default repo, that seems to have sorted it.
I'm dual booting Arch and Windows 10 installed on separate drives, and I'm considering updating to Windows 11. I have a live usb ready to reinstall grub if needed, but do I have to mess around with secure boot or anything else?
>>103272837just use symbolic links
>>103266439On Gentoo, can I somehow disable distfile caching?I don't need the source files to be kept around.
What seems to be the problem here? I'm on void.
>>103266828You didn't say Xubuntu so I have to go with Debian.
>>103274925You're missing libunwind, seems pretty obvious to me. Why that's fatal I'm not so sure though. That's for stack unwinding which means the actual problem is somewhere else (it's already crashed for some reason and is trying to print a backtrace)
>>103275053Thank you. Now this is the next problem:
>>103274628You need the distfiles cache in order to unpack them. You can clean up older ones with eclean-dist though.If you really wanted to you can run that from a Bashrc hook in /etc/portage/bashrc
eclean-dist
>>103275126Something in regards to vulkan?
Wtf, the boot partition is 300MB and there are only two kernels.
is there any good paint.net alternative on linux? everything ive tried is trash. i need something like paint.net
>>103275154Pinta
>>103275170its shit
>>103275201Most are. The only good graphics editors on Linux are GIMP and Krita.
>>103275210id rather pinta than kritasigh
Also how do I stop kde opening new dolphin instances - this shit don't share tabs and save opened tabs of the last closed instance.
How do i make a timer that beeps every 2 minutes? I cant find any program that does this so im wondering if its possible to set it up in the terminal since it seems like a pretty simple thing
>>103275538watch -n 120 beep
>>103275126Have not yet solved this problem
>>103275576>Beep could not open any devicesI tried a few of the fixes i found online for this with no success but i got the impression that beep is an ancient program that barely works nowadays after tons of configurationSurely there is an alternative right?
>>103275672Beep is for beeping a physical bell attached to your terminal.This is often emulated in software nowadays but not always. You may want to simply play a sound:pw-play /usr/share/sounds/freedesktop/stereo/bell.oga
pw-play /usr/share/sounds/freedesktop/stereo/bell.oga
>>103275695That works like a charm, thanks. Its a bit of an ugly sound but ill check what other sounds are in there or maybe add my own later
Still have not solved this one
>>103276034>Failed to load Vulkan libraryThat's your graphics driver, a bit of a problem indeed if that's not loading right. What hardware are you using and how you are you running this?
>>103276046I'm on amd and void.
>>103276071How are you running Lutris? Is this some sort of system package or a Flatpak, etc?Do you have working Vulkan on your host? Do things like vulkaninfo and vkgears work (you may have to install vulkan-tools or mesa-progs to test that)?
>>103276086Running through a system package. Have been able to run other things with it so far. Here's my vulkaninfo: https://bpa.st/BQKQ
>>103276133Maybe the problem is with the Lutris binaries then, I'm not sure. If you can install Wine with your package manager and force Lutris to use that somehow then maybe that will work better?
On the subject of Lutris, has anyone had any luck getting the Batman Arkham City configuration screen to work? Apparently you have to manually run BMLauncher.exe to change display settings but it just gives an error on startup (picrel). It's the GOG release.I saw someone mention that it needs dotnet 3.5 but not sure if that's outdated info. Should I just try running the dotnet installer from the Lutris game/container or run the standalone exe with some other Wine app or what?
>>103275695This also works:aplay "/home/owner/alert.wav" > /dev/null 2>&1I like to put this at the end of long scripts so I'll know when they've finished.
aplay "/home/owner/alert.wav" > /dev/null 2>&1
>>103276606You can use paplay, too. Assuming you're using PipeWire (and you should) the only difference is which translation layer you're going through.pw-play -> Direct to Pipewire -> (ALSA (device))paplay -> PulseAudio -> PipeWire -> (ALSA (device))aplay -> ALSA -> PipeWire -> (ALSA (device))
>>103276660>using PipeWire (and you should)What if he'd rather have a sound server that just works and updates that don't fuck up his config every few months?>paplay -> PipeWire(PA protocol) -> (ALSA (device))ftfy
>>103276757PipeWire is the only sound server that just works. PulseAudio sure as shit isn't. Maybe JACK is better but you can run PipeWire on top of JACK for the regular shit that doesn't support JACK directly anyway.
>>103277208Pipewire has good emulation layers for Pulseaudio, JACK and ALSA. There's no need for them separately.
>>103277230Exactly. It's the only sound server that satisfies every use-case. JACK is still arguably better if you're deep into Pro Audio but you can run PipeWire on-top of JACK anyway if you want to and that is a supported use-case.Everything else is flawed in some way.
How would I do the following in Linux? Set a variable (not a file) which is a short string. (Say less than 6000 characters long.) Then have this variable accessible to every user in the system (such as users www-data and root). I could then use user www-data to change that variable when I want.
>>103277341Maybe not possible as you have to sudo-edit the /etc/environment file. That's what https://duck.ai/ said (when I submitted >>103277341 text there). I might be fine with just having a persistent variable set in www-data's context which I can change whenever so long as the system didn't reboot.
>>103277341>>103277385Synthesis:>How would I do the following in Linux? Set a variable (not a file!) which is a short string. (Say fewer than 5000 characters long.) Then have this variable persistently accessible to user www-data. I could then use user www-data to change that variable when I want. The variable for www-data would persist in all cases except a computer reboot.I guess this is not possible. Linux users have to have file ~/.bashrc to define variables when first opening a shell as that user (for www-data that would be /var/www/.bashrc). Going to https://10.0.0.68/cgi-bin/test.sh is I think the equivalent of opening and closing a shell: opening and closing that test.sh tab in a browser. (In which case www-data logs in then later logs out.)There's perhaps no way to have a variable persist for www-data when this happens: 1. switch user to www-data 2. define the variable. 3. log out of www-data, switching user back to /home/user 4. log back into www-data. Step 3 destroys the variable.So maybe make a small ramdisk. If I'm not mistaken, /tmp is a ramdisk. /tmp is not entirely accessible to www-data and it can't read/write files in there in certain cases (even in cases where you think it would be able to). If I made a 5-kilobyte RAMdisk then I could use it as a variable persisting in memory for all users so long as all users could access that memory file. (File in memory in a ramdisk with a max capacity of five kilobytes.)
Having a recurring issue on my X230 running Devuan (with XFCE, naturally) - often when I wake it from sleep mode, the login screen overlay doesn't display. When this happens I can still see my desktop and move the mouse, but not click on anything. It's annoying because I either have to restart the computer or swap to a terminal and restart xorg. Any ideas?
>>103277341Variables are static, not dynamic. Use a key-value store like etcd or redis:https://etcd.io/
>>103277652Does that operate entirely in memory?
>>103277711They can persist to disk if configured properly.
>>103272837To keep all the git-related files in a separate directory instead of straight into ~/.gitI prefer to use symlinks with stow instead of doing a git bare repo
>>103275126its complaining about /etc/machine-id not existing, i think that has something to do with dbusif /var/lib/dbus/machine-id exists, you might be able to just symlink that to /etc/machine idsudo ln -sr /var/lib/dbus/machine-id /etc/machine-d
sudo ln -sr /var/lib/dbus/machine-id /etc/machine-d
>>103276071Do you have the lib32 packages of the drivers and stuff installed?
>>103277745I mean that I want it to operate entirely in RAM.
>>103277341You could put a file in /etc/profile.d or the zsh equivalent and have that file source another file in a location accessible and writable by www-data
>>103277842i messed up my post, make sure the file is /etc/machine-id
>>103277341why would you want to do this?
What exactly does the --oneshot flag do in emerge and why do some of the gentoo wiki posts tell you to use that flag when installing the package?Whats the difference between using --oneshot and not using it?
>>103277865I would use Redis then.
>>103277890It doesn't add the package to your world file.It's mostly used to choose one of various packages to fulfill some dependency of the package you actually want to install.