Thursday, May 7, 2009

Yoghurt Dipped Peanuts

Touchpad on Linux with Linux

One of the many strengths of MacOS X is the convenience of the trackpad (touchpad for us mere mortals)

for quite a while (but I know recently) xorg-server supports the "multitouch" ie the recognition of multi-touch touchpad.

Well let's see how to do on Ubuntu:

(provided that all the things I write in this way be typed on the terminal)
If you have not installed install the following packages:

gsynaptics sudo apt-get install xserver-xorg-input-synaptics

Then let's set the fdi file for hal (of the species xml)

You must enable multitouch reading:

sudo gedit / etc / hal / fdi / policy / shmconfig.fdi

And you put the following lines:

\u0026lt;? xml version = "1.0" encoding = "UTF-8"?>
\u0026lt;deviceinfo version = " 0.2 ">
\u0026lt;device>
\u0026lt;match key="input.x11_driver" string="synaptics">
\u0026lt;merge key="input.x11_options.SHMConfig" type="string"> True \u0026lt;/ merge>
\u0026lt;/ match>
\u0026lt;/ device>
\u0026lt;/ deviceinfo>


Then you try to see if our support multi touch touchpad, restart the session (or the whole pc is the same)
When you restart
typed on the terminal:

synclient-m 100

will come out a table that you use me change until the touchpad.
the column with instestazione " f" (the fifth column) that Inida the number of fingers that are used: placing two fingers or three if you see one there you can always do nothing ... Your touchpad does not support multitouch ... I'm sorry ... (

Otherwise, if you see the fifth column have a number that corresponds to the number of fingers that supported or moved to the touchpad, the adventure continues: D

typed on the terminal:

sudo gedit / etc / hal / fdi / policy / synaptics.fdi

And we put the following lines:

\u0026lt;? xml version = "1.0" encoding = "ISO-8859-1"?>
\u0026lt;deviceinfo version="0.2">
\u0026lt;device>
\u0026lt;match key="input.x11_driver" string="synaptics">
\u0026lt;merge key="input.x11_options.VertTwoFingerScroll" type="string"> true \u0026lt;/ merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
<merge key="input.x11_options.TapButton2" type="string">3</merge>
<merge key="input.x11_options.TapButton3" type="string">2</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>

<merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">120</merge>

</match>
</device>
\u0026lt;/ deviceinfo>


The line below the file that enables the possibility that the scroll with a finger stronger rivals scrolling mouse:
\u0026lt;merge key = "input.x11_options.EmulateTwoFingerMinZ" type = " string "> 120 \u0026lt;/ merge>
has a number (120) representing the sensitivity to touch, try a couple of times to increase or decrease the sensitivity.

with the remaining options are enabled:
  • vertical scroll with 2 fingers (the classic wheel mouse)
  • horizontal scroll with 2 fingers
  • Right click by clicking with two fingers
  • Click
  • Central clicking with 3 fingers

Finally, try the option "restart the computer: D
synclient if it worked, it should all work!

0 comments:

Post a Comment