Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Respect xdg basedir #2

Closed
jleclanche opened this issue Apr 6, 2012 · 3 comments
Closed

Respect xdg basedir #2

jleclanche opened this issue Apr 6, 2012 · 3 comments
Milestone

Comments

@jleclanche
Copy link
Contributor

Im not really sure why config.cpp reimplements what QSettings already does. In any case, it should respect XDG_CONFIG_HOME (default to .config/screengrab)

@DOOMer
Copy link
Owner

DOOMer commented Apr 6, 2012

Im not really sure why config.cpp reimplements what QSettings already does. In any case, it should respect XDG_CONFIG_HOME (default to .config/screengrab)

QSettings makes paths like "organization/application" (e.g. "DOOMer/SctreenGrab"), I don't like this it :( So I made "classical" variant - "~/.AppName".

When creating config.cpp, I did not know about XDG_CONFIG_HOME. And did not store the settings in the "$XDG_CONFIG_HOME/ScreenGrab".

@DOOMer
Copy link
Owner

DOOMer commented Apr 11, 2012

Added support for XDG_CONFIG_HOME configstorage, by a build option SG_XDG_CONFIG_SUPPORT (commit 46fc7e8)

@DOOMer
Copy link
Owner

DOOMer commented Apr 14, 2012

Closed

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

No branches or pull requests

2 participants