[Pkg-lxde-maintainers] Bug#578160: global vs local config files
Michael Tokarev
mjt at tls.msk.ru
Sat Apr 17 20:30:22 UTC 2010
retitle 578160 missing useable documentation
thanks
17.04.2010 18:03, Michael Tokarev wrote:
> Package: lxsession
> Version: 0.4.4-1
> Severity: wishlist
>
> lxsession uses a config file (and there's a config file editor,
> lxsession-edit package). But unfortunately, the local config
> file (~/.config/lxsession/LXDE/config) is not being used, but
> only the global one (/etc/xdg/lxsession/LXDE/conifg) is. For
> example, if I specify
>
> [Session]
> window_manager=compiz
>
> in local config, lxde starts openbox anyway, according to the
> global config. After searching the 'net I found several discussions
> about how to change the window manager, and all them refers to
> the global config file editing, which means it's done for all
> users at once. But the whole goal of my experiment is to try
> it out for one user only, without affecting others.
So it turns out the problem is solely with documentation.
After stracing lxsession I found out that it looks for
file named ~/.config/lxsession/LXDE/desktop.conf, not
to ..../config . I also noticed access to another file,
/etc/xdg/lxsession/LXDE/desktop.conf , with the settings
I were looking at. So I copied the latter into the
former (global to local) and modified it there, and
voila, it all stared working as expected.
Even the lxde official site mentions .../config not
..../desktop.conf . So again, the sole issue here
is a complete lack of (useful) documentation. Maybe
at least this bugreport (with a solution!) will be
useful for someone else... ;)
> Ditto for the autostart files: it is not possible to omit starting
> applications defined in the global autostart. For example, I'd
> like to omit pcmanfm, so in my local autostart I have to use
> something like 'killall pcmanfm' before starting alternative
> (in this case I had to remove pcmanfm entirely to stop it from
> starting).
But this is still not possible, it looks likke.
Thanks!
/mjt
More information about the Pkg-lxde-maintainers
mailing list