Where to configure synaptics touchpad to use inverted two finger scrolling?
I want to configure my synaptics touchpad to user inverted scrolling with two fingers.
Where to configure synaptics for this in Ubuntu 12.04?
It is relatively straightforward to do this, but it may not work for all touchpads, although it worked for my Synaptics Touchpad on my old laptop. I began experimenting with mine and using xinput
, etc, and did mostly the same as this useful article here.
Firstly, run xinput
to list all your devices, and note the id of your touchpad.
↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
Now to get your button map for the device number found:
xinput get-button-map 11
which should return something like this:
1 2 3 4 5 6 7 8 9 10 11 12
Now, just reversing 4 and 5 should invert the 2 finger scrolling (at least it does on my system). In the following command, just remember to use your device hardware id (not my example 11
) and leave spaces between the numbers after the device number:
xinput set-button-map 11 1 2 3 5 4 6 7 8 9 10 11 12
Now with xinput get-button-map 11
the button map should be
1 2 3 5 4 6 7 8 9 10 11 12
Now, check it in your web browser. This of course only sets it temporarily, so it is probably easiest to add it as a startup item rather than messing with xorg
. Just create a new startup item and add the whole of the above xinput set-button-map
command in it. It is critical that there are spaces between the numbers after your device number, and of course use the actual device name of your hardware, not my example.
Again, see the article and Ubuntu forums for more information and discussion- you can probably experiment and invert a lot of the other functions of the touchpad as well; you can reset your experimentation (which is temporary anyway, unless you put a command in startup) by just simply placing the numbers in order again:
xinput set-button-map 11 1 2 3 4 5 6 7 8 9 10 11 12
The Arch Linux Wiki has a good tutorial at:
https://wiki.archlinux.org/index.php/Synaptics_Touchpad#Configuration
The only major requirement is an understanding of how to edit configuration files.
The main point to focus on at this URL is setting VertScrollDelta (and HorizScrollDelta if you enabled horizontal scrolling) to a negative value. What I do is take the previous value of this variable and set it to itself with a minus sign in front of it (e.g. instead of 106, use -106).
If Linux isn't your expertise, I'd suggest you read the entire article to gain a basic understanding of what to do.
Hope this helps.
I suppose the best way to do this is by using dconf-editor:
- Open Terminal
- Type in deconf-editor and hit Enter
- Now go to org>gnome>settings-daemon>peripherals>touchpad and now you can make most of the changes you want
Here's a screenshot of deconf-editor: