Configuration settings
~/Choices was the old default location for configuration files in ROX. Now, most programs' settings are stored in the (hidden) ~/.config directory, and under Choices you will just find links to the new locations.
Settings are now namespaced to avoid conflicts. So, ~/Choices/ROX-Filer/Options became ~/.config/rox.sourceforge.net/ROX-Filer/Options.
Use the filer's Display menu to show hidden directories, or type /.config in your home directory's window to go straight to it.
This change brings ROX into line with the freedesktop.org base directory spec. See the specification for more information about what you can do with this system.
ROX-Lib provides a couple of modules to help you handle configuration. See the Options tutorial for more information.
ROX uses a hierarchical approach to the base directories. Inside the base directory itself is a directory for each source of applications inside which is a directory for each distinct application, plus directories for Shared configuration. For example ROX-Filer uses .../rox.sourceforge.net/ROX-Filer
to store its configuration. Here rox.sourceforge.net refers to the source of the application and ROX-Filer the application.
The convention is to use an internet domain name under the control of the authors for the source, thus ensuring that it will be unique. If an author does not have such a domain then a contact email address for the author should be suitable.
- Printer-friendly version
- Login to post comments
wrong link
Base directory spec link should be change to this:
http://freedesktop.org/wiki/Specifications/basedir-spec
http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html being the latest version at the date of this writing.
I'd like to ask if the $XDG_DATA_HOME and similar variables are respected within ROX-lib.
Is there a facility within ROX-lib to help following the XDG specifications for other directories like data directory?
base dirs in ROX-Lib
ROX-Lib includes the basedir module to reference the config and data paths.
I've now fixed the link.