Support for the Freedesktop.org XDG Base Directory Specification in Thunderbird
Categories
(Thunderbird :: Preferences, enhancement)
Tracking
(Not tracked)
People
(Reporter: psychonaut, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [any fix would come through core bug 259356])
Updated•13 years ago
|
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Comment 7•6 years ago
|
||
Reporter | ||
Comment 8•6 years ago
|
||
Comment 9•4 years ago
|
||
We shouldn't be polluting people's $HOME
the XDG specification recommends that the following is used
- If the XDG config directory ($XDG_CONFIG_HOME/appname) for the app is there use it
- Check if the ~/.oldstyle_config_dir is there if so use that
- There is no config file so create a directory $XDG_CONFIG_HOME and put new config files in there and use them
That way an app updated by the user issuing apt update && apt upgrade (or equivalent) will not break an existing system
The existing user will continue to use the existing directory until he/she/?? moves the config manually.
No apps should be migrating the config directory on behalf of the user just because it changes where it wants to store them. Users won't find config directories go missing if they are not aware of XDG
The user can either:
- mv the directory into $XDG_CONFIG_HOME (typically ~/.config) remembering that many XDG apps drop the leading '.' from the directory name - check docs to see what the app actually does
- rename the directory into something temporary, run the app to create the correct config directory, copy the files into into the newly created XDG config subdirectory (the I couldn't be bothered reading the docs method :) )
Comment 10•4 years ago
|
||
Regardless of anyone's preferences for the XDG spec, Thunderbird needs someway for the user to specify alternative directories for storing application and configuration data other than $HOME
.
Comment 11•3 years ago
|
||
Definitely something import. It'd also allow syncing settings between devices. Right now .thunderbird
contains more than just settings. Syncing the folder and then opening Thunderbird on two devices would probably break things...
Right now I copy my folder to my other laptop ever time I'm changing a setting just to keep a consistent state between devices.
Updated•2 years ago
|
Description
•