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 Base Directory #144

Closed
trans opened this issue Aug 30, 2015 · 4 comments
Closed

XDG Base Directory #144

trans opened this issue Aug 30, 2015 · 4 comments

Comments

@trans
Copy link

trans commented Aug 30, 2015

I installed Conky the other day and noticed the config file is ~/.conkyrc. I'd like to suggest that the project use the XDG Base Directory standard and place the file in ~/$XDG_CONFIG_HOME/conky/. It has taken awhile but the standard is finally gaining wide support, and home directories everywhere are finally starting to look sane. 😄

@marcpayne
Copy link
Contributor

Hi @trans, what version of Conky did you install? Since commit 00481ee, which is in version 1.10.0, Conky follows the XDG standards. It first tries to read its config from ~/.config/conky/conky.conf. If that fails, it falls back to the old ~/.conkyrc.

Thanks for your report though! The XDG standards are really nice, and I enjoy seeing my home directory get cleaner as the years tick by. :)

@trans
Copy link
Author

trans commented Aug 30, 2015

Mine was an emerge on Gentoo, so yes, it might have been older version. I'll update. Thanks!

@trans trans closed this as completed Aug 30, 2015
@Tucos
Copy link

Tucos commented Aug 30, 2015

Just a small nitpick sort of related to this issue: the claim that

Conky follows the XDG standards

is incorrect. The XDG Basedir spec states that the application should look in ${XDG_CONFIG_HOME:-$HOME/.config} and then fall back to $XDG_CONFIG_DIRS; conky only looks in $HOME/.config.

@marcpayne
Copy link
Contributor

@Tucos You're absolutely right. Thanks for the correction!

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

No branches or pull requests

3 participants