this post was submitted on 02 Oct 2023
1377 points (96.8% liked)
Programmer Humor
19463 readers
30 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yes, but this is the default on many distros, so for once the end user is not to blame
Even worse, many components will ignore the
XDG_DOWNLOAD_DIR
var so even if you manually change it to$HOME/downloads
(lower-case) it will often break things.Keep filling those bugs and stop complaining on random forums, kids
Porque no los dos?
Something something symlink Downloads to downloads
Yeah but the main issue is that I don’t want there to be a
Downloads
directory in my home.ln -s ~/Downloads ~/downloads
This is all fun and games until you try moving a backup to a file system that's case-insensitive
Why not just
cd $XDG_DOWNLOAD_DIR
in the first place?That's not an environment variable. It's defined in
${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs
.Though you can use the
xdg-user-dir DOWNLOAD
command to get it automatically.