You are not logged in.
I just wanted to experiment a bit with key bindings and did
xmodmap -e "keycode 35 = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15"
to rebind the "plus" key.
However, it doesn't work for CTRL shiftkey specifically. When pressing CTRL and plus, it produces "1", ie same as if just pressing plus w/o the CTRL modifier.
I tried some other keys instead of plus and it's always the same: CTRL and key are same as just the key.
SHIFT and ALT work fine.
What am I missing? How can I make CTRL and a key produce a different result than just the key itself?
SOLUTION:
CTRL is not a shift key, somehow D: So can't remap normal L_CTRL+key combos to produce different results.
Last edited by millus (2024-01-13 21:01:36)
Offline
Nothing.
Unlike shift and altgr (ISO_Level3_Shift, that's not the "Alt" modifier!), ctrl isn't a level shift.
You can define an ISO_Level5_Shift key (ctrl is a stupid idea if you've only one of them, you'll still need the state modifier for copy and pasting
) and use that.
setxbkmap -option lv5:rctrl_switchwill turn the right ctrl into ISO_Level5_Shift
Offline
Oh thanks, didn't know CTRL was not actually a shift key! It's like, EVERYTHING is a frigging shiftkey usually =_=.
Edit: Feels like I'm missing some fundamental intrinsics of this whole keycode system there o_o
Last edited by millus (2024-01-13 21:00:09)
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline