On Tue,24.Mar.09, 19:46:28, Daniel Dalton wrote: > On Tue, Mar 24, 2009 at 06:51:08PM +1100, Daniel Dalton wrote: > > Hi, > > > > How can I export (or just run a bunch of commands like .bash_profile), > > when gnome starts from gdm? > > Solved, configured in the gnome-terminal profiles window...
But it will only work for gnome-terminal. From /usr/share/doc/x11-common/NEWS.Debian.gz: This release provides the ability to set session-wide environment variables easily. If you have the file ".xsessionrc" in your home directory it will be read (sourced) by the X session scripts during login. This allows you to easily set environment variables in this file that apply to all apps. This is most immediately useful for setting locale information. Remember that for most shells you will have to explicitly export the variable for it to take effect in your session. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
signature.asc
Description: Digital signature