Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've defined my keyboard mapping using xmodmap and it works beautifully with my browser and the rest of my software except java applications.

I tried switching the AWT_TOOLKIT to Mtoolkit instead but now instead of printing nothing, it is printing rectangles.

I would like to be able to use my keyboard shortcut in a Java application (ie Super_L+I for Up, Super_L+J for left etc.)

Please advise if you've encountered something similar.



PS: Super_L is the windows key

share|improve this question
experiencing the same problem... –  aioobe Mar 10 '11 at 12:06
I don't have a solution with xmodmap, but I did find an incredibly awkward and painful solution using xkb input files: superuser.com/questions/558598/… –  Owen Feb 28 '13 at 7:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.