Discussion:
blackboxwm right-click on ppc
(too old to reply)
danm
2005-11-14 23:58:37 UTC
Permalink
I,ve been using Linux for years on x86, but just got a mac powerbook
titanium G4. Still in the early stages of messing around. I'd like to
use blackboxwm, and you *need* to right-click to do anything! How can I
get a right-click?
Keith Keller
2005-11-15 00:14:27 UTC
Permalink
Post by danm
I,ve been using Linux for years on x86, but just got a mac powerbook
titanium G4. Still in the early stages of messing around. I'd like to
use blackboxwm, and you *need* to right-click to do anything! How can I
get a right-click?
Google for "mouse button emulation", maybe sticking in "powerbook" or
the name of your distro. This will set emulation at a lower level than
X, but it should work fine. (I never had any problems with it.)

--keith
--
kkeller-***@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information
Joost Kremers
2005-11-15 00:21:13 UTC
Permalink
Post by danm
I,ve been using Linux for years on x86, but just got a mac powerbook
titanium G4. Still in the early stages of messing around. I'd like to
use blackboxwm, and you *need* to right-click to do anything! How can I
get a right-click?
set CONFIG_MAC_EMUMOUSEBTN=y (under Device Drivers | Macintosh
Device Drivers) in your kernel config. that way, you can pick any key on
the keyboard to emulate a right-click. you can also select a key to emulate
a middle-click.

i assume that whatever distro you installed, it will already have this
kernel option enabled. now, i put the following in my rc.local:

if [ -e /proc/sys/dev/mac_hid/mouse_button_emulation ] ; then
echo 127 > /proc/sys/dev/mac_hid/mouse_button2_keycode
echo 96 > /proc/sys/dev/mac_hid/mouse_button3_keycode
echo 1 > /proc/sys/dev/mac_hid/mouse_button_emulation
fi

the third echo is necessary to enable emulation. the other two are keycodes
that you can find with showkeys from a linux virtual terminal (not within
X!)

HTH
--
Joost Kremers ***@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9
danm
2005-11-15 19:24:23 UTC
Permalink
Thanks for the info Keith and Joost. I see you guys all the time on
aols. Nice surprise to see you here too. (Naturally I chose Slackintosh
for my first ppc distro.)
Dan
Joost Kremers
2005-11-16 08:49:20 UTC
Permalink
Post by danm
(Naturally I chose Slackintosh
for my first ppc distro.)
naturally. ;-) especially with the great job the slackintosh guys are
doing.
--
Joost Kremers ***@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9
Loading...