beissemj
2007-01-09, 02:14 AM CST
First of all, since Xorg has become modularized (v7.0) and FC6 uses v7.1.1 the way of handing input devices has change a bit. For mice, you no longer need to do xmodmap or other strange things to get your side button on a mouse to work. Things can pretty well be handled w/in the xorg.conf
That being said, getting Xorg to play nice with a laptop's touchpad AND an external mouse can be annoying. If you don't tell him what to do he isn't very good at sharing and that can lead to bad things like: the touchpad works great, but the external mouse's side buttons don't work, or those nice side buttons work but the touchpad has limitied functionality. This will solve all your problems.
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "Synaptics" "SendCoreEvents"
Option "AllowMouseOpenFail" "yes"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
. . .
Option "SHMConfig" "true"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Name" "Logitech MX400 Optical Mouse"
Option "Resolution" "1200"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "9"
Option "ButtonMapping" "1 2 3 6 7 8 9"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
This also lets you plug/unplug the mouse as needed without losing functionality.
That being said, getting Xorg to play nice with a laptop's touchpad AND an external mouse can be annoying. If you don't tell him what to do he isn't very good at sharing and that can lead to bad things like: the touchpad works great, but the external mouse's side buttons don't work, or those nice side buttons work but the touchpad has limitied functionality. This will solve all your problems.
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "Synaptics" "SendCoreEvents"
Option "AllowMouseOpenFail" "yes"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
. . .
Option "SHMConfig" "true"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Name" "Logitech MX400 Optical Mouse"
Option "Resolution" "1200"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "9"
Option "ButtonMapping" "1 2 3 6 7 8 9"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
This also lets you plug/unplug the mouse as needed without losing functionality.