How to disable horizontal scrolling within virtualbox on Ubuntu guest, Windows 7 host?
- by Steven Rosato
This post is a duplicate from superuser.com, but since I had no answers, I started to doubt it was a user question and maybe more of a programming question (because of the configuration files), so here it is:
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?