LXDM and .bashrc

Please post all general support questions for LXDE here.
Locked
grogers3.14
Posts: 8
Joined: Fri Jan 29, 2010 6:27 pm

LXDM and .bashrc

Post 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?
grogers3.14
Posts: 8
Joined: Fri Jan 29, 2010 6:27 pm

Re: LXDM and .bashrc

Post by grogers3.14 »

Solved it myself: put it in ~/.profile
Locked