Search This Blog

Saturday, November 10, 2012

Touchpad right click button not working in Ubuntu 12.04??

Ubuntu 12.04 Touchpad right click issue

Recently I had installed Ubuntu 12.04 LTS edition on ma HP Probook.
And it seemed I couldn’t use the right click button integrated on the Touchpad!!
Since I had an external mouse,it didn’t bother me a lot.
After a while, I thought of finding a solution and started Googling!!
(that’s what I do when I’m in a crysis!!)

Then I realised that not only me but several other people out there was facing the same issue.

after a little bit of searching,I found that its some bug with 12.04 synaptics driver thing and is fixed in 12.10
But being a Long term support(LTS) edition, I didn’t want to update it to 12.10.

So here are a few steps you can solve it yourself!!

Enabling right button click for clickpads on Ubuntu 12.04 LTS

Ubuntu 12.04 LTS added support for clickpads. The buttons are pressed by pressing the surface of the trackpad itself. All known clickpads, with the exception of the Apple Magic Trackpad, have indications on the trackpad for where the left and right buttons are. Clicking in the right button area should cause a right button click action. However, right button click support was added too late in the 12.04 LTS development cycle to be enabled by default. It is enabled by default in Ubuntu 12.10 and on.

Fortunately, the right click functionality is present and working in the release. It simply needs to be enabled. The attached “enable-rightbutton.sh” script may be used to simplify the process. After downloading the script, execute the following:

chmod a+x enable-rightbutton.sh
./enable-rightbutton.sh <device id|device name>

Be sure to use the device id or name of your specific trackpad. You can list the devices on your computer using the "xinput" command.

Attachement:

enable-rightbutton.sh
for example, "./enable-rightbutton.sh 11"
in my case,HP probook 4520s.

3 comments:

  1. Awesome Thanks, this work great! just one thing i got confused with the,
    ./enable-rightbutton.sh
    trying to input ./enable-rightbutton.sh 12 | HP probook 4520s with a command error, but reading your sh script afterwards learnt that i only need to input ./enable-rightbutton.sh 12 for it to work on my system.

    ReplyDelete
  2. Awesome......
    Simple and working solution
    Thanks a lot...

    ReplyDelete
  3. Left and Right buttons working OK on touchpad, but the scrolling area is not working at all. Any help on a fix for this?

    ReplyDelete