I just needed to install the drivers for my graphics card, and I can get more display sizes in the settings display section, silly me!
Enter the following commands in a terminal to enable 1920x1080 resolution:
xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080
xrandr --output Virtual1 --mode 1920x1080
This will set your display resolution to 1920x1080 and also enable several other 16:9 aspect ratio resolutions in the display settings.
Remember that you may have to enable full screen mode in VMWare before these resolutions become selectable.
Below is a batch script that will emulate the keyboard strokes to manipulate the GUI to adjust the Scale and layout options and Change the size or text, apps, and other items when it runs. This uses to open the Display screen, and then it presses the tab key once and the up arrow 5 times using sendkeys to adjust the scale accordingly. It will press Alt+F4 at the end keys to close the screen once it completes. This method builds a dynamic vb script with a batch script and then executes the vb script with cscript to emulate pressing the keyboard keys.ms-settings:display
Note: Just save this to a text file with a or .bat extension and execute it to run..cmd
@ECHO OFF
explorer ms-settings:display
ping -n 2 127.0.0.1 > nul
:VBSDynamicBuild
SET TempVBSFile=%tmp%\~tmpSendKeysTemp.vbs
IF EXIST "%TempVBSFile%" DEL /F /Q "%TempVBSFile%"
ECHO Set WshShell = WScript.CreateObject("WScript.Shell") >>"%TempVBSFile%"
ECHO Wscript.Sleep 500 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "{TAB}{UP 5}" >>"%TempVBSFile%"
ECHO Wscript.Sleep 500 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "%%{F4}" >>"%TempVBSFile%"
CSCRIPT //nologo "%TempVBSFile%"
EXIT
I was able to solve the issue by executing:
xrandr --output DVI-I-0 --fb 2560x1440 --panning 2560x1440 --scale 1.333x1.333 --rate 60
(Don't copy+paste it into your system, try it with your variables!)
You can try tool.xrandr
First run and look for a line with resolution like xrandr --verbose. The name of your display (LVDS1 connected 1024x600+0+0 in this example) is needed here. Now you are ready to set brightness:LVDS1
xrandr --output LVDS1 --brightness 0.4
sets software, not hardware brightness so you can exceed both upper and lower limits:xrandr
xrandr --output LVDS1 --brightness 1.7
xrandr --output LVDS1 --brightness -0.4 #negative value is also possible
xrandr --output LVDS1 --brightness 1