If you are installing ubuntu under a VM, you must install Vmware-tools for a better experience, including screen resolution, sound, and Windows shared Clipboard, and so on. Click-vm-install vmware tools on the VMware menu at this point, the Linux version of the Vmware tools installation disc image will be loaded automatically under Ubuntu. You will see a disc icon named Vmware tools on the desktop of the virtual machine and is automatically opened. This includes two files of vmwaretools-xxx-i386.rpm and vmwaretools- xxx.tar.gz. If you double-click the rpm file, you will be prompted to say that it is not supported, because rpm is the installation package for RedHat , we need .tar.gz that. Copy that .tar.gz file to the desktop, right-click the menu-Unzip here. will be automatically decompressed to a vmware-tools-distrib directory. Open Terminal (System Application menu-attachments-terminal) Execute the following command line at a time: $CD desktop$ cd vmware-tools-distrib$ sudo ./ vmware-install.pl (you will be prompted to enter your password after carriage return, and the password will not be displayed, indicating that you will perform an action with more advanced permissions--Install the software Again after the installation starts) after confirming the carriage return (equivalent to the many dialogs that are filled in when the software is installed in Windows, we use the default settings here) until the last word "Enjoy--the vmware team" appears. Vmwaretools Finally the installation is complete. If you are using vmware workstation 6.0.0, you should now be able to see the effect of Vmware tools after installation: The mouse will no longer need to switch between virtual and reality with Ctrl+alt, All the transitions are so natural; The resolution of the virtual machine can be automatically adapted to the size of the window, and everything looks so harmonious. In vmware workstation 5.5.3, the Vmware tools under Ubuntu is installed by manual execution/usr/bin/vmware-toolbox to show the effect. You can run it by entering the following command in the terminal: $ /usr/bin/vmware-toolbox But if you're in trouble, we need to get Vmware-toolbox to run automatically. Click on Ubuntu Menu: System--Preferences--session-- startup programs,add a name called "Vmware-toolbox", command is "/usr/bin/ Vmware-toolbox "Start the program. This will automatically run the vmware tools after each boot. Restart Ubuntu to see how it works! (Note: Vmware-toolbox is not hidden in the background run, do not close after startup) Vmware tools is a good thing, but there are side effects, such as: virtual machine in the mouse wheel is not good to make. We solve this problem, or open the terminal, enter: $ sudo gedit /etc/x11/xorg.conf This command enables the system to open the mouse configuration file/etc/x11/xorg.conf with root privileges. Change the option "Protocol" "PS/2" in the file to option "Protocol" "IMPS/2" if there is no option "Protocol" " PS/2 "this line. Just add this line to the virtual mouse column to restart Ubuntu.
Copy a solution:
Install Ubuntu with VMware to solve the problem of free mouse switching:
After you install Vmware-tools, edit the configuration file
sudo gedit/etc/x11/xorg.conf
Find and modify the content:
section "InputDevice"
Identifier "Configured Mouse"
Driver "Vmmouse" #使用vmware的鼠标驱动,
Option "Corepointer" #解决 "effective mouse boundary Confusion" problem
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2" #使用Imps/2 protocol to resolve the "mouse wheel failure" issue.
Option "Zaxismapping" "4 5"
Option "Emulate3buttons" "true"
Endsection
Because of the work, I really can't give up windows, fortunately we have VMware, good things. The
installs the Ubuntu system using VMware, then upgrades, installs the Chinese input method, all goes well.
But when browsing the Web page, accidentally found that the mouse wheel does not work, switch to Windows, the mouse wheel use normal.
This, what's going on?
Baidu a bit, find a lot of articles provided by the solution is
the "Input Device" section of the
Option "Protocol" "PS/2"
replaced by the
option "Protocol" " Imps/2 ",
Follow this method, log out Xwindow, re-enter, the situation remains.
If you also encounter such a problem, do not lose heart, because we are not far away from the victory.
In fact, as long as we continue to add some configuration, we can succeed,
the overall configuration is as follows:
section "InputDevice"
Identifier "configured Mouse"
Driver "Vmmouse"
Option "Protocol" "IMPS/2"
Option "corepointer"
Option "Device"/dev/input/ Mice "
Option" Zaxismapping "" 4 5 "
Option" emulate3buttons "" Yes "
endsection
Log Out re-enter the Xwindow, the cute mouse wheel can finally be used, the internet finally happy.
Problems with the mouse wheel cannot be solved under Ubuntu