Timeline for $PATH not modified inside LXDE on Raspbian
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 17, 2013 at 0:11 | comment | added | Gilles 'SO- stop being evil' | @goldilocks The most common problem is that applications started from the GUI don't have the environment variable defined. Another problem is when .profile runs programs that should be executed once per session (e.g. keyring). Overriding the environment in a subshell is almost always undesirable: if the environment isn't the one that the session started with, there's usually a good reason (and if you want a shell with your default environment, su - $USER or ssh localhost can do that). | |
| Sep 16, 2013 at 23:52 | comment | added | goldilocks | @Gilles If the "trouble" is that it's not used by non-interactive shells, I did spell this out and suggest sourcing it from ~/.profile (which many systems do by default). WRT to overriding existing env values in a subshell, isn't that the point (as opposed to an undesirable side effect)? | |
| Sep 16, 2013 at 23:37 | history | edited | goldilocks | CC BY-SA 3.0 | added 72 characters in body |
| Sep 16, 2013 at 23:24 | comment | added | Gilles 'SO- stop being evil' | Please do not recommend setting environment variables in .bashrc. It only half works and causes trouble down the line. See my answer. | |
| Sep 16, 2013 at 12:17 | comment | added | Funky Oordvork | Are the 3 Bears on here ? I'll up vote you once I get my reputation up to 15 :) | |
| Sep 14, 2013 at 11:47 | comment | added | goldilocks | Thx. I'm dying to know what could have possibly earned me a "-1" here...sigh. | |
| Sep 13, 2013 at 14:33 | vote | accept | Funky Oordvork | ||
| Sep 13, 2013 at 14:33 | comment | added | Funky Oordvork | That works thanks. Now I just have to work out what it all means ! Darn you to Heck Windows(TM), you killed my brain ! | |
| Sep 13, 2013 at 14:15 | history | edited | goldilocks | CC BY-SA 3.0 | added 268 characters in body |
| Sep 13, 2013 at 14:08 | history | answered | goldilocks | CC BY-SA 3.0 |