LinuxQuestions.org
Register a domain and help support LQ
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 13.37, Slackware 14.0
Posts: 260

Rep: Reputation: 31
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
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
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,203

Rep: Reputation: 292Reputation: 292Reputation: 292
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 13.37, Slackware 14.0
Posts: 260

Original Poster
Rep: Reputation: 31
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
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
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


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
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/Novell 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


All times are GMT -5. The time now is 11:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration