Skip to content

Instantly share code, notes, and snippets.

@ItaloYeltsin
Last active July 5, 2022 16:32
Show Gist options
  • Save ItaloYeltsin/c78c1bcf6cc5c953fc622595a4dd8332 to your computer and use it in GitHub Desktop.
Save ItaloYeltsin/c78c1bcf6cc5c953fc622595a4dd8332 to your computer and use it in GitHub Desktop.
Solving virtualbox click not working

Solving VirtualBox click not working

From time to time in my guest machine (Xubuntu 22.00) mouse clicks stop working properly specially when I'm using the Intelij IDEA IDE. Sometimes also happen with the default Firefox Browser that comes with the system.

In order to solve the problem you can simply run the command bellow:

kill $(ps -aux | grep "VBoxClient --draganddrop" | awk '{print $2}')

then the mouse clicks will immediatelly return to be consistent again. The command will kill all VBoxClient processess that were launched with the argument --draganddrop (see the reference to know more details of the reason why this works).

You can also add a keyboard shortcurt to execute this command in your OS (given that, at least for me, this happen frequently).

References

https://forums.virtualbox.org/viewtopic.php?f=3&t=79034&sid=b619403377f6ba925c84c234ae021a77&start=15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment