$HOME/.xsession file is not executed.
I want to set up a few things via the xsession file on Fedora 16. However, the file is not read when I start a session (via the login screen and fvwm). None of the commands in the ~/.xsession are executed. ~/.xsession-errors has nothing as to indicate why this happens.
What am I doing wrong?
; ls -l ~/.xsession
4.0K -rwxrwxr-x. 1 usr grp 720 Mar 7 15:44 /home/usr/.xsession*
; cat ~/.xsession
#!/bin/sh
# Screen size -- *sigh* xorg does not do the right thing.
xrandr --newmode 1600x1200 $(gtf 1600 1200 60 | grep Mode | read a b c; echo $c)
xrandr --addmode DVI-I-1 1600x1200
xrandr --addmode DVI-I-2 1600x1200
xrandr --output DVI-I-1 --mode 1600x1200
xrandr --output DVI-I-2 --mode 1600x1200 --right-of DVI-I-1
# xset and xmodmap.
xset s default
xset s on
xset s 3700
xset b off
# Key binding the old way.
xmodmap -e 'keycode 133 = XF86Launch1'
xmodmap -e 'keycode 108 = XF86Launch2'
# Shell
/usr/bin/urxvt &