LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Disable touchpad "tap-to-click" (https://www.linuxquestions.org/questions/ubuntu-63/disable-touchpad-tap-to-click-692353/)

Dankles 12-22-2008 07:43 PM

Disable touchpad "tap-to-click"
 
I'm running ubuntu 8.10 on my eee pc 901 with all the hardware working correctly.

My problem is that I can't figure out how to disable the "tap-to-click" feature of the touchpad. I understand that gsynaptic has a utility to do it, but every time i try to launch it I get:
Code:

GSynaptics couldn't initialize.
You have to set 'SHMConfig' 'true' in xorg.conf or XF86Config to use GSynaptics

And my xorg.conf file looks like this:
Code:

Section "Device"
        Identifier        "Configured Video Device"
EndSection

Section "Monitor"
        Identifier        "Configured Monitor"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Monitor                "Configured Monitor"
        Device                "Configured Video Device"
EndSection

So I don't understand how I can edit an empty 'xorg.conf' file.

My graphics are running fine, "glxgears" gives me 500fps... so what can I do?

tredegar 12-23-2008 04:18 AM

Try adding this code to xorg.conf
Code:

Section "InputDevice"
    Identifier    "Synaptics Touchpad"
    Driver        "synaptics"
    Option        "SendCoreEvents" "true"
    Option        "Device" "/dev/psaux"
    Option        "Protocol" "auto-dev"
    Option        "MaxTapTime" "0"
EndSection

Then restart X (logout, login again).

IndyGunFreak 12-23-2008 05:05 AM

Can you go to System/Admin/Mouse/Touchpad, and uncheck the "Enable mouse clicks with touchpad" box?

IGF

Dankles 12-23-2008 01:04 PM

The xorg.conf code you suggested doesn't seem to work... dunno why... and I don't have a "touchpad" tab in my mouse config tool. I do have gsynaptics installed but it wont launch like I stated earlier

IndyGunFreak 12-23-2008 06:32 PM

Quote:

Originally Posted by Dankles (Post 3385272)
The xorg.conf code you suggested doesn't seem to work... dunno why... and I don't have a "touchpad" tab in my mouse config tool. I do have gsynaptics installed but it wont launch like I stated earlier

Are you sure you're using Ubuntu 8.10? That feature was added in 8.10, and was not present in 8.04. I have 8.10 on two laptops, and both have that option in the touchpad tab (one of which is an Aspire One)... I don't have my eee anymore, or I'd check if it was there.

IGF

Dankles 12-24-2008 11:36 AM

Quote:

Originally Posted by IndyGunFreak (Post 3385553)
Are you sure you're using Ubuntu 8.10? That feature was added in 8.10, and was not present in 8.04. I have 8.10 on two laptops, and both have that option in the touchpad tab (one of which is an Aspire One)... I don't have my eee anymore, or I'd check if it was there.

IGF

Yes I have the latest version of ubuntu (v 8.10) with all the updates.

tredegar 12-24-2008 12:04 PM

Quote:

So I don't understand how I can edit an empty 'xorg.conf' file.
[SNIP]
The xorg.conf code you suggested doesn't seem to work
The trouble is that X is getting to be way too "clever" and thinks it can organise everything
itself, and therefore very little (in your case nothing, it seems) needs to be explicitly
defined in xorg.conf

However, if you make entries there, they are supposed to be read and acted upon.

So here's my xorg.conf from my eee701 running kubuntu 8.04.1
It should work just fine in 8.10

Code:

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "gb"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
EndSection

Section "InputDevice"
        Identifier        "Synaptics Touchpad"
        Driver                "synaptics"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "auto-dev"
        Option                "MaxTapTime"                "0"

EndSection

Section "Device"
        Identifier        "Configured Video Device"
EndSection

Section "Monitor"
        Identifier        "Configured Monitor"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Monitor                "Configured Monitor"
        Device                "Configured Video Device"
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Synaptics Touchpad"
EndSection

You'll probably not want the gb keyboard, but everything else should be OK. (Just omit that line, or substitute us)
You'll see that synaptics features in several places, so that's why your first try didn't work.
Make a backup of your xorg.conf then replace it with mine, logout, login, and wretched touch-to-tap should be gone.

Dankles 12-24-2008 02:25 PM

Quote:

Originally Posted by tredegar (Post 3386229)
The trouble is that X is getting to be way too "clever" and thinks it can organise everything
itself, and therefore very little (in your case nothing, it seems) needs to be explicitly
defined in xorg.conf

However, if you make entries there, they are supposed to be read and acted upon.

So here's my xorg.conf from my eee701 running kubuntu 8.04.1
It should work just fine in 8.10

Code:

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "gb"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
EndSection

Section "InputDevice"
        Identifier        "Synaptics Touchpad"
        Driver                "synaptics"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "auto-dev"
        Option                "MaxTapTime"                "0"

EndSection

Section "Device"
        Identifier        "Configured Video Device"
EndSection

Section "Monitor"
        Identifier        "Configured Monitor"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Monitor                "Configured Monitor"
        Device                "Configured Video Device"
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Synaptics Touchpad"
EndSection

You'll probably not want the gb keyboard, but everything else should be OK. (Just omit that line, or substitute us)
You'll see that synaptics features in several places, so that's why your first try didn't work.
Make a backup of your xorg.conf then replace it with mine, logout, login, and wretched touch-to-tap should be gone.

ok i just tried this... but no luck... nothing seems to change when I change my xorg.conf to what you have.
So i decided to run:
Code:

Xorg -configure
then after some tweeking it looked like this:
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath  "/usr/lib/xorg/modules"
        FontPath    "/usr/share/fonts/X11/misc"
        FontPath    "/usr/share/fonts/X11/cyrillic"
        FontPath    "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/Type1"
        FontPath    "/usr/share/fonts/X11/100dpi"
        FontPath    "/usr/share/fonts/X11/75dpi"
        FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dri"
        Load  "dbe"
        Load  "glx"
        Load  "xtrap"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "synaptics"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/psaux"
        Option            "SHMConfig"        "true"
        Option            Option                "MaxTapTime"                "0"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        #DisplaySize          190  110        # mm
        Identifier  "Monitor0"
        VendorName  "AUO"
        ModelName    "1020"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "NoAccel"                    # [<bool>]
        #Option    "SWcursor"                  # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "CacheLines"                # <i>
        #Option    "Dac6Bit"                    # [<bool>]
        #Option    "DRI"                        # [<bool>]
        #Option    "NoDDC"                      # [<bool>]
        #Option    "ShowCache"                  # [<bool>]
        #Option    "XvMCSurfaces"              # <i>
        #Option    "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName  "Mobile 945GME Express Integrated Graphics Controller"
        BusID      "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

but neither adding the SHMConfig option or your tweek seemed to change anything...
I'm lost!!!

tredegar 12-25-2008 06:02 AM

QUOTE]then after some tweeking it looked like this:[/QUOTE]

