0

My super key swapped randomly with the alt key. For example, when I click super key nothing happens, but when I click alt, the shortcuts help pops up.To close a window I need to click super+f4. In keyboard settings, everything is configured correctly.

I've tried to add setxbkmap -option altwin:swap_alt_win to startup, and it works until i change windows with alt+tab. Can anyone help? It is very annoying.

0

You can try this

setxkbmap -option altwin:swap_lalt_lwin

See the difference? lalt = left alt, ralt = right alt. The same with lwin and rwin.

To restore default

setxkbmap -option
| improve this answer | |
  • It solved my problem but I still wonder why the keys swapped. Thanks! – Dawid Zmarzlik Jun 11 at 13:12
  • Honestly I do not know. I never experienced such behavior. – Sysadmin Jun 11 at 13:16

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.