[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



Package: x11-common
Version: 1:7.5+6
Severity: wishlist

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.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-common depends on:
ii  debconf [debconf-2.0]         1.5.35     Debian configuration management sy
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip

x11-common recommends no packages.

x11-common suggests no packages.

-- Configuration Files:
/etc/X11/Xsession [Errno 2] No such file or directory: u'/etc/X11/Xsession'

-- debconf information excluded

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: