Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Im trying to find how to something like :

Control+z="<" Control+x=">"

Is this possible? my keyboard doesnt have the ISO missing key that in Portuguese matches the <> key.

the keycode for <> key is 94, being that without shift is <(less) and with shift pressed is >(greater)

the keycode for control left is 37, Control_L the keycode for z is 52 and for x is 53.

How can i do this using xmodmap:

xmodmap -e "keycode 37 + keycode 52 = less" xmodmap -e "keycode 37 + keycode 53 = greater"

share|improve this question

I suggest you use xmacro instead, it seemed to work in this similar question:

How to create a unicode combination of keys by pressing one key (Simplify unicode adding)

share|improve this answer

Your Answer


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

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