Opened 12 years ago
Last modified 6 years ago
#2234 new bug
Folllow freedesktop specs for files created/stored by Deluge
Reported by: | Calum | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 2.x |
Component: | Core | Version: | other (please specify) |
Keywords: | Cc: |
Description
It would be good if rather than dumping everything in config dir, we follow the Freedesktop specs:
- XDG_DATA_HOME - user specific data files
- state files
- ssl dir
- plugin eggs dir
- XDG_CACHE_HOME - non-essential cached data
- icons dir
- blocklist cache
- XDG_RUNTIME_DIR - non-essential runtime files
- ipc dir
- pid files
- XDG_CONFIG_HOME - user specific configuration files
- conf files
The only question mark is what .torrent
files should be classified as.
Reference: Freedesktop
Change History (4)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Reference code for Runtime dir: http://www.nullege.com/codes/search/xdg.BaseDirectory.get_runtime_dir?fulldoc=1
comment:4 by , 6 years ago
Aren't the .torrent
files part of the user data?
Currently they are stored in the state
directory, so why not leave them there?
Note:
See TracTickets
for help on using tickets.
From duplicate #2366