You are not logged in.

#1 2016-03-27 02:17:22

M4c1ek
New Member
Registered: 2016-03-27
Posts: 2

[Solved] reversing mouse scroll direction (trackpad)

BL noob here (BTW, loving it; just dusted off an old Acer Aspire One A520 and loaded BL on it). I've searched forums but was unable to find anything on this: how does one reverse the direction of mouse scroll (well, in my case, the two finger drag on the trackpad)?

Offline

#2 2016-03-27 05:21:31

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [Solved] reversing mouse scroll direction (trackpad)

You can do that by changing two settings using synclient. Open ~/.config/openbox/autostart, you'll see a line like so:

synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null

Now, open another terminal and run just

synclient | grep Delta

and take note of the values of the variables

VertScrollDelta         = 75
HorizScrollDelta        = 75

In my case, 75 (yours might be different). Change the line in the autostart file to set these variables to the values you find on your machine multiplied by -1, like so:

synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1  HorizScrollDelta=-75 VertScrollDelta=-75 2>/dev/null

This will invert the scrolling direction; you obviously can choose to only invert vertical scrolling but not horizontal scrolling, if you prefer, or vv.

Activate the change by just running this command line in another terminal, or by logging out and in again.

Offline

#3 2016-03-27 10:04:39

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: [Solved] reversing mouse scroll direction (trackpad)

Offline

#4 2016-03-27 10:42:08

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [Solved] reversing mouse scroll direction (trackpad)

Classic example why picking meaningful subjects does make things much easier. I saw that title and didn't look more closely because it didn't say anything specific.

Offline

#5 2016-03-27 13:39:36

M4c1ek
New Member
Registered: 2016-03-27
Posts: 2

Re: [Solved] reversing mouse scroll direction (trackpad)

Thank you both, that worked.

Incidentally, I think I did not hit on the prior post because in all my searches I think I included the term "mouse" (thinking scrolling with mouse & trackpad will have the same solution). hmm

Offline

Board footer

Powered by FluxBB