How to disable horizontal scrolling within virtualbox on Ubuntu guest, Windows 7 host?
- by Steven Rosato
I am using Windows 7 as Host, Ubuntu Karmic as guest OS with guest tools installed and I get an annoying glitch when switching from host to the guest machine: Vertical scrolling switches to horizontal! (using the mouse wheel). Since I don't really care about horizontal scrolling, how can I disable this?
I have checked the web and the only thing I found was to play in the xorg.conf file and adding in the section "InputDevice"
Option "ZAxisMapping" "4 5"
which would enable vertical scrolling only. The thing is, I don't have that section in my config file so I guessed that I would need to add
Section "InputDevice"
Identifier "VBoxMouse"
Driver "vboxmouse"
Option "ZAxisMapping" "4 5"
EndSection
But that does not seem to work after restarting xserver.
Any workaround for this?