Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
lxqt doesn't read the correct settings for multiple XDG_CONFIG_DIRS #349
Comments
jleclanche
added
the
lxqt-session
label
Oct 29, 2014
gilir
commented
Oct 30, 2014
|
Just to mention that I use lxsession, not lxqt-session. However, I think it's the applications themself (or qtxdg, or xdg directories management by qt) which doesn't pick the good directory, the problem seems to be deeper. The session manager does its job by setting correctly the env variable. |
|
@gilir why use lxsession at this point? |
gilir
commented
Oct 30, 2014
|
Why not ? And unless lxqt-session is responsable for loading the settings for all the lxqt components, it's not really the point.
|
gilir
commented
Oct 31, 2014
|
FYI, it fails with both lxqt-session and lxsession |
gilir
referenced this issue
Nov 12, 2014
Closed
lxqt-common and lxqt-metapackage now conflict with other desktop environments #377
gilir
commented
Nov 17, 2014
|
The problem is in liblxqt. It uses QSettings which doesn't use values in XDG_CONFIG_DIR. See the QSettings documentation : http://qt-project.org/doc/qt-5/qsettings.html#locations-where-application-settings-are-stored . Only /etc/xdg is used, and in lxqtsettings.cpp, XdgDirs::configDirs is never used. I see 2 solutions :
|
gilir
removed
the
lxqt-session
label
Nov 17, 2014
gilir
commented
Nov 17, 2014
|
See also this qt bug : https://bugreports.qt.io/browse/QTBUG-34919 |
doktor5000
referenced this issue
Dec 17, 2014
Closed
lxqt-panel should respect the xdg-way of reading configurations #385
jleclanche
added
the
upstream
label
Feb 8, 2015
jleclanche
added this to the 1.0.0 milestone
Feb 8, 2015
paulolieuthier
modified the milestones:
0.11,
0.10
Jun 14, 2015
gilir
commented
May 14, 2016
|
To add more information on this, according to : https://github.com/NixOS/nixpkgs/pull/7525/files, QSettings itself has the problem, and the patch "fix" it. |
paulolieuthier
modified the milestones:
0.12,
0.11
Jun 16, 2016
|
Have a look on the lxde/liblxqt#104 ... |
|
The Qt patches bringing correct support for XDG_CONFIG_DIRS to QSettings were merged (qt/qtbase@ee35fbb, qt/qtbase@4758555). So I'd like to close this. Does anyone insist to leave this issue open? |
|
Let's close it. |
gilir commentedOct 29, 2014
lxqt always read the settings from /etc/xdg/lxqt, even if others directories are set on XDG_CONFIG_DIRS
For example, on Lubuntu, we have :
XDG_CONFIG_DIRS=/etc/xdg/lubuntu:/etc/xdg/xdg-QLubuntu:/etc/xdg
Custom settings on /etc/xdg/lubuntu/lxqt
lxqt default settings on /etc/xdg/lxqt
On a fresh start, the settings on /etc/xdg/lxqt are set, instead of /etc/xdg/lubuntu/lxqt
One weird note, pcmanfm-qt works, but we have :
XDG_CONFIG_DIRS=/etc/xdg/lubuntu:/etc/xdg/xdg-QLubuntu:/etc/xdg
Custom settings on /etc/xdg/lubuntu/pcmanfm-qt
No default settings on /etc/xdg/pcmanfm-qt
Maybe it's the last directory (with a content) on XDG_CONFIG_DIRS which is set, instead of the first one ?