You are not logged in.

#1 2021-03-28 04:40:17

lycoris
Member
Registered: 2021-03-28
Posts: 3

Switch Alt_L and Super_L Keys

I've read all the docs I could regarding this matter, and I could not get things to work, hence I am posting here as a last ditch effort.

I am trying to switch the Alt_L and Super_L keys. Running xmodmap on my config file, I've been able to do switch the keys, as I can verify on https://www.keyboardtester.com/

keycode 133 = Alt_L
keycode 64 = Super_L
clear mod1
clear mod4
add mod1 = Super_L
add mod4 = Alt_L

Although the keys are switched, when executing shortcuts, the shortcuts fail to execute. For example, to switch to desktop 2, I press Super_L + 2. With Super_L now on Alt_L, if I press the physical Alt_L + 2, then nothing happens. Same goes for pressing physical Super_L after switching, the Alt_L functionality does not work.

I was wondering how can I resolve this issue? Thank you.

Offline

#2 2021-03-28 07:26:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,546

Re: Switch Alt_L and Super_L Keys

What shortcut daemon and did you (re)start it after running xmodmap?

Also, real super or win? See

grep -i swap /usr/share/X11/xkb/rules/* 
man setxkbmap

and
https://wiki.archlinux.org/index.php/Xo … tion_files

Offline

Board footer

Powered by FluxBB