On Wednesday 26 April 2006 11:39, John Stumbles wrote: > On kubuntu (and SuSE, IIRC) if I have a ~/bin directory it gets included > in my $PATH but this doesn't happen under debian. (In all cases I'm > using kde with kdm as my window manager.) > I have also tried putting the code into .xsession. > There seems to be a mechanism in > /etc/X11/Xsession.d/50xfree86-common_determine-startup > for running this file > # If no X session startup program was passed to the Xsession script as that requires 'allow-user-xsession' to be set in /etc/X11/Xsession.options, otherwise your .xsession won't be executed. > I've googled www and usenet and searched debian lists but not found an > answer to the question of setting the environment for my whole X > session, not just for console session within X. add a regular shellscript named /etc/X11/Xsession.d/<some-two-digit-number>custom_<somedescription> that sets the environment the way you want. That should be run for any full x-session regardless of how it is started. See 'Customizing the startup procedure' in 'man xsession' for details -- Cheers, cobaco (aka Bart Cornelis) 1. Encrypted mail preferred (GPG KeyID: 0x86624ABB) 2. Plain-text mail recommended since I move html and double format mails to a low priority folder (they're mainly spam)
Attachment:
pgp3V15LJOB30.pgp
Description: PGP signature