LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-24-2011, 02:31 PM   #1
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
Disable touchpad on a ThinkPad


I have a Lenovo thinkpad which has both a touchpad and a trackpoint device. By default both are enabled which (for me) is not welcome. I prefer the trackpoint device and when I use this I inadvertently make "gestures" on the touchpad which do things like flip to a new desktop, scroll up my file etc.

I have found a good and reliable way to disable the touchpad from within an X session but using the x input command. I have written a little script which does the job fine.

However I would really like to go one step further and disable it before I ever start X. Currently, even when I disable it with xinput, it comes back enabled whenever I wake up from sleep state. I tried putting my disabling script into the "hooks" for pm-utilts, but of course these all run as root and there is no root X session open when they are running, so that fails.

I also tried calling the script from the ~/.xsession script, but with no success here either.

I guess the correct way to do this is through writing or modifying some udev rules. I have not dabbled in this magic before. Any ideas on where to start?

Thanks
 
Old 02-24-2011, 02:36 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Would something like this be of assistance?

https://bbs.archlinux.org/viewtopic.php?id=92896
 
Old 02-24-2011, 03:14 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Use synclient.

synclient TouchPadOff=1
 
Old 02-24-2011, 03:29 PM   #4
Jinx-Wolf
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 26

Rep: Reputation: 1
Most ThinkPads have an option in BIOS to disable your TrackPoint or UltraNav. I just bought my new X201 without the UltraNav, but they sent me one with it! Talked to customer support, and since it's a refurbished unit, they wouldn't take it back. All I had to do was press the ThinkVantage button on startup, and disable the Trackpad.
 
1 members found this post helpful.
Old 02-24-2011, 04:00 PM   #5
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Thanks for those very quick replies - the thread suggested by corp769 looks particularly useful since it explains how to use synclient (thanks, dive) in the absence of a running X session. Jinx_wolf's suggestion will be a fallback if I cannot fix it through synclient / udev since disabling in the BIOS means I could not easily re-enable it.

Thanks again.
 
Old 02-24-2011, 04:06 PM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Not a problem. I posted that thread cause why should I explain what to do thoroughly when I could just find in online for you...
 
  


Reply

Tags
thinkpad, touchpad



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
Touchpad disable button permanently disables touchpad until reboot William (Dthdealer) Linux - Hardware 12 08-01-2009 10:51 PM
Which value to disable touchpad tap? buccaneere Linux - Laptop and Netbook 3 03-13-2009 02:59 PM
How to disable touchpad? simanyay SUSE / openSUSE 12 06-26-2007 04:42 AM
disable touchpad MicahCarrick Linux - Laptop and Netbook 0 07-18-2004 07:23 PM
How to disable touchpad? jimbo Linux - Laptop and Netbook 3 04-04-2004 09:06 AM

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

All times are GMT -5. The time now is 11:35 PM.

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