Verical Scrolling on (K)Ubuntu touchpads updated to 8.10

8 11 2008

Not so many days ago my good friend Carlo posted a column on his blog court of misanthropy with the instructions to enable the Mac flavored vertical finger scrolling on Ubuntu and Kubuntu laptops. You can find my plug of his article here.

Anyway since the updated Xorg 7.4 running onto the freshly delivered 8.10 Intrepid Ibex version of the Ubuntu and Kubuntu distros those “old” instructions aren’t valid anymore.

But Carlo’s a smart guy and has already provided a new procedure which he tested and should therefore run smoothly on your laptops.

As far as Carlo’s concerned it seems that the problem is the enabling of SHMConfing within an untrusted environment which is share among different users. It follows that the safest way to enable the two-fingers scrolling is use an XML file for the Hardware Abstraction Layer with the setting for this function.

The file must contain the following code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="input.x11_driver" contains="synaptics">
    <merge key="input.x11_options.SHMConfig" type="string">On</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.VertTwoFingerScroll" type="string">1</merge>
    <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
  </match>
</device>
</deviceinfo>

And it must be saved as:

/etc/hal/fdi/policy/11-synaptics-options.fdi

If you’re no Linux overlord just follow these plug ‘n’play instructions:

1- Download this file already cooked by Carlo and save it in your home folder (i.e. /home/TheOneElectronic)

2- Open up the console, check you’re in your /home and type:

sudo cp 11-synaptics-options.fdi /etc/hal/fdi/policy/

3- Restart the computer (it’s not enough to restart X)

The two-finger scrolling should now be working

Further option: how to enable (Q)GSynaptics e SHMConfig

If you happen to be the only user of your pc you could anyway enabling GSynaptics (QSynaptics for KDE) you must create the file /etc/hal/fdi/policy/shmconfig.fdi containing the following code:

<?xml version="1.0" encoding="ISO-8859-1"?>
 <deviceinfo version="0.2">
 <device>
 <match key="input.x11_driver" string="synaptics">
 <merge key="input.x11_options.SHMConfig" type="string">True</merge>
 </match>
 </device>
 </deviceinfo>

And here’s the simplified version:

1- download this file already prepared for you and put it in your /home

2- Open up the console, check you’re in your /home and type:

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

3- Restart the computer

4- search and install (Q)GSynaptics with Synaptic or Adept

That’s all folks!

About these ads

Actions

Information

3 responses

16 03 2009
Ross

I’m running Intrepid and followed these directions and the two-fingered scrolling isn’t working. Is there something I missed? Do I have to do something the Touchpad settings?

Thanks

16 03 2009
wizandchips

Hi Ross, as far as I’m concerned it should work in this way as I tested it personally.
Normally after you modified Xorg file, create the shmconfig.fdi file and installed GSynaptics, you should be able to open GSynaptics and configure the touch pad.
Just a few questions.
Have you got a Synaptics touch pad?
Have you tried to download the pre-baked file and followed the instructions from there? Have you installed GSynaptics?
Is your original Xorg file significally different from the excerpt of the code above?
Cheers

16 03 2009
Ross

According to my xorg.conf file it is Synaptics. Was I supposed to make the same changes in the xorg.conf file like in your previous post? I did install Gsynaptics and the xorg file isn’t really any different than what you had shown. I followed your instructions from the beginning. I believe that I installed the files that were already created that you linked to.

Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
Option “SendCoreEvents” “true”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “HorizEdgeScroll” “0”
EndSection

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.

%d bloggers like this: