1. Home
  2. Computing & Technology
  3. Linux

Linux on the Road

From Authors, for About.com

12.17.10. Macintosh PowerBooks

PowerBooks have a trackpad and only one button, although you can plug in external multi-button USB mice. The usual thing is to map a couple of keys on the keyboard to the middle and right mouse buttons; your Linux distribution should come with instructions on how to configure this (it's not specific to laptops, as all Apple mice are single-button).

If you are using the Xpmac server, the default is option-1 and option-2, and you can change this by passing -middlekey <keycode> -rightkey <keycode> arguments to Xpmac , and -nooptionmouse if you don't want the option key to be needed.

If you are using XFree86, you pass adb_buttons=<middlekey> ,<rightkey> kernel arguments (no option is required). I use adb_buttons=58,55 to map the option and Apple/command keys (which are little-used in Linux) ; use e.g. xev to find out the keycode for a given key.


   Prev    Home    Next
   Numeric Keypad    Up    Advanced Power Management - APM

* License

* Linux on the Road Index

Explore Linux

More from About.com

  1. Home
  2. Computing & Technology
  3. Linux
  4. Linux Documentation
  5. Linux on the Road
  6. Linux on the Road - 12.17.10. Macintosh PowerBooks

©2008 About.com, a part of The New York Times Company.

All rights reserved.