Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.