by jojo14 · 3y ago · 0 comments
Plus I don't want ~/Videos or ~/Pictures folders. I am not dumb. Let me organize my folders according to my needs and my will.
The first thing I do when I setup a user account is removing those useless XDG folders.
XDG pretend to remove folder clusterfuck then why do they add their crappy folders?
No problems: define the $XDG_CONFIG_HOME to be like so.
> I don't want an additional and confusing ~/.local.
The idea is that data and config are different. Anyway, if you have different taste, that's ok, define $XDG_DATA_HOME to be the same as config.
> I don't want ~/Videos or ~/Pictures folders
That's not in the XDG spec.
But it is. In the XDG user dir spec.
cat ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/.Desktop"
XDG_DOWNLOAD_DIR="$HOME/tmp"
XDG_TEMPLATES_DIR="$HOME/tmp"
XDG_PUBLICSHARE_DIR="$HOME/tmp"
XDG_DOCUMENTS_DIR="$HOME/tmp"
XDG_MUSIC_DIR="$HOME/tmp"
XDG_PICTURES_DIR="$HOME/tmp"
XDG_VIDEOS_DIR="$HOME/tmp"
Note that XDG_DESKTOP_DIR and XDG_DOWNLOAD_DIR have to point to different directories. In hindsight, this is obvious, but this is also a really stupid "security" bug-o-feature that costed countless hours to countless people.