[ILUG] Environment for Gnome desktop apps?

Raymond Kelly ray at skynet.ie
Thu Sep 21 19:40:20 IST 2000


Lars Hecking wrote:
> 
>  RedHat 6.2/Gnome.
>  How to I set the environment for apps launched from the Gnome desktop?
>  A user here has configured her desktop to launch xfig via a button/icon
>  at the bottom of the screen, but then xfig cannot export any files because
>  it doesn't find fig2dev. The latter lives in /usr/X11R6/bin, which is in
>  her $path (xfig works properly if started from a shell).

Redhat 6.2 / fvwm = edit ~/.Xinitrc or ~/.$wmrc to include the correct
path but that's just me. I'm not sure what the equivilent method for
Gnome is & I couldn't see an obvious answer with my first glance.

 From a per user method (could also be done globally I'm sure) would be
to write a wrapper script which will set the correct env's prior to
launching, Then have $user start that script instead.

le meas 
	Ray ...




More information about the ILUG mailing list