Swap Alt and Windows keys with xmodmap?
The problem: I have a Mac keyboard where the Alt/Win (i.e. Option/Command) keys are inverted compared to a regular PC keyboard, and I’d like to swap them. The answer: [codesyntax lang=”bash”] # clear all options setxkbmap -model “pc105” -layout “us,se” -option “” # set the Apple keyboard setxkbmap -rules “evdev” -model “pc105” -layout “us,se” -option … Continue reading Swap Alt and Windows keys with xmodmap?