The wiki says (on the subject of .xinitrc) "If you want the script to be called when ever an X Session is started, then you should instead use ~/.xsession"
I had no default ~/.xsession file. I believed that it would be checked for, so created a minimal file
Code: Select all
#!/bin/sh
touch /home/user/this-script-ran
exec /usr/bin/xmonad
"allow-user-xsession" is present in /etc/X11/Xsession.options.
However, ~/.xsession does not run when x starts.
1) Should I be using something other than .xsession for this?
2) If not, how do I enable it? Or am I making some error that prevents it from running?
x86 Debian 5.0.4 with xmonad.