lubuntu-desktop team mailing list archive
-
lubuntu-desktop team
-
Mailing list archive
-
Message #05819
Possible Bug in /usr/bin/startlubuntu
Hi,
I'm new to Lubuntu, I've found something weird with Lubuntu 11.10.
The session manager starts any process twice, there's some messages in
$HOME/.xsession-errors,
from lxpanel for example.
In fact, lxsession parses /etc/xdg/lxsession/Lubuntu/autostart twice, I
submitted a patch to
avoid this :
https://sourceforge.net/tracker/?func=detail&aid=3466885&group_id=180858&atid=894871
That seems conform to XDG standards.
Anyway, the XDG_CONFIG_DIRS seems incorrect, this is what a get on my
system :
XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-/usr/bin/startlubuntu:/etc/xdg:/etc/xdg
I added two lines in /usr/bin/startlubuntu in order to get the variables
in a file :
echo $XDG_CONFIG_DIRS > $HOME/xdg_conf_dir.txt
if test "x$XDG_CONFIG_DIRS" = "x"
then
XDG_CONFIG_DIRS="/etc/xdg/lubuntu:/etc/xdg"
else
XDG_CONFIG_DIRS="/etc/xdg/lubuntu/:$XDG_CONFIG_DIRS:/etc/xdg"
fi
export XDG_CONFIG_DIRS
echo $XDG_CONFIG_DIRS >> $HOME/xdg_conf_dir.txt
This is what I get :
/etc/xdg/xdg-/usr/bin/startlubuntu:/etc/xdg
/etc/xdg/lubuntu/:/etc/xdg/xdg-/usr/bin/startlubuntu:/etc/xdg:/etc/xdg
It seems that /etc/xdg is already set and the startup script appends
/etc/xdg once more.
I would see three problems :
1) /etc/xdg/xdg-/usr/bin/startlubuntu doesn't exist and looks weird.
2) /usr/bin/startlubuntu appends /etc/xdg once more.
3) lxsession parses any $XDG_CONFIG_DIRS/autostart that exists.
If my patch is correct, I may have fixed the third problem, but
concerning the environment variable I don't know what's wrong.
Any information would be welcome.
Thanks.
--
Axel FILMORE
Follow ups