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

Bug#595183: $HOME/.xsessionrc is started too early to be used to start programs



Hello Joey,

Am 2010-09-01 15:31:26, schrieb Joey Hess:
> I'm using gdm and gnome, but I would like to be able to run a shell
> script as part of session startup, in order to
> 
> a) Set environment variables etc.
> b) Start a lot of programs that I don't want to have to manually
>    configure gnome to start. I want these programs whether or not
>    I'm in gnome.
> 
> Currently, .xsessionrc is started at step 40 of Xsession.d. This allows
> for use A, but not really for use B. 
> 
> In particular, I had my .xsessionrc starting a terminal, and just wasted
> a thourougly embarrassing amount of time trying to figure out why,
> despite gpg-agent being started, GPG_AGENT_INFO was not set. (Not
> thinking to start a second terminal and try it there.)
> 
> Some solution that would let me accomplish B would be appreciated.
> At the moment, the only way to do it seems to be to make one's window
> manager into a wrapper script.

I use the ~/.xsession file and it works with XDM, WDM, GDM and KDM.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL       itsystems@tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4michelle@jabber.ccc.de
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature


Reply to: