вторник, 26 мая 2009 г.

Прокрутка колесиком мыши и настройка разрешения в гостевой Ubuntu 9.04 под VirtualPC 2007

Мышь1.- Open the terminal (Applications > Accessories > Terminal)

2.- Enter the commands:

sudo modprobe -r psmouse

sudo modprobe psmouse proto=imps


3.- Then enter:

cd /etc/modprobe.d/

4.- Then edit the options file:

sudo gedit options

5.- Type in the following:

options psmouse proto=imps

6.- Save the file and reboot

Разрешение:
You need to edit /etc/X11/xorg.conf
Here's what I have:

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "vesa"
#Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 30-70
VertRefresh 50-160
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "896x600" "800x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection