Why cannot I use the middle mouse buttons in the vmwarevm?

Source: Internet
Author: User

 

Ubuntu is installed in VMware, but the middle mouse buttons are not available. Of course, this is unacceptable. I don't know whether it is because of VMware or other installation methods. So I searched the internet and found that this was not a problem that I encountered. Many senior experts also encountered this problem. It would be easier to do this. Thanks for the coolness of people who planted trees. I will share my solutions with you.

Sudo gedit/etc/X11/xorg. conf // here is the configuration file editing. The configuration file can be opened in ubuntu, but it has no modification permission. Therefore, you must enter the configuration file as an administrator to modify the configuration file. Edit it in the opened text.

Set

Option "Protocol" "ps/2"

Replace

Option "Protocol" "IMPS/2"

My xorg. conf was added without this statement.

Ctrl + alt + backspace restart X, still no effect.

I checked it online and found that my configuration was missing:

Option "Emulate3Buttons" "yes"

In addition, my Driver is: Driver "vmmouse"

Generally, the Driver "mouse"

Complete configuration section:

       
        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
       

Now, all the modifications have been completed, and we can use our mouse comfortably.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.