Disabling touchpad in Ubuntu 9.10

Ioannis Vranos cppdeveloper at ontelecoms.gr
Sat May 1 14:53:35 UTC 2010


On Sat, 2010-05-01 at 07:15 -0700, Michael Elkins wrote: 
> On Sat, May 01, 2010 at 03:57:33PM +0300, Ioannis Vranos wrote:
> >   <merge key="input.x11_options.TouchpadOff" type="integer">1</merge>
> 
> I believe you need type="string" despite the value being an integer.  I use 
> the following to adjust the settings on my touchpad:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <deviceinfo version="0.2">
>    <device>
>      <match key="info.capabilities" contains="input.touchpad">
> 	<merge key="input.x11_options.SHMConfig" type="string">true</merge>
> 	<!-- fix edges for eeePC 900a touchpad -->
> 	<merge key="input.x11_options.RightEdge" type="string">400</merge>
> 	<merge key="input.x11_options.LeftEdge" type="string">50</merge>
> 	<merge key="input.x11_options.TopEdge" type="string">60</merge>
> 	<merge key="input.x11_options.BottomEdge" type="string">300</merge>
> 	<!-- fix swapped middle and right clicks with multitouch -->
> 	<merge key="input.x11_options.TapButton2" type="string">2</merge>
> 	<merge key="input.x11_options.TapButton3" type="string">3</merge>
>      </match>
>    </device>
> </deviceinfo>


Thank you for your tip.



Indeed the following disables the touchpad:



/etc/hal/fdi/policy/touchpad.fdi:


<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
 <device>
  <match key="input.x11_driver" string="synaptics">
   <merge key="input.x11_options.TouchpadOff" type="string">1</merge>
  </match>
 </device>
</deviceinfo>







-- 
Ioannis Vranos

C95 / C++03 Software Developer

http://www.cpp-software.net






More information about the ubuntu-users mailing list