I want to configure some environment variables in a shell-agnostic but user-specific way. I haven't found a solution for that. Does something like that even exist? The closest thing I have come up with is configuring the same variables in ~/.bash_profile, ~/.profile and ~/.zprofile and to tell every...
I ssh into a lot of linux machines with different OS's. Sometimes I have to change the network configuration. Usually this results in trial and error to find out how exactly the network is configured. Is it /etc/network/interfaces? NetworkManager? Systemd? Netplan? Connman? Netctl? Something else? T...
I'm using mpd to play music and I get crackling audio only with this application. The crackle is very quiet but noticable, especially at lower volumes. Firefox and mpv sound just fine. This happens both with PulseAudio and directly with ALSA. It also happens with different sound cards, while the sam...
I know you can get the linking order of a program by running LD_DEBUG=files program, but this prints the order and it is also running the program. Is it possible to somehow determine the linking order of a program without running it? Edit: I guess the order printed by ldd program is correct? Is this...
This isn't really a question about using Linux, but since I only intend to run Linux on the hardware I'm looking for I figured this would be the right place to ask. I'm looking for some hardware that I can run instead of my desktop PC when all I want to do is browse the web, watch videos, listen to...
I'm using SSHFS to mount my NAS and I really like it. The only thing that's kind of annoying is that copies from one directory of the NAS to another are relatively slow, most likely because the files actually are copied to my PC and to the NAS again. Is there a way to use server-side-copies with SSH...
I'm running into a weird bug with PipeWire and Bluetooth audio. It works fine but as soon as I disconnect my bluetooth headphones PipeWires CPU usage jumps up to 70-80% as reported by htop and the fans of my notebook go crazy. If I connect the headphones again CPU usage immediately drops back to bel...
I'm getting into digital comics and I would like to have a table of contents in my digital comicbooks for easier navigation on my e-reader. The CBZ format supports a table of content, so my question is if I have to write the TOC myself or if there is a tool that allows my to download TOC information...
I have set up port forwarding on my home router (OpenWrt) to forward port 22 to my home server. The home server is usually connecting to the internet via an OpenVPN connection. The port forwarding only works when the VPN is disconnected. What's the reason for this? I assume it is because SSH clients...
I wanted to try out the secret service integration that is new in KeePassXC 2.5.0, but KeePassXC keeps segfaulting. I have created a new database to use for this and when I go to the Secret Service Integration Settings and enable it and try to unlock the new database KeePassXC keeps crashing after e...
Just a PSA for those who are writing a thesis atm like I am: The recent biber update broke my workflow because the new version is incompatible with the current BibLaTeX version. This is the error I get: ERROR - Error: Found biblatex control file version 3.4, expected version 3.5. This means that you...
A few days ago I noticed that postfix wasn't starting on boot anymore. I tried starting it manually but it didn't work either, so I looked at the service file and it appears to be a dummy now. /lib/systemd/system/postfix.service [Unit] Description=Postfix Mail Transport Agent Conflicts=sendmail.serv...
I want to write a pacman hook that checks for orphaned packages. So my Idea is running pacman -Qdtq whenever I remove a package. The main problem is that pacman sets the exit code 1 whenever pacman -Qdtq returns nothing, which results in this error message when the hook is running: error: command fa...
I just installed Merkaartor, and when I run it I get this. merkaartor: symbol lookup error: merkaartor: undefined symbol: ZN10OGRFeature11SetGeometryEPK11OGRGeometry Using ldd on merkaartor shows that nothing is missing. Piping the symbol into c++filt gives me "OGRFeature::SetGeometry(OGRGeometry co...
Hi, after the Cinnamon 3.2 upgrade my touchpad stopped working properly. My right and middle touchpad button are recognized as the left button, and I can't rightclick anymore. When I run 'xev -event button' and click through my buttons, I can see that they are recognized as 'button 1' and not 2 and...
Should I use NFS or SMB? I like NFS for it's simplicity, but file permissions are a bit annoying, since there is no user authentication. There is Kerberos in NFSv4, but that's probably overkill for a home network. What would you recommend?
Hey guys, I recently started C programming in university, and while solving an exercise I came up with this code. When I compile it on my desktop, everything works as expected. However, when I compile it on my Odroid C2, which has an aarch64 CPU, the calculations are just wrong. You can see it here:...
I know the title sounds incredibly dumb, and I would never try that on my Linux PC, but I want to do this on my rooted Android phone, which has no 'sudo' command. The su command on Android spawns a root shell in / so I can't just run "alias sudo='su -c'", because it will not find the files when I ru...
Hi guys. After a kernel update some time ago (I think it was 4.3 -> 4.4) my touchpad stopped working suddenly. After some debugging I realized that I need to install the package 'i2c-tools' now. After the installation the touchpad had basic functionality again (Moving cursor, scrolling, clicking). A...
Hi! I have tried to install the Unreal Tournament 4 Pre Alpha from the AUR but it always fails for me. The first thing I realized is that /tmp is too small for the > 4G installer file. I remounted it to 12 or even 60G but it always fails. Yaourt finishes the download and starts extracting. Then sudd...