.bash_profile not run when using graphical login
Ross Burton
ross at burtonini.com
Tue Oct 5 08:33:06 UTC 2004
On Tue, 2004-10-05 at 00:29 +0200, Michael Brandtner wrote:
> Am Montag, den 04.10.2004, 17:07 +0100 schrieb Andy:
>
> > So I'd like to know if other people think it would be a good idea for
> > ..bash_profile to be run if you log in graphically and then open a
> > terminal windows.
>
> How about /etc/env.d?
> Gentoo ist doing it this way and its nice.
Debian Policy says packages should work with no environmental variables
defined. For the Java example, this is why there are /usr/bin/java
(etc.) alternatives which JVMs register with.
.bash_profile isn't run at gdm login as you are not logging into bash,
but GDM. Try putting sh code into ~/.gnomerc.
My home desktop (I believe) has common login envars set in ~/.profile,
which is sourced from .gnomerc and .bash_login.
Ross
--
Ross Burton mail: ross at burtonini.com
jabber: ross at burtonini.com
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041005/d790b098/attachment.sig>
More information about the ubuntu-users
mailing list