XDG_CONFIG_HOME interferes with GSettings
Setting XDG_CONFIG_HOME makes apps not find their GSettings anymore.
Steps to reproduce:
- Launch any application like this:
$ XDG_CONFIG_HOME=/home/mine eog
- Open preferences dialog (you'll see default values)
- Change preferences
- Close preferences dialog
- Open preferences dialog: all changes are gone
Expected result: XDG_CONFIG_HOME should have no influence on GSettings as the schemas are in a different location than default XDG_CONFIG_HOME.
It doesn't help to specify GSETTINGS_SCHEMA_DIR e.g.
$ XDG_CONFIG_HOME=/home/mine GSETTINGS_SCHEMA_DIR=/usr/share/glib-2.0/schemas eog
It doesn't help to specify XDG_DATA_DIRS e.g.
$ XDG_CONFIG_HOME=/home/mine GSETTINGS_SCHEMA_DIR=/usr/share/glib-2.0/schemas XDG_DATA_DIRS=/usr/share eog
I'm on Debian unstable, package libglib2.0-0 has version 2.74.6-1.