Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:… – Owen Feb 28 '13 at 7:04
FYI this is no longer an issue in ubuntu 14 and most likely related to env vars such as XMODIFIERS=@im=ibus – hbt Jul 28 '15 at 13:02

You must log in to answer this question.

Browse other questions tagged .