WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to disable the touchpad?  (Read 4524 times)

Offline bengt_t

  • Newbie
  • *
  • Posts: 11
How to disable the touchpad?
« on: May 09, 2012, 05:40:36 AM »
With my Laptop I use an external, USB-connected, mouse and wish to disable the integrated touchpad.

Using OpenSuse with Xfce, in an identical Laptop, I can disable the touchpad by adding "synclient TouchpadOff=1" in the .xinitrc file. This does however not bite in Tiny Core Linux.

Where and how shall the touchpad be disabled in Tiny Core Linux?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: How to disable the touchpad?
« Reply #1 on: May 09, 2012, 05:57:03 AM »
if you search this forum on alps or synaptic or touchpad, there's several posts on the subject

Offline bengt_t

  • Newbie
  • *
  • Posts: 11
Re: How to disable the touchpad?
« Reply #2 on: May 09, 2012, 07:25:57 AM »
Thanks for your hint!

After some reading I realized that, in my case, it helped to modify the first line of my .xsession file from
"Xvesa ... -mouse /dev/input/mice,5 ... "
to
"Xvesa ... -mouse /dev/input/mouse0,5 ... ".

mouse0 is my external mouse and mouse1 the touchpad.



Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: How to disable the touchpad?
« Reply #3 on: May 09, 2012, 07:47:30 AM »
Hi bengt_t
Personally, I can't stand touch pads, so I always disable them in the BIOS.

Offline bengt_t

  • Newbie
  • *
  • Posts: 11
Re: How to disable the touchpad?
« Reply #4 on: May 10, 2012, 02:24:59 PM »
I definitely agree, touchpad is a pain I a try to disable it in BIOS if I can.

However, it seems to me that disabling in BIOS is not always possible. As in HP ProBook 4525s, which I am presently struggling with... 

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: How to disable the touchpad?
« Reply #5 on: May 11, 2012, 06:34:40 PM »
i try synaptic but it seem do not work.
I have eeepc t101mt, core 4.4 and xorg 7.4. OPS, I HAVE XORG 7.5!, this changes everything, how do I disable the touchpad?


in order:
1) I killled
2) I generated X -configure and I placed in /etc/X11
3) inside I wrote this section found in a blog:
Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
        Option          "SHMConfig"             "on"
EndSection

4)tc @ box: ~ $ synclient -l
Could not find synaptics properties. No synaptics driver loaded?
tc @ box: ~ $


My friend says it is a kernel problem, but I do not understand a tube
« Last Edit: May 11, 2012, 07:09:50 PM by vinnie »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: How to disable the touchpad?
« Reply #6 on: May 12, 2012, 01:49:31 AM »
If it helps, this disabled the touchpad, but allowed the pointing stick to work with Xorg-7.5

Code: [Select]
Section "ServerLayout"
Identifier "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice "DualPoint Stick" "CorePointer"
InputDevice "Alps Touchpad"  "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier  "DualPoint Stick"
Driver      "evdev"
Option     "Device" "/dev/input/event5"
EndSection

Section "InputDevice"
Identifier "Alps Touchpad"
Driver  "synaptics"
Option "Device"  "/dev/input/event6"
Option "SHMConfig" "true"
Option "GuestMouseOff" "false"
Option "TouchpadOff" "1"
EndSection

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: How to disable the touchpad?
« Reply #7 on: May 12, 2012, 10:45:43 AM »
Now work whit this section added:
Code: [Select]
Section "InputDevice"
Identifier  "Mouse0"
Driver      "synaptics"
Option     "Device" "/dev/input/mice"
Option "SHMConfig" "true"
Option "GuestMouseOff" "false"
Option "TouchpadOff" "0"
Option "FastTaps" "1" #velocizza la velocità di emulazione pressione dei tasti
Option "TapButton1" "1" #emulazione tasto sinistro
    Option "TapButton2" "2" #emulazione tasto centrale
    Option "TapButton3" "3" #emulaizione tasto destro
    Option "VertEdgeScroll" "on" #scroll su bordo verticale
    Option "VertTwoFingerScroll" "on" #scroll due dita verticale
    Option "HorizEdgeScroll" "on" #scroll su bordo orizzontale
    Option "HorizTwoFingerScroll" "on" #scroll due dita orizzontale
    Option "CircularScrolling" "on" #scroll circolare il dito gira e lo scroll verticale continua
    Option "CircScrollTrigger" "2" #punto da dove parte lo scroll circolare, 2 dall'angolo in alto a destras
#    Option "EmulateTwoFingerMinZ" "40" #emulazione tasti per touchpad non multitocco
#    Option "EmulateTwoFingerMinW" "8" #emulazione tasti per touchpad non multitocco
    Option "CoastingSpeed" "0"
EndSection

I disable touchpad through a shortcut linked with a script.
Thanks Juan!

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: How to disable the touchpad?
« Reply #8 on: May 15, 2012, 07:28:10 PM »
uh, solved a problem if it has another, if we now attack the mouse does not work anymore, I think it's a matter of loaded drivers.
I tried to edit the xorg config creating a hybrid between the auto-configuration and the modified version I wrote in previous message.

Code: [Select]
Section "InputDevice"
Identifier  "Mouse0"
Driver      "synaptics"
*** Driver      "mouse"
*** Option     "Protocol" "auto"
Option     "Device" "/dev/input/mice"
*** Option     "ZAxisMapping" "4 5 6 7"
Option "SHMConfig" "true"
Option "GuestMouseOff" "false"
Option "TouchpadOff" "0"

Entries preceded by asterisks are those that I have added, In this way the mouse works but not the "synaptic" touchpad (so that I can not turn off).
I feel I should add another section exclusively for mouse input devices and does not alter the section of the touchpad

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: How to disable the touchpad?
« Reply #9 on: May 15, 2012, 11:21:22 PM »
I think you'll need a separate section for a mouse - it would not use the "synaptics" driver for example.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: How to disable the touchpad?
« Reply #10 on: May 17, 2012, 06:14:11 PM »
New section with the same device? (Option       "Device" "/dev/input/mice") ???