TuxPPC
TuxPPC
home   |   submit: news, guide,   |   volunteer   |     |  


Sponsored by
Sponsored by PowerMax.com

Buy iMac


News Editions

About iMac

About Linux

Getting Started

Getting Help

User Resources

Advertisement

Distributions

Software Picks






Search

 

Links
  iMacLinux Edition Monday, 24 March 2003  



Posted by on Sunday September 10th, 2000 06:08:21 PM
Configuring PowerPC Linux to emulate (using you keyboard) a three button mouse, on a one button standard Mac mouse is very easy (and well documented).


Note:

If you plan to use X11 for extended periods of time, it is highly recommended you get a two button mouse. It will make using Linux and X11 much easier, as the right mouse button is used extensively in Linux. Plus, you can get a good mouse for about 20 bucks, in places like your local Staples or CompUSA. They are not as nice as the Apple Pro Optical Mouse, but they are better for using Linux with (you can hook this mouse up to any free USB port you have, so it means you won't have to forfit the Pro Mouse).

If you have an Old-World (Beige) PowerMac, then you should get an ADB two button mouse like the $20 MacAlley 2 Button Mouse, or the more expensive $50 Kensignton Orbit Trackball. Both work very well with PowerPC Linux.

If you have an New-World (Colorful) PowerMac, then you should get an USB two button mouse like the Logitech Wheel USB Mouse or the Kensignton USB Scroll Mouse-in-A-Box.

Mouse Emulation on New-World (Colorful) Macs

On all New-World Macs, the right click is automatically mapped to the Num. Lock (for Middle Click) and = (for Right Click) by Linux.

Note: This procedure works for before Xpmac and XFree86 users.

Mouse Emulation on Old-World (Beige) Macs

Old-World Biege PowerMacs, use ADB for Mouse and Keyboard. Linux doesn't automatically map a key to right and left mouse button.

Do this by using these kernel arguments: adbmouse=1,103,111

This makes F11 become the middle click, and F12 the right click.

Place that kernel argument in /etc/quik.conf as:

append="adbmouse=1,103,111"

BootX users should put adbmouse=1,103,111 in the More Kernel Arguments box in BootX.

Note: This procedure works for before Xpmac and XFree86 users.

Read More

If this wasn't enough info for you, see:

  • LinuxPPC 2000 User Manual
  • Yellowdog Linux Champion Server 1.2 Manual (Appendix)
Search for imac

The Fine Print: The following comments are owned by whoever posted them.
(Reply)

by pik on Saturday September 28th, 2002 01:28:23 AM
Good info, but how can one send middle- and right-click events to gpm when at the console (ie, not running X)?

  Legal and Privacy Notices Copyright © 2001