How to Set Linux's Display Resolution to 1920x1080 in VMWare

Hack Jul 28, 2017
We underestimate the influence of little things.
- Charles W. Chestnutt

Indeed, the small details in life can have a huge effect on your productivity. This was the case when I had set up a new virtual machine in VMWare Workstation 12.5 that was running Ubuntu 17.04. I quickly found out that there was no 1920x1080 display option within Settings>Displays despite having installed VMWare Tools. The most comfortable display option was 1920x1200, but it quickly became a pain in the *ss to have to scroll the window up and down each time. Luckily, a quick Google search found me the perfect workaround to quickly fix this issue. This should work for most popular Linux distributions including Linux Mint, Kali Linux, ParrotSec OS and Debian OS.

  • First, download the script below using wget command.

Or if you're too paranoid, you could just open up a text editor and paste the code below, then save the file as

xrandr --newmode "1920x1080"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080
xrandr --output Virtual1 --mode 1920x1080
  • Next, you'll want to run the script and let it do its thing.

If you see a 'permission denied' error, just prefix with sudo.

  • Your screen resolution should now be 1920x1080. If you don't want to manually run the script every time you reboot your VM, you can set choose to automatically execute the script at startup by following the below steps.

  1. Open Startup Applications. Click Add

2. Click Browse, Find, choose it and click Open. Then Click Add.

You're all set! Now you can concentrate on debugging writing codeπŸ˜‰


Kifah Meeran (MaskyS)

Hi, I'm Kifah, a creator from Mauritius. I read code, books, and people. I'm also passionate about cogsci, design, programming, and life in general. More about me on

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.