XDG config dirs
Use XDG config dirs in all packages on the destktop spin
- Name: Desktop SIG
- Email: firstname.lastname@example.org
- Targeted release: Fedora 18
- Last updated: 2012-08-23
- Percentage of completion: 90%
Many GNOME modules already use XDG config directories for storing their file-based configurations, but there is still a large number of dotfiles that accumulate directly in $HOME, or in dot-directories such as .gnome2, .gnome2-private, etc.
This work has progressed significantly upstream during the GNOME 3.6 cycle, and the core GNOME moduleset is not essentially complete: https://live.gnome.org/GnomeGoals/XDGConfigFolders
All desktop applications should use the proper XDG directories for storing file-based configurations, cache files, runtime data, etc.
Benefit to Fedora
Users will have a less cluttered home directory that is easier to manage. The extra indirection provided by the XDG environment variables will let us make things work more reliable in special situations, such as with NFS home directories.
We have to provide patches for all packages on the desktop spin that still store dotfiles in $HOME or subdirectories other than the XDG directories. These patches should go upstream. See http://live.gnome.org/GnomeGoals/XDGConfigFolders for upstream tracking of affected modules.
How To Test
- . Install the desktop spin
- . Log in to the desktop
- . Use any of the installed applications, change settings, etc
- . Verify that XDG folders get used to store file-based configuration, cache files, runtime data
Users with newly created accounts should notice that their home directories appear less cluttered in ls -la.
Packages can be fixed one-by-one. There is no need to revert successfully ported packages.