1

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"

  • I was trying to map my "/" to "~" and "shift+/" to "?", but xmodmap -e "keycode 50 + keycode 61 = question" just remaped the left shift to "?", but this worked: xmodmap -e "keycode 61 = asciitilde question", askubuntu.com/a/855674/46437 – Aquarius Power Nov 3 '17 at 22:25
0

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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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