Kali Linux inverted scroll direction

21,316

Solution 1

This seemed to be what i was looking for: How to *disable* natural scrolling?... enter this at the command line:

    gsettings set org.gnome.desktop.peripherals.mouse natural-scroll false
    gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false

Solution 2

To add on to jknox and JoorDaddee's answers (and to address papaiatis's concern):

Turning off "Natural Scrolling" in the settings didn't work for me, and neither did running gsettings set org.gnome.desktop.peripherals.mouse natural-scroll false, since both were already disabled.

What worked for me is running gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false. This fixed both the mouse and the touchpad (unplugging the mouse and plugging it back in made it work if it didn't apply immediately).

To be clear, I'm running Kali in VirtualBox, so I'm not sure if this applies otherwise. Then again, the OP didn't specify what environment he's running Kali in.

Solution 3

I auto - answer to me, I find a solution that works. Invert mouse scroll wheel in debian

I have edit the /usr/share/X11/xorg.conf.d/10-evdev.conf file to add

Option "ButtonMapping" "1 2 3 5 4 6 7 8"

And restart X server.

Solution 4

Or you could have just clicked on the down arrow by the time selected Settings(tools icon on left). Click on Mouse & Touchpad and turned off "Natural Scrolling"

Solution 5

Try this: enter about:config into the Firefox address bar (confirm the info message in case it shows up) and search for the preference named mousewheel.default.delta_multiplier_y. Double-click it and change its value to -100.

Share:
21,316

Related videos on Youtube

Zack
Author by

Zack

Updated on September 18, 2022

Comments

  • Zack
    Zack over 1 year

    I have a problem with my Kali installation. Since I have updated it today, the mouse scrolling is inverted.

    I have tried the .Xmodmap method and also checking 'natural scroll' option but without success.

    Could anybody help me?

  • papaiatis
    papaiatis over 7 years
    That doesn't work for me. Ubuntu 16.10 host, Kali 2016.2 in VirtualBox.
  • karlphillip
    karlphillip about 7 years
    I am running Kali inside Windows 10 and this worked for me.
  • Admin
    Admin almost 2 years
    You have to use xorg, not wayland for this. Verify with echo $XDG_SESSION_TYPE (giving x11) - and pay attention to a capital first x at X11,
  • Admin
    Admin almost 2 years
  • Admin
    Admin almost 2 years
    Thank you for the answer - but doesn't this only affect firefox then?
  • Admin
    Admin almost 2 years
    Just to add some more experience: on 5.15.48-1-MANJARO, you cann't tweak neither Device Accel Constant Deceleration, nor Synaptics Scrolling Distance, but instead I used libinput Natural Scrolling Enabled (320). I could (untested) probably also have used libinput Scrolling Pixel Distance (338) with a negative distance analogous as in my answer. The difference seems to be the pointer driver, libinput here instead of Synaptics. You can work it through exactly like in the answer using commands 1, 2, 3 with 3 being adjusted to xinput --set-prop 11 320 1.