How to disable horizontal scrolling within virtualbox on Ubuntu guest, Windows 7 host?
Posted
by Steven Rosato
on Stack Overflow
See other posts from Stack Overflow
or by Steven Rosato
Published on 2010-03-28T14:49:53Z
Indexed on
2010/03/28
14:53 UTC
Read the original article
Hit count: 336
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?
© Stack Overflow or respective owner