LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2010, 08:56 PM   #1
Thorsson
LQ Newbie
 
Registered: May 2010
Posts: 3

Rep: Reputation: 0
Disabling Touchpad


Hello,

Looking for opinions on what is the best way to disable the touchpad on a Sony VAIO. I just installed Slack64 13.1 and love it... thanks Pat & crew.

Thanks in advance,
Mark
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-29-2010, 01:31 AM   #2
hakan56
Member
 
Registered: Nov 2004
Location: Sweden
Distribution: Slackware64-14.0
Posts: 53

Rep: Reputation: 9
I have a Dell Studio 17 and did like this, maybe it works for you too..it's from "CHANGES_AND_HINTS.TXT"...
ftp://ftp.slackware.no/pub/linux/sla...ckware64-13.1/

Quote:
If you are using input hotplugging via HAL and a synaptics touchpad, then you
might need to copy /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi
to /etc/hal/fdi/policy/ and edit it to suit your needs. You can also use
synclient(1) to make changes "on the fly."
Also note that any touchpads that include actual buttons as part of the
touchpad hardware will not have tap-to-click enabled by default.
..then edit so "shared memory"..
Quote:
Switch on shared memory, enables the driver to be configured at runtime
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
..is enabled, this is my file..
Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
<!-- Enable tap click by default: -->
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<!-- Arbitrary options can be passed to the driver using
the input.x11_options property since xorg-server-1.5. -->
<!-- EXAMPLES:
Switch on shared memory, enables the driver to be configured at runtime
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
Then you can control it with the command "synclient", I put..
synclient TouchpadOff=1
in my ~/.profile to turn it off.

/Håkan
 
Old 05-29-2010, 01:46 AM   #3
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware current
Posts: 423

Rep: Reputation: 73
After fighting this issue on a variety of laptops I currently just remove the psmouse module (as root) with
Code:
modprobe -r psmouse
and that stops the touchpad working.

On my previous laptop I tried a suggestion made to me in this forum of creating udev rules to react to the usb mouse being plugged or unplugged, disabling/enabling the touchpad accordingly using synclient. That was probably the best method except it didn't work if the USB mouse was plugged in before booting.

Last edited by mcnalu; 05-29-2010 at 01:48 AM. Reason: extra info
 
3 members found this post helpful.
Old 05-29-2010, 03:47 PM   #4
Thorsson
LQ Newbie
 
Registered: May 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mcnalu View Post
After fighting this issue on a variety of laptops I currently just remove the psmouse module (as root) with
Code:
modprobe -r psmouse
and that stops the touchpad working.
Excellent! I knew it would be something simple but all of my searches produced nothing. Thank you very much.

hakan56, I will try your method later. Thanks for the suggestion, I genuinely appreciate it.
 
Old 05-29-2010, 04:07 PM   #5
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
I turned mine off in the bios..
 
Old 06-08-2010, 11:11 PM   #6
north49er
Member
 
Registered: Apr 2003
Location: 60.47'N lat
Distribution: fedora 15 x86_64
Posts: 156

Rep: Reputation: 18
Then you can control it with the command "synclient", I put..
synclient TouchpadOff=1
in my ~/.profile to turn it off.

How does one create ~/.profile? I don't see it when I do "ls .*" in my home directory.

This is on thinkpad r40, slack 13.1,

Last edited by north49er; 06-08-2010 at 11:22 PM.
 
Old 06-09-2010, 11:35 PM   #7
Thorsson
LQ Newbie
 
Registered: May 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by north49er View Post
Then you can control it with the command "synclient", I put..
synclient TouchpadOff=1
in my ~/.profile to turn it off.

How does one create ~/.profile? I don't see it when I do "ls .*" in my home directory.
To create it, use

Code:
touch ~/.profile
To see it, try

Code:
ls -a
 
Old 06-10-2010, 01:43 AM   #8
north49er
Member
 
Registered: Apr 2003
Location: 60.47'N lat
Distribution: fedora 15 x86_64
Posts: 156

Rep: Reputation: 18
Actually, I was disabling tapping by using "synclient MaxTapTime=0" in terminal console. But I had to do it after every reboot. The following was edited:

Quote:
<!-- Enable tap click by default: -->
<merge key="input.x11_options.TapButton1" type="string">1</merge>
to:

Quote:
<!-- Enable tap click by default: -->
<merge key="input.x11_options.TapButton1" type="string">0</merge>
Now the tapping function of the touchpad is disabled by default. My problem solved.
 
Old 08-06-2010, 01:03 PM   #9
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 775
Blog Entries: 1

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Howdy slackers:

Stumbling upon this thread while trying to figure out how to disable my synaptics touch pad, since it picks up my typing vibrations and selects things randomly, etc., and is an overall pain in the you know what, I used mcnalu's solution of removing the psmouse module from the kernel, and it worked great, so I went ahead and made a script and called it tptoggle.

Then, since I am an xfce user, I selected "settings" from the xfce menu and then "keyboard" and then "application shortcuts" and I created a shortcut to the tptoggle script (had to put sudo in the command, to make it work) and bound it to the F9 key.

Now I can toggle it on and off with the F9 key and I'm happy.

Here is the tptoggle script, to copy and paste, save, and make executable with "chmod +x" if you so desire:

Code:
#!/bin/sh
if ! grep -wq psmouse /proc/modules ; then
    /sbin/modprobe -q psmouse; else 
    /sbin/modprobe -r psmouse; 
fi

Last edited by slac-in-the-box; 08-06-2010 at 01:06 PM. Reason: corrected type-o
 
Old 08-06-2010, 01:32 PM   #10
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 775
Blog Entries: 1

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Alas, returning to my laptop after a momentary reprise, I discovered that the F9 toggle had stopped working; the reason was because when I made it, I had recently used the "sudo" command and still had root privileges, so the toggle worked until those privileges expired.

Therefore I made an amendment, and wrapped the command with "xterm -e" so that it can ask you for your password if it needs to. The line that got bound with the F9 key now reads as:

Code:
xterm -e sudo /usr/local/scripts/tptoggle
(naturally, that depends on my having saved the tptoggle script in /usr/local/scripts)
 
Old 08-07-2010, 12:31 PM   #11
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,304

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
thanks mcnalu

i found synaptics suggestions, my toshiba uses alps, f9 didnt work but modprobe -r psmouse does
 
  


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
slackware on ibook, disabling touchpad fyr3 Slackware 6 05-16-2009 06:52 PM
Disabling Touchpad while typing. nardz Linux - Desktop 4 01-24-2008 04:33 AM
Disabling Touchpad Clicking eman45008 Linux - Laptop and Netbook 12 04-20-2006 11:58 PM
disabling synaptics touchpad? dkw Linux - Laptop and Netbook 0 08-04-2004 05:27 PM
Disabling the touchpad? zzZoiDzz Linux - Hardware 21 01-30-2004 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:50 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
Open Source Consulting | Domain Registration