I've remapped CapsLock key to work like this:
CapsLock + J = Left arrow key
CapsLock + K = Down arrow key
etc.

I've used xmodmap (as explained here Mapping Super+hjkl to arrow keys under X).

The problem is that I can't seem to be able to make following key combinations work:
Expected: CapsLock + Shift + J = Shift + Left arrow key
Actual: CapsLock + Shift + J = does nothing.
etc.

Do you have any ideas how to make it work? Thanks.

link|improve this question
feedback

2 Answers

Your problem may be that capslock and shift are nearly the same in your keyboard hardware, it may be that your capslock key just permanently triggers the shift key.

link|improve this answer
You could probably check this by pressing Shift + J/ Shift + K, and seeing if they trigger your remapped keys Caps Lock key functions. – Jaymz May 17 '11 at 8:11
Shift + J / Shift + K is not affected by my remapping. – Radek Vařbuchta May 24 '11 at 8:54
feedback

Not a direct answer, but the best way to approach this would be to see what events are being fired when you press the combinations you're interested in. To do this, install xev and try out the various combinations.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.