Home > Linux, MacBook Air > Adjust Linux Mint Mouse Scroll (Normal/Reverse)

Adjust Linux Mint Mouse Scroll (Normal/Reverse)

December 8th, 2011 Leave a comment Go to comments

When you install Linux Mint and install the Mtrack Multitouch drivers, as explained here. Or through the script explained in my other blog post, found here. You will have the system mouse scroll setup in the same manner as Mac OSX Lion, which is the opposite to what everyone has been using until now.

To adjust the mouse scroll you need to adjust the “.Xmodmap” file found in you home directory “~/”, to achieve this run the following command in a terminal

sudo gedit ~/.Xmodmap

You will see a file as below, you need to adjust the highlighted values

If these two values are set as “4 5″ then your scroll is normal, however if they are set to “5 4″ then your scroll is inverted or reversed.

This forum post, outlined a shortcut to adjust these and this is below:

Set Scroll Normal

echo "pointer = 1 2 3 4 5 6 7 8 9 10 11 12" > ~/.Xmodmap && xmodmap .Xmodmap

Set Scroll Inverted/Reverse

echo "pointer = 1 2 3 5 4 6 7 8 9 10 11 12" > ~/.Xmodmap && xmodmap .Xmodmap

Note: I have not personally used the short cut, but thought this was good advice.

  1. May 2nd, 2013 at 04:58 | #1

    Great thanks. Did the trick. I thought I was going mad :)

  2. javabeangrinder
    February 4th, 2014 at 17:39 | #2

    Don’t forget to reverse 6 and 7 as well to get natural scolling in the horizontal direction as well.

    echo “pointer = 1 2 3 5 4 7 6 8 9 10 11 12″ > ~/.Xmodmap && xmodmap .Xmodmap

  1. No trackbacks yet.
*

%d bloggers like this: