Ethan Benson wrote: > > On Thu, Apr 19, 2001 at 12:33:19AM +0200, Philipp von Weitershausen wrote: > > > I have this in a startup script to get the middle button on F11 and the > > > right one on F12 : > > > > > > echo 1 > /proc/sys/dev/mac_hid/mouse_button_emulation > > > echo 87 > /proc/sys/dev/mac_hid/mouse_button2_keycode > > > echo 88 > /proc/sys/dev/mac_hid/mouse_button3_keycode > > rather then adding a custom boot script its simpler to just add these > to /etc/sysctl.conf > > dev/mac_hid/mouse_button_emulation = 1 > dev/mac_hid/mouse_button2_keycode = 87 > dev/mac_hid/mouse_button3_keycode = 88 > > make sure you have an extra empty line at the end of /etc/sysctl.conf > so it doesn't bitch.
Cool, thanks. But looking at sysctl.conf(5) I think it should be dev.mac_hid.*, shouldn't it? Dunno why I though /etc/sysctl.conf was a RedHatism... -- Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer CS student, Free Software enthusiast \ XFree86 and DRI project member