You are not logged in.

#1 2015-07-13 23:10:37

frumble
Member
From: Germany
Registered: 2012-05-20
Posts: 166
Website

Horizontal 'natural' scrolling through xmodmap doesn't work [SOLVED]

Hey, I'm using a Magic Trackpad with KDE Plasma '4'. For OS X-like natural scrolling (reverse direction) I wanted to use this line in my .~Xmodmap:

pointer = 1 2 3 5 4 7 6 8 9 10 11 12

But this doesn't change anything.

$ xmodmap .Xmodmap 
Warning: Only changing the first 12 of 24 buttons.
$

Only setting reverse mouse scroll direction via KDE system settings works – but only in vertical direction, there is no option to reverse the direction of horizontal scrolling. I had this already working somehow but maybe things have changed with the Plasma 5 and KF5 packages? Would very appreciate some help here! smile

Last edited by frumble (2015-07-16 02:35:44)

Offline

#2 2015-07-16 02:42:10

frumble
Member
From: Germany
Registered: 2012-05-20
Posts: 166
Website

Re: Horizontal 'natural' scrolling through xmodmap doesn't work [SOLVED]

Got around this:

Created a config file for my three mice:
/etc/X11/xorg.conf.d/20-natural-scrolling.conf

Section "InputClass"
    Identifier "Natural Scrolling"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Option "VertScrollDelta" "-1"
    Option "HorizScrollDelta" "-1"
    Option "DialDelta" "-1"
EndSection

Tried lots of tips to set this in the Synaptics driver for the Magic Trackpad without luck. But it works manually with the command "synclient"!
So, I created a script:

#!/bin/sh
sleep 1
synclient VertScrollDelta=-100
synclient HorizScrollDelta=-100
exit

made it executable, and put it into KDE Plasma's autostart. "sleep 1" is necessary, else nothing happens.

Last edited by frumble (2015-07-16 03:14:46)

Offline

Board footer

Powered by FluxBB