[Geany-devel] Missing environment variables for builds and executes

Nick Treleaven nick.treleaven at xxxxx
Tue Nov 23 16:15:39 UTC 2010


On Wed, 17 Nov 2010 13:40:42 +1100
Lex Trotman <elextr at gmail.com> wrote:

> When Geany is started from the Gnome menu it doesn't get environment
> variables set in .profile, .bashrc etc.  Other window managers seem
> ok.

According to:
http://www.mkssoftware.com/docs/man1/sh.1.asp#Options_and_Invocation

~/.bashrc is run even for a non-login shell
~/.profile is run only for login shells

Maybe that's why we experience different behaviour - I use bashrc not
profile. Could be that the Window Manager isn't relevant?

Nick



More information about the Devel mailing list