FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-24-2009, 06:51 AM
Daniel Dalton
 
Default export variables bash

Hi,

How can I export (or just run a bunch of commands like .bash_profile),
when gnome starts from gdm?

Thanks,

Daniel.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 03-24-2009, 07:46 AM
Daniel Dalton
 
Default export variables bash

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...

Daniel.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 03-24-2009, 05:11 PM
Andrei Popescu
 
Default export variables bash

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)
 
Old 03-24-2009, 06:27 PM
Javier Barroso
 
Default export variables bash

On Tue, Mar 24, 2009 at 9:46 AM, Daniel Dalton <d.dalton@iinet.net.au> 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...Does ~/.profile make it possible too ? (I remember that in xfce4 desktop)
*
 

Thread Tools




All times are GMT. The time now is 12:39 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org