Map Capslock to Control on Wayland
4
votes
4
answers
6551
views
I've updated to Fedora 26 and now my Capslock key behaves strangely (or not at all). In Fedora 25 the xkb setting worked perfectly for both my Ctrl and Caps changes. I've selected "Caps as Ctrl" in Gnome Tweak Tools, but Caps just does nothing at all!
Using
xev
I get the following output for the caps key:
KeyRelease event, serial 36, synthetic NO, window 0x2600001,
root 0x273, subw 0x0, time 2293119, (164,-21), root:(271,94),
state 0x10, keycode 66 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
the bracket after keycode should contain LCtrl instead of NoSymbol. I've also tried deactivating and or activating Caps. As well as that I've tried to modify /usr/share/X11/xkb/keycodes/evdev
and use Caps = 37; which would make Caps similar to Left Control - but this as well has no effect whatsoever.
Please help me - since wayland I'm kinda lost here!
I've also changed Left Control and Alt by:
= 37; //64;
= 64; //37;
In the previously stated file -> this still works like a charm!
Asked by mike
(281 rep)
Jul 13, 2017, 08:46 AM
Last activity: Nov 13, 2022, 08:48 PM
Last activity: Nov 13, 2022, 08:48 PM