[Solved] CTRL + C does not work unless keyboard is captured, but then mouse can't leave screen
Posted: 16. Feb 2018, 00:34
Hi all,
For some context:
I am using a dual-monitor setup with an Ubuntu machine on the left and a Windows laptop on the right.
The Ubuntu machine is hosting a Linux VirtualBox VM.
I use Synergy to move my mouse between the two monitors.
I have 2 problems, which are tied together:
1. CTRL + C does not work in my Linux VM unless I let the VM capture my keyboard. Only CTRL + C does not work - all other CTRL commands work even if the keyboard is not captured.
2. When the keyboard is captured by VirtualBox, the Linux VM does not allow the mouse to leave the screen. When I try to move my mouse from my left Linux monitor to my right Windows monitor, the mouse disappears and the Synergy logs display: "WARNING: can't leave screen".
So currently, I can either retain use of the CTRL + C command on my Linux VM or be able to move my mouse between screens, but not both.
An answer to any one of the two problems will be enough to resolve my situation, i.e.:
1. Is there a way to make the CTRL + C command work on the Linux VirtualBox VM without capturing the keyboard?
2. Is there a way to allow my mouse to leave the screen while the keyboard is captured by VirtualBox?
Currently, I have disabled "Auto Capture Keyboard" on VirtualBox, and am using the host key to manually capture/release the keyboard depending on whether I need to copy-paste or move my mouse between screens. But this becomes tedious quickly, especially in cases where I need to copy-paste text between my Linux VM and my Windows laptop repeatedly.
For some context:
I am using a dual-monitor setup with an Ubuntu machine on the left and a Windows laptop on the right.
The Ubuntu machine is hosting a Linux VirtualBox VM.
I use Synergy to move my mouse between the two monitors.
I have 2 problems, which are tied together:
1. CTRL + C does not work in my Linux VM unless I let the VM capture my keyboard. Only CTRL + C does not work - all other CTRL commands work even if the keyboard is not captured.
2. When the keyboard is captured by VirtualBox, the Linux VM does not allow the mouse to leave the screen. When I try to move my mouse from my left Linux monitor to my right Windows monitor, the mouse disappears and the Synergy logs display: "WARNING: can't leave screen".
So currently, I can either retain use of the CTRL + C command on my Linux VM or be able to move my mouse between screens, but not both.
An answer to any one of the two problems will be enough to resolve my situation, i.e.:
1. Is there a way to make the CTRL + C command work on the Linux VirtualBox VM without capturing the keyboard?
2. Is there a way to allow my mouse to leave the screen while the keyboard is captured by VirtualBox?
Currently, I have disabled "Auto Capture Keyboard" on VirtualBox, and am using the host key to manually capture/release the keyboard depending on whether I need to copy-paste or move my mouse between screens. But this becomes tedious quickly, especially in cases where I need to copy-paste text between my Linux VM and my Windows laptop repeatedly.