0

Ive tried various xkb_options to swap the right AltGr key with the left Ctrl key, bot none of them worked. On my X11 setup, I've used a .Xmodmap file to redefine these keys like so:

! CTRL on ALTGR, ALTGR on CTRL
clear control
clear mod4
keycode 37 = ISO_Level3_Shift
keycode 108 = Control_R Control_R
add control = Control_L Control_R
add mod4 = Super_L Hyper_L

But on Wayland (Sway), I need to solve this with XKB.

1
  • what is the output of setxkbmap -query in terminal?
    – Andra
    May 21 at 17:08

0

Your Answer

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

Browse other questions tagged or ask your own question.