VectorLinux
September 10, 2010, 06:03:47 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: HOWTO: Disable Synaptics touchpad in VL SOHO 6  (Read 205 times)
retired1af
Packager
Vectorian
****
Posts: 711



« on: July 29, 2010, 05:19:09 am »

I had disabled the touchpad on my Toshiba notebook via the BIOS and wasn't really concerned with using it, as I usually have my mouse close at hand. However, since I'm traveling much more often now, I had whipped my notebook out in an airport to check email and didn't feel like digging the mouse out, too. Forgot I had disabled the touchpad. Duh!

On the Windows side of the notebook, the touchpad is disabled as soon as the mouse is plugged in. However, there's no such option right now on the Linux side (something to dig into later!). Soooooooo, how to disable the touchpad without booting into the BIOS everytime I need it?

The instructions that follow are for a Synaptics touchpad. They may give a clue on how to proceed if yours is different.

________________________________________

First:

Code:
cp /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi /etc/hal/fdi/policy/11-x11-synaptics.fdi

Now we need to add the instructions to the file that allows us to turn the touchpad on and off.

Using your favorite text editor, edit /etc/hal/fdi/policy/11-x11-synaptics.fdi and look for the section that starts with <match key="info.product" contains="Synaptics TouchPad">. Add the following at the end of that section:

Code:
<merge key="input.x11_options.SHMConfig" type="string">On</merge>

Restart your machine so the changes take effect.

The following can now be typed (as root) at the cli:

Code:
/usr/bin/synclient touchpadoff=1

Enjoy!

Edit -- You can create a quick script, make it executable, then toss it in your /home/loginid/.kde/Autostart directory to have this run each time you start the machine.
« Last Edit: August 05, 2010, 01:37:11 pm by retired1af » Logged

Toshiba P305D 2GHz AMD Turion 64 x2
VL 6 Standard, VL 6 KDE, SOHO 6 RC2
nightflier
Administrator
Vectorian
*****
Posts: 2793



« Reply #1 on: July 29, 2010, 05:50:09 am »

A slightly off-topic note: If you are using VL6 Light or KDE-Classic, some of these steps may not be necessary.

The installer should offer to activate the touchpad driver. If accepted, this is one of the functions available. The command "synclient touchpadoff=1" can be run as normal user and it does disable the pad. There is also a little script /sbin/vtptoggle that will do this for you. On my laptop, I mapped a keyboard combination for this action.

I also include the command "syndaemon -d -i 0.8" in my KDE Autostart. This disables the pad as soon as I start typing, and re-enables it 0.8 seconds after I stop.
Logged
retired1af
Packager
Vectorian
****
Posts: 711



« Reply #2 on: July 29, 2010, 05:55:02 am »

I'm going to play around with creating a routine that allows the system to detect whether the mouse is plugged in, and if so, disables the touchpad. Should be fun. Maybe.  Grin
Logged

Toshiba P305D 2GHz AMD Turion 64 x2
VL 6 Standard, VL 6 KDE, SOHO 6 RC2
GrannyGeek
Packager
Vectorian
****
Posts: 2179


« Reply #3 on: July 29, 2010, 07:12:23 am »

Thanks to both of your for this. I would have tried it immediately, but I'm finding that the touchpad on my new-to-me Dell Inspiron 1100 is well behaved and when used with a USB mouse, doesn't do the annoying things all the other touchpads I've used do. So I'm giving it a chance to stay unobtrusive and will leave it activated if it continues behaving. It's occasionally handy to have the touchpad.
--GrannyGeek
Logged

Registered Linux User #397786

Happily running VL6 SOHO Final on desktops: Athlon 64 X2 4200+, 3 gigs RAM, Radeon Xpress 200 onboard graphics; 1.3 GHz Celeron, 1 gig RAM, Radeon 9200 (also VL6 Deluxe); VL6 Light on laptop:  2.4 GHz Celeron, 1 gig RAM, Intel 82845G/GLI Brookside integrated graphics
retired1af
Packager
Vectorian
****
Posts: 711



« Reply #4 on: July 29, 2010, 07:53:20 am »

Unfortunately, my touchpad isn't so well behaved. And the heel of my right palm rests on the edge of the touchpad, making typing an infuriating experience when it's active.
Logged

Toshiba P305D 2GHz AMD Turion 64 x2
VL 6 Standard, VL 6 KDE, SOHO 6 RC2
Deach
Vectorite
***
Posts: 156


« Reply #5 on: August 05, 2010, 05:54:41 am »

I'm not on my vector box just now but there is a way to disable touch pad while typing.  um....somethinig about syndaemon I believe.....I have it in startup on my VL laptops.  I'll look when I get home.
Logged

Inspiron 4000 Laptop, VL 6.0  600 mhz; 384 ram : Inspiron1100 VL 6.0
Inspiron B120 & B130 Laptop, VL 6.0  1. 4& 1.5  ghz; 1gig ram
IBM Thinkpad Laptop, VL 6.0  1.5 ghz;  1 gig ram
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!