Difference between revisions of "User:Serge"

From FreekiWiki
Jump to navigation Jump to search
Line 19: Line 19:
 
===Enabling keyboard keys as mouse buttons===
 
===Enabling keyboard keys as mouse buttons===
 
Most Mac mice only have one button, which makes it difficult to use the middle- and right-click functions built into most window managers.  Fortunately, though, we can make unused keys on the keyboard act as the middle and right buttons of a mouse by adding the following to '''/etc/sysctl.conf''':
 
Most Mac mice only have one button, which makes it difficult to use the middle- and right-click functions built into most window managers.  Fortunately, though, we can make unused keys on the keyboard act as the middle and right buttons of a mouse by adding the following to '''/etc/sysctl.conf''':
 +
# 3-button mouse emulation
 +
# turn on emulation
 +
/dev/mac_hid/mouse_button_emulation = 1
 +
# Send middle mouse button signal with the F11 key
 +
/dev/mac_hid/mouse_button2_keycode = 87
 +
# Send right mouse button signal with the F12 key
 +
/dev/mac_hid/mouse_button3_keycode = 88
 +
# For different keys, use showkey to tell you what the code is.

Revision as of 16:18, 1 September 2010

Serge is a fairweather believer in supersonic bionic robot voodoo power. However, he was not born on Jupiter and is therefore unable to travel via fax machine.

Installing Debian 6.0 a1 on PPC machines

Enabling management of wired network by Network Manager

Network Manager is not set to manage the wired network by default. It must be enabled manually. To do so, edit /etc/NetworkManager/NetworkManager.conf from:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

to:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

Enabling keyboard keys as mouse buttons

Most Mac mice only have one button, which makes it difficult to use the middle- and right-click functions built into most window managers. Fortunately, though, we can make unused keys on the keyboard act as the middle and right buttons of a mouse by adding the following to /etc/sysctl.conf:

# 3-button mouse emulation
# turn on emulation
/dev/mac_hid/mouse_button_emulation = 1
# Send middle mouse button signal with the F11 key
/dev/mac_hid/mouse_button2_keycode = 87
# Send right mouse button signal with the F12 key
/dev/mac_hid/mouse_button3_keycode = 88
# For different keys, use showkey to tell you what the code is.