The environnement variables should be set in /etc/environment according to https://help.ubuntu.com/community/EnvironmentVariables for Ubuntu system.
However, the PATH should be specified by the init script of the distribution. lxdm fallback was PATH=/usr/local/bin:/usr/bin, and appeared to always fallback to this, whenever you specify or not the path in the init script (which is an upstart script in Ubuntu). The last upload of lxdm re-enabled this behavior, so it should be fixed now for lxdm. Regards, Julien Lavergne Le samedi 20 mars 2010 à 14:10 +0800, PCMan a écrit : > I haven't got the time to test beta 1. However, there is an issue of lxdm. > Lxdm by default drop existing environment and force the use of > PATH=/usr/local/bin:/usr/bin. > This really causes some breakage. I discussed wtih author of lxdm and > he told me environment variable should be set in /etc/profile and it > will be set properly by shell login. However, after startlxde, my > $PATH doesn't seem to be properly set and it's still the default value > /usr/local/bin:/usr/bin. This makes many programs broken. Is this > issue solved in Lubuntu? > > _______________________________________________ > Mailing list: https://launchpad.net/~lubuntu-desktop > Post to : firstname.lastname@example.org > Unsubscribe : https://launchpad.net/~lubuntu-desktop > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : email@example.com Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp