linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 742 forks source link

[Feature Request] Use XDG Base Directory Specifications for Linux Mint #10485

Open tur1ngb0x opened 2 years ago

tur1ngb0x commented 2 years ago

Distribution: Linux Mint 20.2 64-bit

Cinnamon Version: Cinnamon 5.0.7

Issue Linux Mint uses ${HOME} to store data, config and cache files, this pollutes the home directory. Example: ~/.cinnamon ~/.linuxmint

Describe the solution you'd like Linux Mint should follow XDG base directory specifications, resulting in a cleaner and easier management of ${HOME} directory.

Describe alternatives you've considered Using ${XDG_DATA_HOME} ${XDG_CONFIG_HOME} ${XDG_CACHE_HOME} https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html https://wiki.debian.org/XDGBaseDirectorySpecification https://wiki.archlinux.org/title/XDG_Base_Directory

LinuxOnTheDesktop commented 2 years ago

One reason to do this is that new-ish users can be confused by the plethora of dot files in $HOME; those users wonder what those files are and whether it is safe to delete them.

avlapp commented 2 years ago

Same for user dirs https://wiki.archlinux.org/title/XDG_user_directories

cd "$XDG_DESKTOP_DIR" doesn't seems to work, all though it is set in ~/.config/user-dirs.dirs

avlapp commented 2 years ago

It probably doesn't work in Debian and Ubuntu either.

zpangwin commented 5 hours ago

Possible duplicate of #9388 ? If not then it might be possible to merge the two requests as they appear to be asking for very similar end result.