How can I map left Ctrl to behave as hyper (left hyper) using xkb?
Look at this in keycodes/evdev
:
// Fake keycodes for virtual keys
<LVL3> = 92;
<MDSW> = 203;
<ALT> = 204;
<META> = 205;
<SUPR> = 206;
<HYPR> = 37;
Why these are fake? I set <HYPR>
to 37 to do the mapping but now left Ctrl keysym (using xev
) is keysym 0x0, NoSymbol
. I guess it's related to the comment above these lines. Any ideas?
(I can do it with xmodmap
, but I want it with xkb
.)
hyper
, notsuper
? AFAIKhyper
has no functionality in Ubuntu. You can read this answer if you aren't sure which key you want to map. – danzel May 29 '18 at 13:22hyper
notsuper
, shift, control, alt and super aren't enough for my usecase. I need another modifier to achieve what I need. I'm able to get what I want withxmodmap
but it's really unstable and I have this feeling that it even consumes cpu (when I disable my xmodmap modifications gnome works much smoother.) so I wanna do it with xkb. I have other modifications in xkb layer and it works stable. – Sassan May 29 '18 at 13:51