PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 05:04:27 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] Easy way to disable Synaptics Touchpad  (Read 879 times)
agmg
Full Member
***
Offline Offline

Posts: 147



« on: September 16, 2011, 02:54:37 AM »

For those (like me) that use an external mouse on their laptop and want Synaptics Touchpad out of their way, here is a very easy way to completely disable it.

Just add to your startup programs the command:

Code:
synclient TouchpadOff=1

and touchpad will be disabled every time you boot into your OS

The reverse command is:

Code:
synclient TouchpadOff=0

Hope this helps some of you  Smiley
Logged



PCLinuxOS Phoenix is great... PCLinuxOS KDE is perfect!
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #1 on: September 27, 2011, 02:52:16 PM »

Thanks for the above ....  just started playing with my first laptop and the pad was interfering.

Unfortunately it didn't work on the 64bit test I was running ....
"Couldn't find synaptics properties. No synaptics driver loaded?"


Now for the real question .....

is there a method to detect if a mouse is installed and if so turn off the pad, and if no mouse then leave it as is?

I assume a smal script in Autostart would do the trick.

Anyone tried it?
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
agmg
Full Member
***
Offline Offline

Posts: 147



« Reply #2 on: September 27, 2011, 03:21:59 PM »

I can't find "synclient" package in the repos... Is it part of "x11-driver-input-synaptics"??

I rarely use my laptop without a mouse so I don't really need something like this. If I ever have to use the touchpad, I simply type the reverse command in a terminal and it's working again...
Logged



PCLinuxOS Phoenix is great... PCLinuxOS KDE is perfect!
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #3 on: September 27, 2011, 03:51:40 PM »

I was trying from a live session and it did not work ....  32 or 64 bit ..... unfortunately.

Will try again on an installed OS.


EDIT ....  yes that was the problem .....  it doesn't work in the live session  Wink


regards.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
agmg
Full Member
***
Offline Offline

Posts: 147



« Reply #4 on: September 27, 2011, 04:56:18 PM »

I have this script saved in my documents that I think I have used on another distro (couple of months ago).

If you want, give it a try and tell me if this works for you.

Quote
So i made a small script toggletouchpad.sh

#!/bin/bash
if [ $(synclient -l | grep TouchpadOff | awk '{print $3}') == 1 ] ; then
synclient touchpadoff=0;
else
synclient touchpadoff=1;
fi

In rc.xml i assigned the program to Winkey-p:

 <keybind key="W-p">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>toggletouchpad</name>
        </startupnotify>
        <command>toggletouchpad.sh</command>
      </action>
    </keybind>
Logged



PCLinuxOS Phoenix is great... PCLinuxOS KDE is perfect!
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #5 on: September 27, 2011, 05:17:45 PM »

Yes I am sure the toggle will work.

I must look into the mouse sensing control of synaptics ....  to auto turn the pad off when a mouse is connected .....
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM