{"action":"created","issue":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/4123","repository_url":"https://api.github.com/repos/spesmilo/electrum","labels_url":"https://api.github.com/repos/spesmilo/electrum/issues/4123/labels{/name}","comments_url":"https://api.github.com/repos/spesmilo/electrum/issues/4123/comments","events_url":"https://api.github.com/repos/spesmilo/electrum/issues/4123/events","html_url":"https://github.com/spesmilo/electrum/issues/4123","id":305088915,"number":4123,"title":"add support for XDG_DATA_HOME for os.name == 'posix'","user":{"login":"toxeus","id":7702854,"avatar_url":"https://avatars0.githubusercontent.com/u/7702854?v=4","gravatar_id":"","url":"https://api.github.com/users/toxeus","html_url":"https://github.com/toxeus","followers_url":"https://api.github.com/users/toxeus/followers","following_url":"https://api.github.com/users/toxeus/following{/other_user}","gists_url":"https://api.github.com/users/toxeus/gists{/gist_id}","starred_url":"https://api.github.com/users/toxeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toxeus/subscriptions","organizations_url":"https://api.github.com/users/toxeus/orgs","repos_url":"https://api.github.com/users/toxeus/repos","events_url":"https://api.github.com/users/toxeus/events{/privacy}","received_events_url":"https://api.github.com/users/toxeus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T09:53:07Z","updated_at":"2018-03-14T10:43:52Z","closed_at":null,"author_association":"NONE","body":"Currenlty, electrum does not follow the XDG specification for its data directory but [hard codes](https://github.com/spesmilo/electrum/blob/7e6fba0513b6a8db0a0546e8184f7d7a66008585/lib/util.py#L391-L392) it to `$HOME/.electrum`. \r\n\r\nBesides reducing the clutter inside `$HOME` the XDG specification enables the user to selectively backup all of his or her application's data. \r\n\r\nI'm opening this issue to ask if the project is interested in implementing the [XDG specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), i.e. to use `XDG_DATA_HOME` to store the appliaction's data. If so then I'm happy to contribute patches that maintain backwards compatiblity."},"comment":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/comments/372978164","html_url":"https://github.com/spesmilo/electrum/issues/4123#issuecomment-372978164","issue_url":"https://api.github.com/repos/spesmilo/electrum/issues/4123","id":372978164,"user":{"login":"SomberNight","id":29142493,"avatar_url":"https://avatars2.githubusercontent.com/u/29142493?v=4","gravatar_id":"","url":"https://api.github.com/users/SomberNight","html_url":"https://github.com/SomberNight","followers_url":"https://api.github.com/users/SomberNight/followers","following_url":"https://api.github.com/users/SomberNight/following{/other_user}","gists_url":"https://api.github.com/users/SomberNight/gists{/gist_id}","starred_url":"https://api.github.com/users/SomberNight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomberNight/subscriptions","organizations_url":"https://api.github.com/users/SomberNight/orgs","repos_url":"https://api.github.com/users/SomberNight/repos","events_url":"https://api.github.com/users/SomberNight/events{/privacy}","received_events_url":"https://api.github.com/users/SomberNight/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T10:43:52Z","updated_at":"2018-03-14T10:43:52Z","author_association":"MEMBER","body":"related: https://github.com/spesmilo/electrum/pull/1636"}}
{"actor":{"display_login":"SomberNight"}}