Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Two-fingered scrolling is working fine, but is there a way that I can reverse the direction? It seems backwards opposed to the way OSX does it.

share|improve this question

5 Answers

The reverse scrolling you're talking about is called "natural scrolling," and can be enabled several different ways in Ubuntu. Here's an article on OMG! Ubuntu! detailing how to install the software that will get you what you need. If you're familiar with Ubuntu Tweak, you can also enable it in the latest release.

share|improve this answer
Awesome, thanks. "Natural Scrolling" in Ubuntu Tweak messes with the mouse as well, I'll see if the .Xmodmap tweak works. – TK Kocheran Dec 30 '11 at 4:05
1  
+1 for Ubuntu Tweak – ioSamurai Feb 9 at 15:44

I don’t know which version of Ubuntu you’re using, but in 13.04 (and I guess in 12.10) it’s possible via touchpad settings.

So first, open System Settings > Mouse and Touchpad. As seen in the screenshot below if there’s an option for content sticks to fingers, check it. Then the scrollbars will work in reverse direction.

Content sticks to fingers

This is accessible via Dconf Editor as well. Go to org > gnome > settings-daemon > peripherals > touchpad and check natural-scroll.

enter image description here

share|improve this answer
Finally, it's about time they implement something like this :) – TK Kocheran Mar 18 at 17:37
I didn't consider the date of question! :D – AliNa Mar 18 at 18:13
I think this is essential for Ubuntu Touch, where you move the content itself instead of scrollbar slider. – AliNa Mar 18 at 20:35

The naturalscrolling package doesn't seem to work for Ubuntu 12.10. I installed Ubuntu Tweak:

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

and you can adjust scrolling at

Tweaks -> Miscellaneous -> Natural Scrolling

share|improve this answer

The simplest and IMHO the best way to achieve this on Ubuntu 12.10 is:

sudoedit /usr/share/X11/xorg.conf.d/50-synaptics-conf

add those lines in the Section "InputClass"

Option "VertScrollDelta" "-111"
Option "HorizScrollDelta" "-111"

reboot and have fun with natural scrolling :)

If you want to try your settings without reboot, you can use synclient

synclient VertScrollDelta=-111
synclient HorizScrollDelta=-111

The changes are immediately applied, but won't stay after reboot if you don't add them in 50-synaptics-conf file.

share|improve this answer

Based on this blog, the script below worked for me on Ubuntu 12.04. It sets your touchpad's horizontal and vertical scrolling scale-factors both to negative values (which usually ensures "natural" scrolling). It does it "under the hood" so all your applications will be affected, even those that don't pay attention to the settings adjusted by tweakUI. Several unnecessary commands and comments are there just so you can see what's going on. You'll probably want to turn off any natural scrolling settings in TweakUI or similar.

xinput list | grep "[Tt]ouch" | grep "id=([0-9]+)"
# ⎜   ↳ SynPS/2 Synaptics TouchPad                  id=11    [slave  pointer  (2)]
id=`xinput list | grep -Po "[Tt]ouch[^=]*id=[0-9]+" | grep -Po [0-9]+`
xinput --list-props $id | grep "Scrolling Distance"
# Synaptics Scrolling Distance (269):    -107, -107
# Synaptics Circular Scrolling Distance (282):    0.100000
prop_id=`xinput --list-props $id | grep -P ".*[^C][^i][^r][^c][^u][^l][^a][^r]\sScrolling Distance" | grep -Po '\([0-9]+\)' | grep -Po "[0-9]+"`
prop_xy=xinput --list-props $id | grep -P ".*[^C][^i][^r][^c][^u][^l][^a][^r]\sScrolling Distance" | grep -Po '\s+[-+]{0,1}[0-9]+\,\s*[-+]{0,1}[0-9]+' | tr -d '-'
xinput --list-props $id | grep -P ".*[^C][^i][^r][^c][^u][^l][^a][^r]\sScrolling Distance" | grep -Po '\s+[-+]?[0-9]+[,]?' | tr -d '-' | tr -d ',' | tr ' \t' '-' | xargs xinput --set-prop $id $prop_id
nautilus -q
nautilus -n &
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.