It's wrong:
Code:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "synaptics"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/psaux"
        Option            "SHMConfig"        "true"
        Option            Option                "MaxTapTime"                "0"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Too many options on that line

Christastrophe 02-24-2009 11:56 AM

Im having the same issues, where i dont see the listing for input devices,...for anything, nevermind synaptics touchpad. I've been at this for a couple days now., and im becoming very frustrated, im uber newb to linux/ubuntu. i run ubuntu 8.10 w/ KDe desktop. If anyone could help i'd greatly appreciated, like i said im new and alot of things are over my head :S

Dankles 02-24-2009 12:52 PM

Hey Christastrophe,
Since this is my tread I'll say that I was never able to figure the problem out and just gave up. And I'm not really a linux newbie.
I hope you do figure it out though.
Good luck :)

fragos 02-24-2009 02:26 PM

Just open Mouse Preferences and there will be a tab for the touchpad. You can disable finger taps there. At least that is where Ubuntu puts it.

IndyGunFreak 02-24-2009 04:25 PM

Quote:

Originally Posted by fragos (Post 3455989)
Just open Mouse Preferences and there will be a tab for the touchpad. You can disable finger taps there. At least that is where Ubuntu puts it.

Ref Post #6, he says that tab is not there, which I don't get.

IGF

fragos 02-24-2009 04:59 PM

Quote:

Originally Posted by IndyGunFreak (Post 3456092)
Ref Post #6, he says that tab is not there, which I don't get.

IGF

The tab shows on my Dell 1420n laptop which has a touchpad. My desktop has an external USB touchpad which works without any additional configuration in xorg but in this case there is no touchpad tab in Preferences.

IndyGunFreak 02-24-2009 05:49 PM

Quote:

Originally Posted by fragos (Post 3456133)
The tab shows on my Dell 1420n laptop which has a touchpad. My desktop has an external USB touchpad which works without any additional configuration in xorg but in this case there is no touchpad tab in Preferences.

My Desktop doesn't have a touchpad of any type, and the tab is there....

Go figure.

IGF


All times are GMT -5. The time now is 01:19 AM.