Opened 11 years ago
Last modified 5 years ago
#2234 new bug
Folllow freedesktop specs for files created/stored by Deluge
Reported by: | Cas | 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 Changed 10 years ago by Cas
comment:2 Changed 10 years ago by Cas
Reference code for Runtime dir: http://www.nullege.com/codes/search/xdg.BaseDirectory.get_runtime_dir?fulldoc=1
comment:4 Changed 5 years ago by DjLegolas
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