Linux: Enable Laptop Touchpad Vertical Scrolling and Tapping from Command Line

terminal-logo-smallI noticed that the Fedora Linux with KDE desktop, has reasonably poor support for laptop touchpad adjustment. For example, the KDE > System Settings > Keyboard & Mouse > Mouse options will not be able to enable vertical scrolling and touchpad tapping. So I decided to write this short guide, howto enable Touchpad vertical scrolling and tapping from command line without any GUI.

Enable Laptop Touchpad Vertical Scrolling

Simply write following on command line:

synclient VertEdgeScroll=1

Enable Laptop Touchpad Tapping

Simply write following on command line:

synclient TapButton1=1

Make Previous Options Permanent

Change to root User

su -
## OR ##
sudo -i

Create a configuration file
Copy /usr/share/hal/fdi/policies/20thirdparty/10-synaptics.fdi example file to /etc/hal/fdi/policy

cp /usr/share/hal/fdi/policy/20thirdparty/10-synaptics.fdi /etc/hal/fdi/policy

Add following lines to configuration file

<merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>

Full configuration file looks like this

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.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.TapButton1" type="string">1</merge>
    </match>
  </device>
</deviceinfo>
report
Follow If Not True Then False Updates!

10 Comments

  1. Thank you so much for this awesome post. This is exactly the thing I needed to see!

  2. Thanks so much, this has helped me to activate scrolling in KDE

  3. thx a lot .i had a problem with my touch pad but not anymore.im really greatful

  4. thank you very much.it really works on my laptop.

  5. I don’t have directory 20thirdparty.
    How can I make the change permanent?

  6. thx. works well on my laptop

  7. Thank you man, this was the ONLY thing that was keeping me from switching permanently to KDE!

Leave a Comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

guidelines
Bear