Bug 2874 - use XDG directories for client data
Summary: use XDG directories for client data
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client (show other bugs)
Version: pre-1.0
Hardware: PC Linux
: P2 Enhancement
Target Milestone: LowPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-01 09:12 CEST by Pierre Ossman
Modified: 2022-06-22 10:21 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2008-09-01 09:12:08 CEST
We currently store all the client stuff in ~/.tlclient. This is wrong according to current XDG standards. We also mix configuration, data and logs in the same directory which is even worse.

There are three new directories that should be used for user data:

- XDG_DATA_HOME (default ~/.local/share)
- XDG_CACHE_HOME (default ~/.cache)
- XDG_CONFIG_HOME (default ~/.config)

We should create a subdirectory under each of these and store our stuff. Suitable usage:

- data: known_hosts
- cache: tlclient.log
- config: tlclient.conf

Note You need to log in before you can comment on or make changes to this bug.