You are not logged in.
Hi
I have a mac keyboard where the alt and cmd (super) key location has been swapped, both my super keys is besides the space key instad of the alt key.
I've used a program in windows to swap the keys making the super key work as an alt key and vice versa. How do i achieve the same thing in arch? I'm mostly running gnome but I would like to make it work even when I'm not.
Thanks
// Lasse
Offline
Hi
I have a mac keyboard where the alt and cmd (super) key location has been swapped, both my super keys is besides the space key instad of the alt key.
I've used a program in windows to swap the keys making the super key work as an alt key and vice versa. How do i achieve the same thing in arch? I'm mostly running gnome but I would like to make it work even when I'm not.
Thanks
// Lasse
Welcome to the forums.
You can use xmodmap. Search the web for something like "xmodmap swap super key". I can't give you exact details because I've never done this.
Offline
Thanks and thanks, I will look it up when I find myself some spare time.
Offline
I'm sure you've already done it with xmodmap by now, but another way it can be done is by by specifying the option directly in your xorg.conf like so…
Section "InputDevice"
Identifier "Keyboard0"
# ...
Option "XkbOptions" "altwin:swap_lalt_lwin"
# ...
EndSection
See /usr/share/X11/xkb/rules/base.lst for a complete list of options.
Offline
Yeah, I've already solved it using xmodmap, but this method seems a bit more clean.
I'll try it out when I come home to my beloved arch machine.
Offline