Lubuntu – two finger right click emulation

I use Mac OS X all day at work, and Linux at home.  One thing I have come to miss was being able to use two fingers to click and have it come up as a right click.  Now I know how to do this in Lubuntu.

First you need to install synclient:
sudo apt install xserver-xorg-input-synaptics

By default, two finger clicking should work now.  If you need two finger scrolling though, you’ll need to turn that on with these commands:
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1

If you are okay with scrolling “normal” you are done.  If you want it to scroll “natural” (like I do), then you have one more step.  You need to change the directional deltas to negative values.  Stock value is 73, so I set them to -73 to start with.  For my laptop this was to quick and I needed to slow it down with a larger valued delta.  I used -120 with these commands:  
synclient VertScrollDelta=-120
synclient HorizScrollDelta=-120

If you need to make more changes, you can see all values by just running the synclient command.

Some useful options are the TapButton1, TapButton2, and TapButton3.  These all control how many fingers are tapping.  If you want a 2 finger tap to do a right click you set it to TapButton2=2 etc.  ClickButton1, 2, 3 are the same concept but controlling what happens when X amount of fingers make a physical click.

It turns out I forgot an important step.  You need to make these active on login or the settings revert on reboot.   To do this, I made one long string and inserted it into an Autostart in Session Settings.  Mine looks like this:
synclient VertTwoFingerScroll=1 VertScrollDelta=-120 HorizTwoFingerScroll=1 HorizScrollDelta=-120

This entry was posted in Computers and Hardware, Hobbies, Technology, Upgrade. Bookmark the permalink.

Comments are closed.