Page 1 of 1

LXDM and .bashrc

Posted: Sat Jun 12, 2010 4:57 pm
by grogers3.14
I'm having some troubles. I have an application which uses the BROWSER environment variable, which I have set in my .bashrc file. It works, unless I start it using a *.desktop in ~/.config/autostart, where attempting to open the browser results in nothing happening. This is because the BROWSER variable is not set. I'm assuming that this is because neither LXDM or lxsession read the ~/.bashrc file before running the application.

Is there a way to either make LXDM or lxsession read ~/.bashrc or is there another place I should put the BROWSER variable?

Re: LXDM and .bashrc

Posted: Sun Jun 13, 2010 3:32 pm
by grogers3.14
Solved it myself: put it in ~/.profile