Hi all
I just started with Vector yesterday and I'm enjoying it so far. I'm using 5.8 Standard on a really old HP laptop.
I have installed the window manager, ratpoison, and it works well. ratpoison uses the 'ctrl' key a lot, so I like to map Caps-Lock to 'ctrl'. I have written an .Xmodmap in my home directory, and I can run it with "xmodmap .Xmodmap", and the mapping works. Rather than do this every time, I want to put the call to .Xmodmap in my xinitrc file. I have tried lots of variations of xinitrc.ratpoison but nothing works. This is the latest incarnation:
#!/bin/sh
xmodmap $HOME/.Xmodmap &
exec ratpoison
This is in /etc/X11/initrc/ along with the other xinitrc files. I have changed the permissions to make it executable.
Incidentally, the mapping works when I am in xfce...where I don't really want it!
Any ideas are most welcome!
Thanks,
Tom