Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$XDG_CONFIG_HOME #50

Closed
vinitkumar opened this issue Jan 26, 2014 · 4 comments
Closed

$XDG_CONFIG_HOME #50

vinitkumar opened this issue Jan 26, 2014 · 4 comments

Comments

@vinitkumar
Copy link
Owner

From marius.s...@gmail.com on June 19, 2010 01:38:40

Instead of saving configuration to ~/.googlecl use $XDG_CONFIG_HOME as a base, and then no need for leading dot. Normally $XDG_CONFIG_HOME points to ~/.config, so the actual config folder for googlecl would be:
~/.config/googlecl/

Also consider $XDG_DATA_HOME and $XDG_CACHE_HOME.

See: http://www.freedesktop.org/wiki/Specifications/basedir-spec

Original issue: http://code.google.com/p/googlecl/issues/detail?id=42

@vinitkumar
Copy link
Owner Author

From hemanth...@gmail.com on June 25, 2010 02:00:12

sessionType = os.environ.get('DESKTOP_SESSION') gives the current session based on which the location can be decided.

@vinitkumar
Copy link
Owner Author

From hemanth...@gmail.com on June 27, 2010 01:41:13

Uploaded a patch, in which the current desktop session is detected if XDG the config dir will be ~/.config/googlecl/ if not ~/.googlecl.

Edited file : src/googlecl/init.py
Source => from the repository

Attachment: init.py.diff

@vinitkumar
Copy link
Owner Author

From tom.h.mi...@gmail.com on July 30, 2010 15:39:04

This issue was closed by revision r367 .

Status: Fixed

@vinitkumar
Copy link
Owner Author

From tom.h.mi...@gmail.com on August 12, 2010 14:14:58

Issue 62 has been merged into this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant