Saturday, June 16, 2007

Dell Precision M65 and xorg and synaptics

Out if the box the settings for the synaptics touchpad are horribly bad. Especially since this laptop has a native resolution of 1920x1200.

Thanks to this webpage it now works great!

This is the relevant section of my /etc/X11/xorg.conf:


Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "InputFashion" "Mouse"
Option "SendCoreEvents" "false"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
Option "RTCornerButton" "0"
Option "RBCornerButton" "0"
Option "TapButton1" "0"
Option "TapButton2" "0"
Option "TapButton3" "0"
Option "Buttons" "8"
Option "ZAxisMapping" "4 5 6 7"
Option "TopEdge" "100"
Option "BottomEdge" "670"
Option "LeftEdge" "100"
Option "RightEdge" "950"
Option "MaxSpeed" "2.0"
Option "MinSpeed" "0.5"
Option "AccelFactor" "0.05"
EndSection



This is great!

linux & logitec media keyboard Y-BN52

To make it work, set the following xmodmappings:


keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 236 = XF86Mail
keycode 130 = XF86HomePage
keycode 223 = XF86Sleep
keycode 161 = XF86Calculator
keycode 230 = XF86Favorites


E.g. add this to a file in your homedir and load it with xmodmap from your .xsession file.