A collection of random stuff to use linux on an ibook.
Gnome Specific issues
-
Gnome ignores .Xmodmap, workaround is make it a startup command in the gnome session settings
- no entry available to set emacs keys:
have to set it directly in the gconf editor
/desktop/gnome/interface/gtk_key_theme to Emacs
- middle mouse button uses the opposite buffer from the cut/paste buffer
Make the Apple key Alt
xmodmap -e "keycode 115 = Meta_L"
xmodmap -e "remove mod4 = Meta_L"
xmodmap -e "remove shift = Meta_L"
xmodmap -e "add mod1 = Meta_L"
or put
keycode 115 = Meta_L
remove mod4 = Meta_L
remove shift = Meta_L
add mod1 = Meta_L
in .Xmodmap
Make the special laptop buttons work
pbuttonsd
Mapping more mouse buttons:
# in /etc/sysctl.conf (sysctl -p /etc/sysctl.conf to reload)
# 87 is f12 8 f11
# 97 is fn-ctrl
# 100 fn-alt
dev.mac_hid.mouse_button_emulation = 1
dev.mac_hid.mouse_button2_keycode = 100
dev.mac_hid.mouse_button3_keycode = 97