I'm running an up to date intrepid on a powerbook5,2.
I was running this machine with hardy just fine. F11 and F12 mapped to
middle and right buttons.
After upgrading to intrepid those F keys no longer work.
/etc/sysctl.d/10-arch-specific.conf contains:
# PowerPC:
# Emulate the middle mouse button with F11 and the right with F12.
dev.mac_hid.mouse_button_emulation = 1
dev.mac_hid.mouse_button2_keycode = 87
dev.mac_hid.mouse_button3_keycode = 88
In XEV, the F11 and F12 keys (with or without Fn being pressed) return:
KeyPress event, serial 30, synthetic NO, window 0x1400001,
root 0x67, subw 0x0, time 1383298, (134,56), root:(685,404),
state 0x0, keycode 95 (keysym 0xffc8, F11), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1400001,
root 0x67, subw 0x0, time 1383347, (134,56), root:(685,404),
state 0x0, keycode 95 (keysym 0xffc8, F11), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x1400001,
root 0x67, subw 0x0, time 1392454, (134,56), root:(685,404),
state 0x0, keycode 96 (keysym 0xffc9, F12), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1400001,
root 0x67, subw 0x0, time 1392504, (134,56), root:(685,404),
state 0x0, keycode 96 (keysym 0xffc9, F12), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
I tried using these keycodes (95 + 96) in 10-arch-specific.conf, but
still those keys don't map to button clicks.
Using sysctl directly also appears to make no difference:
sudo sysctl dev.mac_hid.mouse_button2_keycode=95
sudo sysctl dev.mac_hid.mouse_button3_keycode=96
My only guess is that the keycodes themselves are messed up. Or sysctl
is causing issues.
The XFCE config present when installing xubuntu-desktop on ubuntu is
utterly useless without, at least, the right click mapping. On this arch
this bug is of more than medium importance.
--
Bad mapping for Right-Click on PowerPC
https://bugs.launchpad.net/bugs/46378
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs