Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Touchpad configuration on New xserver with evdev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
sipingal
n00b
n00b


Joined: 12 May 2008
Posts: 62
Location: China

PostPosted: Wed Nov 03, 2010 12:04 am    Post subject: Touchpad configuration on New xserver with evdev Reply with quote

Precondition
1. >=xorg-server-1.8

2. =x11-drivers/xf86-input-synaptics-1.3.0 <x11-drivers/xf86-input-synaptics-1.3.0(not tested)

3. hal removed, udev enabled

4. setting in make.conf
if INPUT_DEVICES="evdev", need emerge xf86-input-synaptics manually.
if INPUT_DEVICES="evdev synaptics", the xf86-input-synaptics will be installed by dependency(x11-base/xorg-drivers).

5. only tested in Gnome desktop environment

Configuration
1. fix gnome configuration(thanks TryA, details please see: https://bbs.archlinux.org/viewtopic.php?id=103218)
Code:
$ gconftool-2 --type boolean --set /apps/gnome_settings_daemon/plugins/mouse/active false


cut from https://bbs.archlinux.org/viewtopic.php?id=103218
Quote:
The thing is, since 2.6.35, the touchpad is now properly recognized as a Synaptics-type touchpad. When the Synaptics X driver is loaded, GNOME takes control of the touchpad and apply its own settings, bypassing Xorg configuration (an awkward move since the user expects his touchpad to behave as xorg.conf describes it).

So, you have two solutions :

tell GNOME you don't want it to screw with your touchpad (and your mouses in general):
gconftool-2 --type boolean --set /apps/gnome_settings_daemon/plugins/mouse/active false

and restart X

configure your touchpad directly with GNOME (System->Preferences->Mouse->Touchpad), but there are far less options...


2. modify the touchpad section in /usr/share/X11/xorg.conf.d/10-evdev.conf
Code:
Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "synaptics"
        Option "SendCoreEvents" "true"
        Option "Protocol" "auto-dev"
        #Option "TouchpadOff" "1" 
        #Option "HorizScrollDelta" "0"
        Option "RightEdge"        "5500"
        Option "BottomEdge"       "4500"
        Option "RTCornerButton"   "0"
        Option "RBCornerButton"   "0"
        Option "SHMConfig"         "on"
        Option "AllowMouseOpenFail" "true"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "2"
        Option "MaxTapMove" "2000"
        Option "VertEdgeScroll" "true"
        Option "VertTwoFingerScroll" "true"
        Option "HorizTwoFingerScroll" "true"
        Option "CircularScrolling" "true"
EndSection


3. comment out all lines in /usr/share/X11/xorg.conf.d/50-synaptics.conf

4. restart xserver to apply the changes.

Enjoy your touchpad trip:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum