image ResEx Logo
ResExcellence www : Powered by Google
Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets


Files are in Stuffit 5 or greater format.
Free download.

Tell us about a bad link.

Thank You!


Running 18 days
without a restart.

Setting Mouse Button Emulation in YDL Linux by Michael Coyle

Since the Apple computers ship with a single button mouse, emulation of the second and third buttons is necessary under PPC/Linux. The default install of Yellow Dog Linux 2.0 and 2.1 assign the buttons to F11 and F12. This may work well for you, but if you're left handed like me, the upper right corner of the keyboard is a little awkward. This little tutorial will allow you to change the two keys for mouse button emulation to just about anything.

The settings for emulation are stored in the text file: /etc/sysconfig/mouse. My modified version is listed below:

# Mouse Setup

TYPE=adb
DESC="Apple Desktop Bus (ADB)"
GPM=imps2
X11=IMPS/2
DEV=/dev/input/mice
EMULATION=yes
TRACKPAD_OPT=notap

# fn-ctrl = button 2
# fn-option = button 3

EMU_BUT2=97
EMU_BUT3=100

For my convenience, the mouse buttons have been emulated in the lower-left corner of the keyboard. But how did I know that 97 equaled fn-ctrl and 100 equaled fn-option?

Use a terminal program called 'showkey'. As you hit any key, it's keycode is displayed , It even provides the code for a key is a modifier is pushed as in my example, fn-ctrl.

After learning the codes of your preferred keys, enter the values into /etc/sysconfig/mouse and reboot the computer to enjoy your new emulated mouse buttons!

Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets

Maintained by the Staff of ResExcellence. This entire site ©1997-2006 ResExcellence
Privacy Statement? Sure we gotta Privacy Statement. [an error occurred while processing this directive]