Skip to content

Instantly share code, notes, and snippets.

@tribut
Created July 5, 2019 10:02
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tribut/0b6269521683cf27d636bb0d6e2b2db0 to your computer and use it in GitHub Desktop.
Save tribut/0b6269521683cf27d636bb0d6e2b2db0 to your computer and use it in GitHub Desktop.
Workaround for VirtualBox and dark mode themes
#!/bin/sh
# This is a workaround for Virtualbox drawing white text on light background
# when using dark mode, see https://www.virtualbox.org/ticket/18258
exec "$(which -a VirtualBox | grep -v "$(readlink -e "$0")" | head -n1)" -style Fusion "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment