[NC10] Improving the 2 fingers scrolling

Discussions about Linux installation and configuration on Samsung laptops
miplou
Newbie
Newbie
Posts: 15
Joined: 05/05/2009, 23:41

[NC10] Improving the 2 fingers scrolling

Postby miplou » 12/02/2010, 3:25

Hi !

I noticed that the 2 fingers scrolling is finally working ! But very poorly and randomly...
Do you know how to improve it in conf files ?

Many thanks !




PS : Sorry if my english is bad...

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: [NC10] Improving the 2 fingers scrolling

Postby voRia » 12/02/2010, 17:07

I think this is all we can have for now, apparently the NC10 has not a real multitouch touchpad, so the function is emulated at the best.

Anyway, you can try with 'synclient' options to change touchpad options, in order to find the best settings for your taste.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

miplou
Newbie
Newbie
Posts: 15
Joined: 05/05/2009, 23:41

Re: [NC10] Improving the 2 fingers scrolling

Postby miplou » 12/02/2010, 17:19

Okay :(

Thanks anyway !

sk_
Newbie
Newbie
Posts: 5
Joined: 01/06/2009, 4:30

Re: [NC10] Improving the 2 fingers scrolling

Postby sk_ » 09/03/2010, 17:10

hi!

i've been using the following setup on my nc10 for weeks and it works perfectly most of the time. Scrolling with 2 fingers is smooth. you can even scroll with your thumb only while typing. i don't use two or three finger click. maybe this helps someone.

to edit your synaptics configuration you have to edit /etc/hal/fdi/policy/11-x11-synaptics.fdi:

Code: Select all

sudo gedit /etc/hal/fdi/policy/11-x11-synaptics.fdi

this is my config:

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
 <device>                                                                                                                             
    <match key="info.capabilities" contains="input.touchpad">
      <match key="info.product" contains="Synaptics TouchPad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">1</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.TapButton2" type="string">2</merge> <!--two finger tap - right click(2) -->
        <merge key="input.x11_options.TapButton3" type="string">3</merge> <!--three finger tap - middle click(3). almost impossible to click -->
        <merge key="input.x11_options.VertScrollDelta" type="string">300</merge> <!-- vert scroll speed. higher=slower-->
        <merge key="input.x11_options.HorizScrollDelta" type="string">300</merge> <!-- horiz scroll speed. higher=slower-->
        <merge key="input.x11_options.SHMConfig" type="string">On</merge>
        <merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">10</merge>
        <merge key="input.x11_options.EmulateTwoFingerMinW" type="string">5</merge>
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
        <merge key="input.x11_options.PalmDetect" type="string">1</merge>
      </match>

      <match key="info.product" contains="AlpsPS/2 ALPS">
        <merge key="input.x11_driver" type="string">synaptics</merge>
      </match>
      <match key="info.product" contains="appletouch">
        <merge key="input.x11_driver" type="string">synaptics</merge>
      </match>
      <match key="info.product" contains="bcm5974">
        <merge key="input.x11_driver" type="string">synaptics</merge>
      </match>
    </match>
  </device>
</deviceinfo>


to make scrolling almost as smooth as with win xp, i use the SmoothScroll Extension for the Chromium Browser. There are similar extensions for Firefox and opera has a smooth scrolling option too.

miplou
Newbie
Newbie
Posts: 15
Joined: 05/05/2009, 23:41

Re: [NC10] Improving the 2 fingers scrolling

Postby miplou » 09/03/2010, 22:22

Perfect ! 2 fingers scrolling is really better with this config ! B)
Many thanks sk_ ! ;)
I'm using Chromium too, I will try this extension !

penguinskill
Newbie
Newbie
Posts: 1
Joined: 29/03/2010, 14:03

Re: [NC10] Improving the 2 fingers scrolling

Postby penguinskill » 29/03/2010, 14:29

Hi, I have just copied and pasted the above configuration into /etc/hal/fdi/policy/11-x11-synaptics.fdi but my two finger scrolling is still quite jumpy and not smooth (as in not usable). I'm using a fresh installation of ubuntu 9.10, is there any other tips to getting it to work well or something I might be missing?

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: [NC10] Improving the 2 fingers scrolling

Postby voRia » 03/04/2010, 10:35

I've never get a fully working two finger scrolling. The touchpad on NC10 does not support two finger scrolling in hardware, all we can do is to emulate it (with bad results, I'd say).
Personally, I've ended up to disable completely the two finger scrolling function. :(

Just for the record, in Lucid the two finger scrolling option on my NC10 is not available at all.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

miplou
Newbie
Newbie
Posts: 15
Joined: 05/05/2009, 23:41

Re: [NC10] Improving the 2 fingers scrolling

Postby miplou » 16/04/2010, 4:18

Strange, sk_'s configuration works perfectly on my NC10... It's really better than scrolling area on the right side of touchpad !

svenmeier
Supporter
Supporter
Posts: 7
Joined: 22/05/2010, 15:13

Re: [NC10] Improving the 2 fingers scrolling

Postby svenmeier » 25/12/2010, 13:48

Hi,

looking for 2 finger scrolling support I've found the following script for Synaptic touchpads
(see http://mixeduperic.com/linux/ubuntu-100 ... h-pad.html):

#!/bin/bash
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient EmulateTwoFingerMinW=5
synclient EmulateTwoFingerMinZ=48


Works like a charm on my NC10 :).

Could this be something to include in Samsung Tools?

Best regards

Sven

svenmeier
Supporter
Supporter
Posts: 7
Joined: 22/05/2010, 15:13

Re: [NC10] Improving the 2 fingers scrolling

Postby svenmeier » 25/12/2010, 19:25

I forgot to mention why I ended up with this shell script:
- hal is no longer used in default Ubuntu, so an fdi policy does not work :(.
- creating an x11 configuration in /usr/share/X11/xorg.conf.d/50-twofingerscroll.conf (as suggested here http://wiki.ubuntuusers.de/xorg.conf.d# ... ei-Fingern ) successfully changed the synaptics settings (synclient -l), but two finger scrolling still didn't work.

Sven

svenmeier
Supporter
Supporter
Posts: 7
Joined: 22/05/2010, 15:13

Re: [NC10] Improving the 2 fingers scrolling

Postby svenmeier » 26/12/2010, 0:12

After some more digging into this issue, I came to the following solution:

- Create a file /usr/share/X11/xorg.conf.d/50-twofingerscroll.conf :

Code: Select all

Section "InputClass"
   Identifier   "two finger scrolling for touchpad"
   MatchProduct   "SynPS/2 Synaptics TouchPad"
   MatchDevicePath   "/dev/input/event*"
   Option      "VertTwoFingerScroll"   "on"
   Option      "HorizTwoFingerScroll"   "on"
   Option      "EmulateTwoFingerMinW"   "5"
   Option      "EmulateTwoFingerMinZ"   "48"
EndSection


- force the gnome-settings-deamon to use 2-fingers scrolling with the following command (otherwise it will override the settings in the .conf above):

Code: Select all

gconftool --type int --set /desktop/gnome/peripherals/touchpad/scroll_method 2


Have fun

Sven


Return to “Linux On My Samsung”

Who is online

Users browsing this forum: No registered users and 0 guests