LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2011, 02:00 PM   #1
theif519
Member
 
Registered: Mar 2011
Location: Philadelphia, PA
Distribution: Kubuntu 12.10
Posts: 255

Rep: Reputation: 4
How to disable a feature in a driver or disable a certain driver all together?


For instance, the one thing I hated more than anything, was the touch-pad on here, and I mean whenever you touched it it counted as a mouse click. I always hated it and in Windows I found a way to disable it with disabling the entire mouse pad, how do I do the same in Ubuntu? In every other distribution I didn't have to worry about it, but I suppose that I'm using the proprietary drivers or something.


Anyway, TL;DR: How do I disable a touch pad feature
 
Old 07-04-2011, 02:17 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Use your xorg configuration files. For example, for my Synaptics touchpad I have the following file, named 50-synaptics.conf, in the folder /etc/X11/xorg.conf.d
Code:
# Use "synclient -l" to see all available options
# Use "man synaptics" for details about what the options do
#
Section "InputClass"
	Identifier "touchpad"
	Driver "synaptics"
	MatchDevicePath "/dev/input/event*"
	MatchIsTouchpad "on"
	Option "TapButton1" "1"
	Option "TapButton2" "0"
	Option "TapButton3" "0"
	Option "VertEdgeScroll" "1"
	Option "HorizEdgeScroll" "1"
	Option "MinSpeed" "1.1"
	Option "MaxSpeed" "1.9"
EndSection
As you can see I have disabled the middle and right mouseclick with the TapButton options. For the single click you have to use TapButton1, just set the option to 0. This way the touchpad will work normal, but just don't click anymore.
For more options that can be used in that file have a look at
Code:
synclient -l
.
Remember, this all is for Synaptics touchpads, I don't know how to configure other touchpads.
 
Old 07-04-2011, 04:53 PM   #3
theif519
Member
 
Registered: Mar 2011
Location: Philadelphia, PA
Distribution: Kubuntu 12.10
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by TobiSGD View Post
Use your xorg configuration files. For example, for my Synaptics touchpad I have the following file, named 50-synaptics.conf, in the folder /etc/X11/xorg.conf.d
Code:
# Use "synclient -l" to see all available options
# Use "man synaptics" for details about what the options do
#
Section "InputClass"
	Identifier "touchpad"
	Driver "synaptics"
	MatchDevicePath "/dev/input/event*"
	MatchIsTouchpad "on"
	Option "TapButton1" "1"
	Option "TapButton2" "0"
	Option "TapButton3" "0"
	Option "VertEdgeScroll" "1"
	Option "HorizEdgeScroll" "1"
	Option "MinSpeed" "1.1"
	Option "MaxSpeed" "1.9"
EndSection
As you can see I have disabled the middle and right mouseclick with the TapButton options. For the single click you have to use TapButton1, just set the option to 0. This way the touchpad will work normal, but just don't click anymore.
For more options that can be used in that file have a look at
Code:
synclient -l
.
Remember, this all is for Synaptics touchpads, I don't know how to configure other touchpads.
[theif519@theif519-Aspire-5520 ~]$ nano /etc/X11/xorg.conf
[theif519@theif519-Aspire-5520 ~]$ cd /etc/X11
[theif519@theif519-Aspire-5520 X11]$ ls
app-defaults rgb.txt xorg.conf Xsession
cursors X Xreset Xsession.d
default-display-manager xinit Xreset.d Xsession.options
fonts xkb Xresources Xwrapper.config
[theif519@theif519-Aspire-5520 X11]$

I don't have that configuration file. If it means anything, I'm using Ubuntu 10.10 on this laptop *For now*


Code:
[theif519@theif519-Aspire-5520 X11]$ synclient -l
Parameter settings:
    LeftEdge                = 153
    RightEdge               = 870
    TopEdge                 = 115
    BottomEdge              = 652
    FingerLow               = 12
    FingerHigh              = 14
    FingerPress             = 127
    MaxTapTime              = 180
    MaxTapMove              = 56
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 0
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 139
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 25
    HorizScrollDelta        = 25
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 0
    HorizTwoFingerScroll    = 0
    MinSpeed                = 0.4
    MaxSpeed                = 0.7
    AccelFactor             = 0.0391236
    TrackstickSpeed         = 40
    EdgeMotionMinZ          = 14
    EdgeMotionMaxZ          = 79
    EdgeMotionMinSpeed      = 1
    EdgeMotionMaxSpeed      = 102
    EdgeMotionUseAlways     = 0
    UpDownScrolling         = 1
    LeftRightScrolling      = 1
    UpDownScrollRepeat      = 1
    LeftRightScrollRepeat   = 1
    ScrollButtonRepeat      = 100
    TouchpadOff             = 0
    GuestMouseOff           = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 2
    RBCornerButton          = 3
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 2
    TapButton3              = 3
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 2
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 99
    CoastingSpeed           = 0
    PressureMotionMinZ      = 14
    PressureMotionMaxZ      = 79
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    JumpyCursorThreshold    = 0
[theif519@theif519-Aspire-5520 X11]$
How do I edit the file? I can't find the first file you suggested.

Last edited by theif519; 07-04-2011 at 04:56 PM.
 
Old 07-04-2011, 05:03 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
The file is not there by default. Either you copy that section to your existing /etc/X11/xorg.conf or you create the folder /etc/X11/xorg.conf.d and then create that file in it.
Both solutions should work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable the default USB driver and replace it with new one bsat Linux - Software 3 02-02-2009 05:07 PM
Disable loading aix7xxx driver skydiverscott Linux - Software 10 04-28-2008 07:48 AM
Disable device driver at startup math_1048 Red Hat 2 04-22-2007 10:43 AM
is it possible to disable specific driver which is rezzie Linux - Newbie 1 09-13-2005 11:17 AM
Radeon driver - disable 3d acceleration? solarflare Linux - Hardware 0 08-07-2005 03:42 PM


All times are GMT -5. The time now is 02:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration