Contents
Configuring the Virtual Machine to Grab Keyboard and Mouse Input
Select:
Edit >
Preferences >
Input
To direct input to the virtual machine, VMware Workstation grabs input from the keyboard and the mouse so all keystrokes, mouse moves and button clicks go to the virtual machine.
By default
- Ctrl-Alt-Enter sends input to the virtual machine and places it in full-screen mode
- Ctrl-Alt releases input from the virtual machine and puts it back into window mode
You can change the following using Edit > Preferences > Input:
If you encounter problems with grabbing and ungrabbing input, see Issues When Grabbing and Ungrabbing Input
How Workstation Starts Grabbing Input
To change the way Workstation starts grabbing input:
- Check Grab keyboard and mouse input on mouse click if you want Workstation to grab input the first time you click your mouse cursor in the virtual machine window. The first click in the window is not sent to the virtual machine.
- Check Grab keyboard and mouse input on key press if you want Workstation to grab the keyboard and mouse input on the first keystroke in the virtual machine window. The first keystroke is sent to the virtual machine.
Note: If you select Grab keyboard and mouse input on key press, you cannot use the normal application and system accelerator key sequences when the virtual machine window is active.
- Check Grab when cursor enters window if you want Workstation to grab the keyboard and mouse input whenever your cursor enters the virtual machine window. The first keystroke and mouse click are sent to the virtual machine.
Note: This can only take effect when VMware Tools is running in the guest operating system.
How Workstation Releases Input Back to the Host and How Your Cursor Behaves
Note: The following settings can only take effect when VMware Tools is running in the guest operating system.
To change the way Workstation releases input back to the host and change the way your cursor behaves:
- Check Ungrab when cursor leaves window if you want to return input to the host whenever your mouse cursor leaves the virtual machine window.
- Check Hide cursor on ungrab so that the cursor is no longer visible in the virtual machine window after input is transferred back to the host. This option makes it easier to keep track of your active cursor if you have multiple virtual machine windows open at the same time.
- Check Scroll when cursor approaches window edge to cause the guest operating system display in the virtual machine window to scroll. This is useful when the virtual machine windows is not in full-screen mode and only part of the guest operating system window is visible and is similar to using the scrollbar of the virtual machine window.
Enabling Copy and Paste To and From the Virtual Machine
Note: VMware Tools must be running in the guest operating system to enable copying and pasting between the host and guest.
Check Enable copy and paste to and from virtual machine to enable copying and pasting between applications on the host and guest. Use the standard methods of copying and pasting in the host and in the guest applications (for example, Ctrl-c and Ctrl-v).
Issues When Grabbing and Ungrabbing Input
When working with grab and ungrab, you may encounter the situations described in the following table.
Situation
|
Explanation
|
Pressing Ctrl-Alt to release the mouse and keyboard causes a laptop to go into suspend mode.
|
VMware Workstation uses Ctrl-Alt to release the mouse and keyboard. Some laptops use this same key combination to suspend the host machine.
In these cases, try using Ctrl and Alt on the right-hand side of the keyboard. Workstation recognizes both sets of Ctrl and Alt keys, while laptops usually only recognize left-hand keys for the suspend function.
|
After pressing Ctrl-Alt to release the mouse and keyboard, the keyboard does not function properly within the host operating system.
|
Sometimes VMware Workstation causes the host operating system to lose keyboard events. This causes the host operating system to think that keys are being pressed when they are not.
If you notice strange keyboard behavior in the host operating system after leaving Workstation, press and release each of the modifier keys individually, including Ctrl, Shift and Alt. This should release the keys that are stuck in the host operating system.
If this does not work, then try other special keys including the Windows key, Esc and Caps Lock.
|
Pressing Ctrl-Alt does not release the cursor.
|
It could be that the modifier keys are mapped under X (in Linux) in unexpected ways. For example, the left Ctrl key could be mapped to Caps Lock or an Alt key is generating special keystrokes. Please run xmodmap -- km -- kp and submit a support request at www.vmware.com/requestsupport that includes the output.
|
Back to top
© 1998-2003 VMware, Inc. All rights reserved.