xorg: configure vboxmouse as mouse driver when using vboxvideo driver

This commit is contained in:
Silvan Calarco 2011-08-21 18:02:00 +02:00
parent e459861142
commit c1a77be7ac

View File

@ -294,6 +294,11 @@ if [ "$CONFCREATED" = "1" ]; then
Option "DisableGLXRootClipping" "true"' $XORGCONF
fi
# configure VirtualBox mouse driver
if [ "$VIDEODRIVER" = "vboxvideo" ]; then
sed -i "s|\"mouse\"|\"vboxmouse\"|" $XORGCONF
fi
# Configure fonts
sed -i '/fonts\/Type1/d;s@\(.*X11/fonts.*\)/@\1:unscaled@' $XORGCONF
fc-cache