this post was submitted on 02 Oct 2023
1385 points (96.8% liked)
Programmer Humor
19817 readers
55 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why did Linux systems go for capitals in the home folder? It's actually kind of annoying and takes extra key presses.
....A while later "XDG Base Directory Specification"
Why does Linux do anything it does? Because a bunch of shortsighted nerds think it's a good idea. For example, try to install software on another disk.
Any help with that?
As someone said you solution is to symlink or setup LVM volume groups for different mount points. Essentially, it's all or nothing. You can't just put a single program on a different disk without then taking all those files and manually symlinking them to the right place. It's honestly one of the biggest Linux oversights.
Symlink your desired location on the target disk to the place the system thinks the software should go. (In my case, /usr/local/games is a symlink to a different drive.)
Thanks
XDG specifies the capital names, but to be nitpickingly technically precise, linux systems don't do this. It mostly is done by the distribution maintainers, and the XDG specs. A base system does not usually have a notion of anything beyond your $HOME.
Try adding a user:
sudo adduser basicuser
. If youls -al ~basicuser
you will see it's almost empty, just the .bashrc (or in my fedora, there's some .mozilla crap in /etc/skel that also gets bootstrapped).