I've installed Awesome window manager on Ubuntu 12-04
I have followed these instructions to set it up. It works correctly.
I am now trying to add some shell commands to be run at startup. [swapping mouse buttons round & stopping the display turning off when idle]. I have these commands stored in the .xsession file and I have .xinitrc sym linked to .xsession.
The commands in .xsession are not being executed. How can I make these commands run? Are they in the wrong place?
I thought awesome was an extension to Xwindows and so it would run ~/.xsession when it starts up. But it isn't doing.
andy@:~$ cat ~/.xsession
xmodmap -e "pointer = 3 2 1"
setterm -blank 0 -powersave off -powerdown 0
xset s off