Keyboard MB110 on Linux
So I got myself a new keyboard. It's an Apple MB110 (D/B variant). Works flawlessly in xorg after configuring it.
# Only if you're german
setxkbmap de
# Absolutely necessary
setxkbmap -option apple:badmap
# Yes, swap escape and caps lock
setxkbmap -option caps:swapescape
# Swapping the command and option keys was a little tricky:
# http://unix.stackexchange.com/questions/4485/reassign-ctl-and-alt-keys-xmodmap-error
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564327
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565279
# Put this into ~/.xsession-command and use it with xmodmap ~/.xsession-command
clear Mod1
clear Mod4
keycode 64 = Super_L
keycode 133 = Alt_L
keycode 134 = ISO_Level3_Shift
keycode 108 = Super_R
add Mod1 = Alt_L Alt_R
0 comments
Start a new thread