You are not logged in.
Ever since I found out about the compose key, which makes characters like ß, þ, µ and so on easily accessible, I've always missed en-dash (i.e. –). I would like to remap the key combination "compose -" to en-dash. Currently, it produces weird dots ̣̣̣̣ that I never use.
How could I accomplish this task? I'm using Gnome 3.12 if that matters.
Last edited by Grima (2014-05-11 09:18:49)
Offline
You should be able to do this using Xmodmap I reckon.
Burninate!
Offline
The complete list of keysym names is in the header file /usr/include/X11/keysymdef.h
The keysym name for the en-dash is "endash". Take a look at your current configuration with xmodmap -pke and modify the relevant line to use it as input of xmodmap -e, e.g.
xmodmap -e "keycode 61 = minus underscore minus underscore endash dead_abovedot dead_belowdot dead_abovedot"
Offline
Working great, guys. Thanks a lot!
Offline