Re: [Lubuntu-desktop] Possible Bug in /usr/bin/startlubuntu
I just installed LU Alpha 1 for further testing. It works fine currently for an Alpha release. :-) Thanks a lot for these informations. Best regards. On 30/12/2011 00:16, Julien Lavergne wrote: Hi, Thanks for your help on this :) Let me comment the 3 points : Le 12/29/2011 11:32 PM, Axel FILMORE a écrit : I would see three problems : 1) /etc/xdg/xdg-/usr/bin/startlubuntu doesn't exist and looks weird. You should have /etc/xdg/xdg-Lubuntu instead. It's a "common" path for configuration files, using by Xubuntu for example (all it's in /etc/xdg/xdg-Xubuntu). It was introduced sometimes ago, but I didn't find any advantage to move from /etc/xdg/lubuntu to this location. 2) /usr/bin/startlubuntu appends /etc/xdg once more. I fixed it for 12.04, it's already append by a Xsession.d script (/etc/X11/Xsession.d/60x11-common_xdg_path). 3) lxsession parses any $XDG_CONFIG_DIRS/autostart that exists. Yes, there were complains about applications run twice using autostart, it's probably because of this. Thanks :) Unfortunately, I'm in the middle of rewriting this part of lxsession, so I can't include your patch like this, but I'll make sure the behaviour is correct on the new lxsession. Regards, Julien Lavergne -- Axel FILMORE ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Possible Bug in /usr/bin/startlubuntu
Hi, Thanks for your help on this :) Let me comment the 3 points : Le 12/29/2011 11:32 PM, Axel FILMORE a écrit : > > I would see three problems : > 1) /etc/xdg/xdg-/usr/bin/startlubuntu doesn't exist and looks weird. You should have /etc/xdg/xdg-Lubuntu instead. It's a "common" path for configuration files, using by Xubuntu for example (all it's in /etc/xdg/xdg-Xubuntu). It was introduced sometimes ago, but I didn't find any advantage to move from /etc/xdg/lubuntu to this location. > 2) /usr/bin/startlubuntu appends /etc/xdg once more. I fixed it for 12.04, it's already append by a Xsession.d script (/etc/X11/Xsession.d/60x11-common_xdg_path). > 3) lxsession parses any $XDG_CONFIG_DIRS/autostart that exists. Yes, there were complains about applications run twice using autostart, it's probably because of this. Thanks :) Unfortunately, I'm in the middle of rewriting this part of lxsession, so I can't include your patch like this, but I'll make sure the behaviour is correct on the new lxsession. Regards, Julien Lavergne ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
[Lubuntu-desktop] 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 ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp