Solved: Chrome/Chromium mouse cursor troubles in Linux on VirtualBox

Well, not solved. But worked-around.

Chrome and Chromium 42 (and I’ve read 41 as well) have a weird mouse cursor problem in Linux on VirtualBox where the cursor wouldn’t change to a text cursor instead of an arrow pointy thingy.

Long story short: it’s a bug in Chrome/Chromium and here’s how to work around it:

Kamal says:
edit ‘/opt/google/chrome/google-chrome’ file and add ‘–touch-devices=123’ in last couple of lines as shown below. You are all set to go

#sudo vi /opt/google/chrome/google-chrome

if [[ -n "$CHROME_USER_DATA_DIR" ]]; then
# Note: exec -a below is a bashism.
exec -a "$0" "$HERE/chrome" \
--user-data-dir="$CHROME_USER_DATA_DIR" --touch-devices=123 "$@"
exec -a "$0" "$HERE/chrome" --touch-devices=123 "$@"

And Akger says:
fix also works with chromium



and change the Exec-statement to

Exec=chromium-browser %U --touch-devices=123

Mainly documenting this here for my own use. Should be solved in newer Chrome/Chromium versions.


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to Top