{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/8124","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/8124/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/8124/comments","events_url":"https://api.github.com/repos/electron/electron/issues/8124/events","html_url":"https://github.com/electron/electron/issues/8124","id":192994027,"number":8124,"title":"Better follow XDG Base Directory standard","user":{"login":"smyrman","id":75205,"avatar_url":"https://avatars.githubusercontent.com/u/75205?v=3","gravatar_id":"","url":"https://api.github.com/users/smyrman","html_url":"https://github.com/smyrman","followers_url":"https://api.github.com/users/smyrman/followers","following_url":"https://api.github.com/users/smyrman/following{/other_user}","gists_url":"https://api.github.com/users/smyrman/gists{/gist_id}","starred_url":"https://api.github.com/users/smyrman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smyrman/subscriptions","organizations_url":"https://api.github.com/users/smyrman/orgs","repos_url":"https://api.github.com/users/smyrman/repos","events_url":"https://api.github.com/users/smyrman/events{/privacy}","received_events_url":"https://api.github.com/users/smyrman/received_events","type":"User","site_admin":false},"labels":[{"id":193723580,"url":"https://api.github.com/repos/electron/electron/labels/blocked","name":"blocked","color":"d4c5f9","default":false},{"id":97403642,"url":"https://api.github.com/repos/electron/electron/labels/linux","name":"linux","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-01T23:39:58Z","updated_at":"2016-12-02T05:18:44Z","closed_at":null,"body":"* Electron version: 1.3.9 (via Atom 1.12.6) and unknown (via Slack 2.3.2)\r\n* Operating system: Linux\r\n\r\n### Expected behavior\r\n\r\nFiles stored by Electron on behalf of electron apps, should follow the XDG Base Directory specification and place only config files in $XDG_CONFIG_HOME/<App name> (default ~/.config/). cache and data files should be placed in XDG_CACHE_HOME (default: ~/.cache) and XDG_DATA_HOME (default: ~/.local/share) respectively.\r\n\r\nhttps://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html\r\n\r\n### Actual behavior\r\n\r\nAs seen in Atom and Slack on Linux, they leave non-config files in ~/.config/Atom and ~/.config/Slack/ in particular, they leave folders such as \"databases\", \"GPUCache\", \"Cache\", \"logs\", and \"Local Storage\". Atom mention this as an Electron issue in https://github.com/atom/atom/issues/8281 (\"where electron stores it's files\"). \r\n\r\nCould still be it's not Electron's fault that the apps store non-config files in these locations, but hopefully you know more than me here."},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/264375719","html_url":"https://github.com/electron/electron/issues/8124#issuecomment-264375719","issue_url":"https://api.github.com/repos/electron/electron/issues/8124","id":264375719,"user":{"login":"deepak1556","id":964386,"avatar_url":"https://avatars.githubusercontent.com/u/964386?v=3","gravatar_id":"","url":"https://api.github.com/users/deepak1556","html_url":"https://github.com/deepak1556","followers_url":"https://api.github.com/users/deepak1556/followers","following_url":"https://api.github.com/users/deepak1556/following{/other_user}","gists_url":"https://api.github.com/users/deepak1556/gists{/gist_id}","starred_url":"https://api.github.com/users/deepak1556/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepak1556/subscriptions","organizations_url":"https://api.github.com/users/deepak1556/orgs","repos_url":"https://api.github.com/users/deepak1556/repos","events_url":"https://api.github.com/users/deepak1556/events{/privacy}","received_events_url":"https://api.github.com/users/deepak1556/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T05:18:44Z","updated_at":"2016-12-02T05:18:44Z","body":"> Is it possible for Electron to move folders like GPUCache and Cache to XDG_CACHE_HOME, or are those still defined by Chrome/chromium?\r\n\r\nYup its possible. Currently we set the cache path to app data path in brightray. @kevinsawicki are we ok on changing this ?\r\n"}}
{"actor":{"display_login":"deepak1556"}}