On 11/04/2013 11:59 PM, Sergei Lopatin wrote:
>
>
> ---------- Forwarded message ----------
> From: *Sergei Lopatin* <magis...@gmail.com <mailto:magis...@gmail.com>>
> Date: 2013/11/4
> Subject: Re: [Lxde-list] LXQT_ETC_XDG_DIR and lxsession
> To: Julien Lavergne <julien.laver...@gmail.com
> <mailto:julien.laver...@gmail.com>>
>
>
> Please look carefully on comment from this
> file 
> https://github.com/lxde/liblxqt/blob/master/cmake/FindInstallConfigPath.cmake:
>
> # XDG standards expects system-wide configuration files in the
> /etc/xdg/lxqt location.
> # Unfortunately QSettings we are using internally can be overriden in
> the Qt compilation
> # time to use different path for system-wide configs. (for example
> configure ... -sysconfdir /etc/settings ...)
> # This path can be found calling Qt4's qmake:
> # qmake -query QT_INSTALL_CONFIGURATION
>
> So, LXQT_ETC_XDG_DIR is needed to properly INSTALL config files, not
> to LOAD FROM. It's BUILD TIME cmake variable and only used by
> lxqt-common package. lxqt-panel for example don't use it at all.
> So, what is about lxsession? Lxsession don't use QSettings class and
> because of that have completely no idea about this hell.

any idea how to resolve this issue?

I had to manual tweak /etc/xdg to fit /etc/settings:

stimpy:/etc/xdg # ls -l
total 20
drwxr-xr-x 2 root root 4096 Nov  1 09:08 autostart
drwxr-xr-x 2 root root 4096 Nov  8 10:09 libfm
lrwxrwxrwx 1 root root   17 Nov  8 10:22 lxqt -> ../settings/lxqt/
lrwxrwxrwx 1 root root   21 Nov  8 10:23 lxsession -> ../settings/lxsession
drwxr-xr-x 3 root root 4096 Nov  8 10:12 menus
drwxr-xr-x 2 root root 4096 Mar 18  2013 openbox
lrwxrwxrwx 1 root root   23 Nov  8 10:23 pcmanfm-qt ->
../settings/pcmanfm-qt/
drwxr-xr-x 2 root root 4096 Oct  8 10:33 systemd

maybe we can create symlinks in "make install" target on systems
affected with this issue?

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to