Choose style:

Author Topic: Removing Touch Pad Latency  (Read 2309 times)

0 Members and 1 Guest are viewing this topic.

Offline sixline

  • nOOb
  • *
  • Posts: 7
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Removing Touch Pad Latency
« on: March 25, 2015, 03:38:52 am »
There is a touch pad latency in laptops on every linux distro (mostly Ubuntu based) I have used, i.e. when you click by tapping the touch pad there is a slight delay. There is no delay when you use physical buttons on laptop or a mouse. This is sometimes very annoying and system feels like it is slow. But this problem is easy to solve. Open terminal and type following to lines:

Code: [Select]
synclient ClickTime=0
synclient SingleTapTimeout=0

This will remove the latency but it will reset on boot. To make it permanent type following in terminal:

Code: [Select]
gksudo gedit /etc/X11/xorg.conf

Enter your password when asked. A text file will open. Copy & paste following lines to that file:

Code: [Select]
Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsTouchpad "on"
    Option "ClickTime" "0"
    Option "SingleTapTimeout" "0"
EndSection


Save the file and close it. Reboot and touch pad latency will be gone.

Note: This is only for laptops, and for distros using X11 based window manager.
« Last Edit: March 25, 2015, 03:40:25 am by sixline »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26126
  • Karma: 2845
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Removing Touch Pad Latency
« Reply #1 on: March 25, 2015, 08:48:51 am »
Great idea, and it does make touchpad tapping a lot snappier :) .. although personally I'd have added the options to either to the "touchpad  catchall" section of the already existing
/usr/share/X11/xorg.conf.d/50-synaptics.conf

as in:
Code: [Select]
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
      MatchDevicePath "/dev/input/event*"
      Option "ClickTime" "0"
      Option "SingleTapTimeout" "0"
EndSection

or in a new
/usr/share/X11/xorg.conf.d/55-synaptics-options.conf
with your
Code: [Select]
Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsTouchpad "on"
    Option "ClickTime" "0"
    Option "SingleTapTimeout" "0"
EndSection
That's where this stuff goes now, and can be given load priorities via the file name ;)

Can I also add that you can check the setting were applied via:
Code: [Select]
synclient -l
« Last Edit: March 25, 2015, 08:50:38 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline sixline

  • nOOb
  • *
  • Posts: 7
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Removing Touch Pad Latency
« Reply #2 on: March 25, 2015, 09:37:22 am »
Great idea, and it does make touchpad tapping a lot snappier :) .. although personally I'd have added the options to either to the "touchpad  catchall" section of the already existing
/usr/share/X11/xorg.conf.d/50-synaptics.conf

as in:
Code: [Select]
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
      MatchDevicePath "/dev/input/event*"
      Option "ClickTime" "0"
      Option "SingleTapTimeout" "0"
EndSection

or in a new
/usr/share/X11/xorg.conf.d/55-synaptics-options.conf
with your
Code: [Select]
Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsTouchpad "on"
    Option "ClickTime" "0"
    Option "SingleTapTimeout" "0"
EndSection
That's where this stuff goes now, and can be given load priorities via the file name ;)

Can I also add that you can check the setting were applied via:
Code: [Select]
synclient -l

Great tops thanks a lot!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26126
  • Karma: 2845
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Removing Touch Pad Latency
« Reply #3 on: March 25, 2015, 10:12:30 am »
No problem .. thanks for the original tutorial, it's livened up the way my little netbook 'feels'  :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: Removing Touch Pad Latency
« Reply #4 on: April 04, 2015, 06:11:45 am »
Thanks for the great tutorial  :)
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com