Void's Forums
Void Main's Beautiful Site
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
View next topic
View previous topic
Post new topic   Reply to topic  Void's Forums Forum Index » Fedora/Red Hat
Author Message
Void Main
Site Admin
Site Admin


Joined: 08 Jan 2003
Posts: 5486
Location: Tuxville, USA

PostPosted: Sun Mar 14, 2004 11:46 pm Reply with quote Back to top

I currently have a Compaq Armada E500 laptop and a couple of Dell Latitude laptops all with Synaptics Touchpads. I used to use the tpconfig utility to turn off the tap mode (I can't stand tap mode). Since that utility can't be run while X is running (and while GPM is running) I had a service script that would execute tpconfig prior to starting X. It used to work very well but with FC1 it seems to only work sometimes.

I notice the driver/utility hasn't been updated in a couple of years so I decided to look for an alternative. Low and behold there is an X module specifically for this, designed for XFree v4.x. It works very well and actually allows you to control all of the options of the Synaptics touchpad. Another bonus is that the options can be manipulated while X is running, as well as have the defaults set in your /etc/X11/XF86Config file.

I have created an RPM for it and added it to my Fedora Repository. See the synaptics* RPMs. I could just let you read the included INSTALL file but it's pretty easy to set up so I'll just give you the basics. I installed the RPM ("apt-get install synaptics", not to be confused with "synaptic"). Then I modified my /etc/X11/XF86Config (always make a backup copy of this file before modifying). I commented out the first "InputDevice" mouse section containing (Mouse0) and added the Synaptics replacement:

Code:

Section "InputDevice"
  Driver        "synaptics"
  Identifier    "Mouse0"
  Option        "Device"        "/dev/psaux"
  Option        "Protocol"      "auto-dev"
  Option        "LeftEdge"      "1700"
  Option        "RightEdge"     "5300"
  Option        "TopEdge"       "1700"
  Option        "BottomEdge"    "4200"
  Option        "FingerLow"     "25"
  Option        "FingerHigh"    "30"
# Turn this sucker off!!!
#  Option        "MaxTapTime"    "180"
  Option        "MaxTapTime"    "0"
  Option        "MaxTapMove"    "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"      "0.06"
  Option        "MaxSpeed"      "0.12"
  Option        "AccelFactor" "0.0010"
  Option        "SHMConfig"     "on"
#  Option       "Repeater"      "/dev/ps2mouse"
EndSection


Notice I changed "MaxTapTime" default from 180 to 0 which in effect shuts off the "tap mode" (at least it seems to work for me). I got tired of accidentally selecting text by touching the pad. I prefer to have to press the buttons to select text. Refer to the /usr/share/doc/synaptics-0.12.5/INSTALL document if this doesn't work for you.

In addition to these defaults you can change the settings interactively with the included "synclient" command:

Code:

$ synclient
Usage: synclient [-m interval] [-h] [-l] [-?] [var1=value1 [var2=value2] ...]
  -m monitor changes to the touchpad state.
     interval specifies how often (in ms) to poll the touchpad state
  -h Show detected hardware properties
  -l List current user settings
  -? Show this help message
  var=value  Set user parameter 'var' to 'value'.


Code:

$ synclient -h
Hardware properties:
    Model Id     = 00165eb1
    Capabilities = 00804713
    Identity     = 00064715


Code:

$ synclient -l
Parameter settings:
    LeftEdge             = 1700
    RightEdge            = 5300
    TopEdge              = 1700
    BottomEdge           = 4200
    FingerLow            = 25
    FingerHigh           = 30
    MaxTapTime           = 0
    MaxTapMove           = 220
    EmulateMidButtonTime = 75
    VertScrollDelta      = 100
    HorizScrollDelta     = 100
    MinSpeed             = 0.06
    MaxSpeed             = 0.12
    AccelFactor          = 0.001
    EdgeMotionMinZ       = 30
    EdgeMotionMaxZ       = 160
    EdgeMotionMinSpeed   = 1
    EdgeMotionMaxSpeed   = 200
    EdgeMotionUseAlways  = 0
    UpDownScrolling      = 1
    TouchpadOff          = 0
    LockedDrags          = 0
    RTCornerButton       = 2
    RBCornerButton       = 3
    LTCornerButton       = 0
    LBCornerButton       = 0
    TapButton1           = 1
    TapButton2           = 2
    TapButton3           = 3
    CircularScrolling    = 0
    CircScrollDelta      = 0.1
    CircScrollTrigger    = 0


Code:

$ synclient MaxTapTime=180
$ synclient -l
Parameter settings:
    LeftEdge             = 1700
    RightEdge            = 5300
    TopEdge              = 1700
    BottomEdge           = 4200
    FingerLow            = 25
    FingerHigh           = 30
    MaxTapTime           = 180
    MaxTapMove           = 220
    EmulateMidButtonTime = 75
    VertScrollDelta      = 100
    HorizScrollDelta     = 100
    MinSpeed             = 0.06
    MaxSpeed             = 0.12
    AccelFactor          = 0.001
    EdgeMotionMinZ       = 30
    EdgeMotionMaxZ       = 160
    EdgeMotionMinSpeed   = 1
    EdgeMotionMaxSpeed   = 200
    EdgeMotionUseAlways  = 0
    UpDownScrolling      = 1
    TouchpadOff          = 0
    LockedDrags          = 0
    RTCornerButton       = 2
    RBCornerButton       = 3
    LTCornerButton       = 0
    LBCornerButton       = 0
    TapButton1           = 1
    TapButton2           = 2
    TapButton3           = 3
    CircularScrolling    = 0
    CircScrollDelta      = 0.1
    CircScrollTrigger    = 0


Have Fun!
View user's profile Send private message Visit poster's website
Calum
guru
guru


Joined: 10 Jan 2003
Posts: 1318
Location: Bonny Scotland

PostPosted: Fri Mar 19, 2004 5:15 pm Reply with quote Back to top

wow! cool! as you know i have a compaq laptop! sadly, i actually like the tapping thing, and am happy with the way it works already!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Void Main
Site Admin
Site Admin


Joined: 08 Jan 2003
Posts: 5486
Location: Tuxville, USA

PostPosted: Fri Mar 19, 2004 5:55 pm Reply with quote Back to top

With this module installed you can change the sensitivity of the tap mode if you want. It also provides virtual scrollbars on the right side and the bottom that works like a mouse wheel. You slide your finger on the right edge and it works just like as if you were moving the right scroll bar. Bottom edge for scrolling left and right (the mouse can be anywhere in the window to do this). Of course I don't like this either so I turn it off as well. :) You also can have virtual buttons by tapping on specific areas of the pad (and of course also something I don't want). :) I personally only want it to do cursor movement but if you like all that other stuff it gives you that ability.
View user's profile Send private message Visit poster's website
Doogee
administrator
administrator


Joined: 10 Jan 2003
Posts: 261

PostPosted: Sat Mar 20, 2004 11:23 pm Reply with quote Back to top

fly us a laptop over void.


i need a laptop Sad
View user's profile Send private message Send e-mail
Void Main
Site Admin
Site Admin


Joined: 08 Jan 2003
Posts: 5486
Location: Tuxville, USA

PostPosted: Sun Mar 21, 2004 7:30 am Reply with quote Back to top

I do have 2 Dell's that I don't use. One is a really old one that is a P100 and I have 2 500MB hard drives for it. One drive I have Debian SID and the other I think has Win98 or 95 on it. Only does 640x480 on the video. The other laptop is like a 300Mhz with like a 4GB drive and does 800x600. I have either RH9 or FC1 on it. Shipping is probably expensive though huh?
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic

View next topic
View previous topic
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


Powered by phpBB © 2001, 2002 phpBB Group :: Theme & Graphics by Daz
All times are GMT - 6 Hours