RE: Re: Global environment variables under Gnome?



--------------Replied message--------------
Date: Thu, 09 Nov 2000 09:57:48 +0100
From: Toralf Lund <toralf kscanners com>
To: Mart van de Wege <wege34 zonnet nl>
Subject: Re: Global environment variables under Gnome?

Mart van de Wege wrote:

> People,
>
> A minor question just popped up recently: How do I set
> environment variables in Gnome? On my old setup (RH 6.2) it was
> just a question of adding the right export statements to /etc/profile,
> these somehow seemed to be inherited by my gnome session,
> however I recently switched to Debian 2.2 and it seems to handle
> this differently. I must specifically add a 'source /etc/profile' line to
> my user profile files, and it will only honor this from a terminal.

I think what's doing the trick with Red Hat Linux is the following line:

     #!/bin/bash -login

in /etc/X11/xdm/Xsession, which makes sure the entire session is run
under a
login shell, i.e. that /etc/profile is read. I don't know if this works on
Debian, though...

- Toralf
-------------------------------------------
Toralf,

Will this really help? I use gdm to login, does this inherit from xdm
somehow?

Also, according to another nice scandinavian sounding guy (Erik
Bågfors) adding the right export statements to
/etc/gdm/Sessions/Gnome should do it, but after a recent recompile,
Mozilla (31/7/00 nightly) still refuses to start from the panel (runs
absolutely fine from a term though). This is getting me quite
thoroughly stumped, and I don't want to edit the startup script every
recompile. More help out there? Please?

Mart van de Wege
Pentium III
128M
Debian 2.2
Gnome 1.0.55







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]