Re:Use the XDG Base Directory Specification
by jbaber on Friday March 24, 2023 @06:55AM
(#35287404)
Wait, 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.
[ Parent
| on HN ]
Re:Use the XDG Base Directory Specification
by sam_lowry_ on Friday March 24, 2023 @08:59AM
(#35288442)
I 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.
Re:Use the XDG Base Directory Specification
by account42 on Friday March 24, 2023 @11:27AM
(#35290326)
> 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.