Home > Linux > How to enable right-clicking with a buttonless touchpad in Ubuntu 12.04

How to enable right-clicking with a buttonless touchpad in Ubuntu 12.04

The buttonless touchpad, also known as the ClickPad – designed to allow greater flexibility in touchpads by treating the entire surface as one button with programmable click regions – is possibly one of the worst touchpad designs ever conceived. Unfortunately, it would seem that it’s here to stay. The last few versions of Ubuntu haven’t played nice with ClickPads, and one of the great touted features of Ubuntu 12.04 (Precise Pangolin) is vastly improved ClickPad support. Imagine my surprise, then, when I upgraded from 11.10 only to find that right-clicking and two-finger drag no longer worked.

I unfortunately haven’t been able to find a definitive solution to this problem, but for those who don’t want to tinker at the shell prompt, here is a quick workaround to get partial functionality using only the GUI and the left mouse button:

The workaround

  1. In the Unity Launcher (left side of the screen by default), open System Settings. Double-click Mouse and Touchpad, and in the Mouse tab (not the Touchpad tab), select Left-handed.
  2. Again in the launcher, open Ubuntu Software Center.
  3. Search for “Synaptiks” and install it.
  4. The Synaptiks icon will appear in the launcher. Start Synaptiks.
  5. Click the Touchpad Configuration icon in the left-hand pane. Click the Tapping tab.
  6. Set these options:
    • “Bottom left corner” -> “Left mouse button”
    • “Tapping with one finger” -> “Right mouse button”
    • “Tapping with two fingers” -> “Left mouse button”
    • “Tapping with three fingers” -> “Disabled”
  7. Click Apply and restart if necessary.

The behaviour

Counter-intuitive as this sounds, your ClickPad should now behave as follows:

  • Tapping in the main touch area will left-click
  • Tapping twice and dragging on the 2nd tap in the main touch area will left-drag
  • Clicking in either of the button areas at the bottom of the ClickPad will right-click
  • Tapping with two fingers in the main touch area will right-click

This is of course, not an ideal solution, because both buttons at the bottom of the ClickPad are treated as one, and you cannot use two-finger dragging (where one click-holds a button and uses the other finger to drag on the main touchpad area).

The problem

The fundamental issue is that Ubuntu doesn’t seem to be able to recognize that a ClickPad is not a one-button mouse. This is why the above workaround cannot make the system recognize clicking on two different parts of the surface as different types of click, and why we restrict ourselves to using tapping for left-click and clicking for right-click: this is the only way to differentiate the actions we want to perform, that I have found.

Note that tapping with two fingers for right-click works because the system can differentiate in how many fingers you are using to tap with.

Another workaround

For all the hassle ClickPads are causing in Ubuntu these days, you may be better off with a cheap wireless mouse, if gesture support is not important to you.

Ubuntu 10.10 (Maverick) and Ubuntu 11.04 (Natty)

paulatgm and rydberg have done excellent work in patching earlier versions of Ubuntu to work more fluidly with ClickPads, and bigbrovar has documented how to get these patches up and running on his blog. Unfortunately these tricks don’t currently work in Ubuntu 12.04, but if you are using an earlier version, you should definitely check his articles out:

How to Enable Right | Middle Click On Clickpads – Ubuntu 10.10

Enable MultiTouch Support for Clickpad On Ubuntu 10.10

Better ClickPad Support for Ubuntu 11.04

Ubuntu 11.10 (Oneiric)

sergio91pt has produced a patch to improve ClickPad functionality in Oneiric.

You can install it as follows:

  1. Open a console (CTRL+ALT+T).
  2. Type:
    sudo add-apt-repository ppa:sergio91pt/synaptics+clickpads
    sudo apt-get install xserver-xorg-input-synaptics

Let us cross our fingers that 12.10 will solve these problems once and for all.

Categories: Linux Tags: , ,
  1. Wyatt Skates
    May 31, 2012 at 15:55

    Pretty nice post. I just stumbled upon your weblog and wanted to say that I’ve truly enjoyed surfing around your blog posts. In any case I’ll be subscribing to your feed and I hope you write again very soon!

  2. hector
    May 6, 2013 at 00:11

    good tutorial thanks baby

  3. hector
    May 6, 2013 at 00:12

    and this is a good website congratulations

  4. Pierco
    July 28, 2013 at 14:27

    Thx for Synaptiks ! Exactly what I needed.

  5. Aramis Xperia
    August 16, 2013 at 02:06

    This helped me infinitely thank you

  6. November 16, 2016 at 18:59

    I’m running Ubuntu 16.04. Any workaround suggestions?

  1. No trackbacks yet.

Share your thoughts! Note: to post source code, enclose it in [code lang=...] [/code] tags. Valid values for 'lang' are cpp, csharp, xml, javascript, php etc. To post compiler errors or other text that is best read monospaced, use 'text' as the value for lang.

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

%d bloggers like this: