On Thu 12 Dec 2013 at 00:21:18 -0700, Bob Proulx wrote: > The man page for Xsession documents ~/.xsessionrc and ~/.xsession. It > says that ~/.xsessionrc is only for setting variables and the > ~/.xsession is for executing commands. (But in reality this is a grey > area.)
Let's attempt to get a colour transformation to black and white. :) Firstly: .xsessionrc is for holding ***global environment*** variables. The emphasis is mine. Secondly: 40x11-common_xsessionrc in /etc/X11/Xsession.d is sourced before 50x11-common_determine-startup. So .xsessionrc is read before .xsession and any environment variables set will become available to applications run by the commands in .xsession. Thirdly: Everyone likes a test to do. :) Create .xsessionrc with contents similar to these: xterm & TZ='GST-10' ; export TZ exec <a window manager> Now execute 'startx'. You have a functioning system? Execute 'date'. Putting commands in .xsessionrc is very naughty. Are you still there, Charlie? For your own good, please stop doing it. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/12122013134425.ed01b12c8...@desktop.copernicus.demon.co.uk