Comment 8 for bug 373260

Revision history for this message
gedge (justin-gedge) wrote : Re: ~/.Xmodmap does not get loaded

I've seen this issue as well. I've just installed kubuntu 9.04 [previously running kubuntu 7.10]. The test case I have may be a little easier to run. I use .Xmodmap to swap the CAPS and CTRL keys to resemble a Sun keyboard. My .Xmodmap file follows:

<---- [.Xmodmap] ---->
remove Lock = Caps_Lock
remove Control = Control_L
keysym Caps_Lock = Control_L
keysym Control_L = Caps_Lock
add Lock = Caps_Lock
add Control = Control_L
</---- [.Xmodmap] ---->

If you put this file in your home account- logout- then back in- your CAPS-LCK and LEFT-CTRL keys should be swapped. The caps lock light on your keyboard should now be toggled with the CTRL key.