Skip to content

Instantly share code, notes, and snippets.

@visortelle
Created September 9, 2024 04:46
Show Gist options
  • Save visortelle/a26935b77a375653aa72a1af572deaf6 to your computer and use it in GitHub Desktop.
Save visortelle/a26935b77a375653aa72a1af572deaf6 to your computer and use it in GitHub Desktop.
VMWare Ubuntu
Tweak Ubuntu
- Set scaling for 4k monitor
sudo vim /usr/share/glib-2.0/schemas/90_hidpi.gschema.override
[org.gnome.desktop.interface]
scaling-factor=2
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
- Override Caps Lock to Ctrl
- Switch to another input source
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L', '<Shift>XF86Keyboard']"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Alt>Shift_L', 'XF86Keyboard']"
Tweak Host
- Disable power throtling for VMWare
https://community.broadcom.com/vmware-cloud-foundation/communities/community-home/digestviewer/viewthread?MessageKey=b5cf97ff-aae3-49e5-af21-3239d444793d&CommunityKey=fb707ac3-9412-4fad-b7af-018f5da56d9f#bmb5cf97ff-aae3-49e5-af21-3239d444793d
powercfg /powerthrottling disable /path "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe"
Troubleshooting
- Not netwrok in Ubuntu
nmcli network on
- Black screen
- Setttings -> Power -> Screen blank -> Never
- Exit full screen
- Enter full screen
https://www.reddit.com/r/vmware/comments/1cfrxcl/when_i_use_the_new_ubuntu_2404_lts_the_screen/
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt update
sudo apt upgrade
- Mouse scroll doesn't work while cursor moving
https://www.reddit.com/r/Ubuntu/comments/o3t2ma/ubuntu_2004_virtual_environment_mouse_scrolling/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment