Location of Inkscape files (config, cache, log, templates, etc)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Wishlist
|
Unassigned |
Bug Description
Using the latest version of Inkscape on the latest OS X (10.6.7 at the time of writing).
There are 2 requests I would like to make regarding Inkscape’s files:
= 1. Conform to the XDG Base Directory Specification =
(http://
This means put:
* configuration in ~/.config/inkscape
* logs in ~/.log/inkscape
* caches in ~/.cache/inkscape
* items like templates for new documents in ~/.local/
= 2. Use OS X Locations for the equivalent =
In my home directory, I currently have:
.config/inkscape/
├── extensions/
├── icons/
├── keys/
├── palettes/
│ ├── ARTT354-
│ └── ARTT354-
├── templates/
├── extension-
└── preferences.xml
.inkscape
├── extension-
└── preferences.xml
.inkscape-etc/
├── gdk-pixbuf.loaders
├── gtk.immodules
├── gtkrc
├── pango.modules
├── pangorc
└── pangox.aliases
And inside /Applications/
The correct location for these items should be:
* /Library/
* /Library/
* /Library/
* /Library/
These are the system-level locations were application defaults should be located on OS X. Anything extended, overridden, or modified by the user should exist in the same paths as above, except prefixed with the user's home directory (i.e., prefix paths above with ~ for locations where Inkscape should store all user-level settings, data, logs, templates, etc).
tags: |
added: packaging removed: configuration standards |
Just some quick notes:
- XDG and Apple's convertions for CONFIG/CACHE/DATA do not agree. In my understanding, point 1) and 2) are conflicting and should be tracked in separate requests (XDG affects the other supported platforms as well, using Apple's file hierarchy only affects building and packaging for OS X).
- Using standard OS X system locations in '/Library' for shared resources would require to distribute the application with an installer, and no longer allow easy drag & drop installation from the DMG.
- If Inkscape's resources are installed in '/Library', what about the other resource and config files inside the application bundle, as well as the many shared dylibs? Consequently shouldn't the toolkits and dependencies (GTK+, cairo, pango, fontconfig, etc.) be provided as frameworks and installed into '/Library' as well, instead of being included with each ported GTK+ application separately?
Other related notes are in the comments of the blueprint /blueprints. launchpad. net/inkscape/ +spec/mac- os-native>
<https:/
Earlier reports with same requests:
Bug #171877 “OSX: Use of Library/Application Support”
Bug #199720 “Implement XDG Base Directory Specification for Linux”
Bug #490299 “Palettes, templates and other user files should be in XDG_DATA_HOME”
Proposing to link as duplicate to bug 171877 to track the feature request in one location. Adhering to the current XDG specification should be discussed separately (bug #199720, bug #490299).
<off-topic> wiki.inkscape. org/wiki/ index.php/ Release_ notes/0. 47#Preferences>
The directory '~/.inkscape' is from Inkscape 0.46 and earlier versions and no longer used by current Inkscape. The location of user preferences was changed in Inkscape 0.47:
<http://
</off-topic>