Hacker News new | ask | show | jobs
by sam_lowry_ 1189 days ago
XDG sucks for the only reason that it is really difficult to configure user directories to one's taste.

For instance, to get rid of Download, Templates, Desktop, Public Share, Documents, Music, Pictures, Videos directories I not only have to point them to somewhere else, I also have to make sure Desktop and Download do not point to the same directory, otherwise my config will not be used.

Here, after literally hours of researching, I figured the config that works:

        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"
1 comments

The XDG user dirs are not part of the XDG basedir spec.