5 ms·
> That's not in the XDG spec. But it is. In the XDG user dir spec.
by justeleblanc 4y ago
> That's not in the XDG spec.
But it is. In the XDG user dir spec.
- jbaber 4y agoWait, I get to blame XDG for this? I've never cared about dotfiles since they're invisible. But Videos, Pictures, etc. have always been a nuisance.
- sam_lowry_ 4y agoI already posted this above, but here is a repost, because I know exactly how you feel: 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.
- account42 4y ago> 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. It's not obvious at all. The only security issue is programs dumping "downloads" on your harddrive without asking you first. Sucks that this is yet another thing that Mozilla has copied from Chrome without thinking.
- narwally 4y agoI shove them all into ~/docs and then edit my ~/.config/user-dirs.dirs file to match.