I’m also new to Linux and just posted a very similar question recently. I answered my own post with what worked for me. The research was challenging but once discovered the solution was easy. Here is my post link...
How to add 1920x1080 Display option and make it survive restart
Also a link to where I found the answer...
1 - Open System Settings > Displays and change the resolution manually. If you see a "fake" secondary screen disable it as well.
2 - Open AppCenter and go to the Updates tab. Wait for it to load, and install the graphics drivers for your system.
Nice job with the screen shots. After the next bits of info you should be able to go back into System Settings/Displays and select your monitors aspect ratio. It will not survive a restart however and we will try and fix that after this part succeeds. So here we go. First you will apply 2 codes in the terminal.
sudo xrandr --newmode "...
Type in terminal command:
to shows the exact names of displays
This one shows VGA (15-pin blue connector), HDMI, Display Port and LVDS (laptop screen):
xrandr -q | grep 'VGA\|HDMI\|DP\|LVDS'
This is a sample command to turn off LVDS-1 and enable VGA-1:
xrandr --output LVDS-1 --off --output VGA-1 --auto
To switch back:
xrandr --output VGA-1 --...
Finally I found working solution. Here it is:
gsettings set org.gnome.desktop.screensaver lock-delay 3600
gsettings set org.gnome.desktop.screensaver lock-enabled false
gsettings set org.gnome.desktop.screensaver idle-activation-enabled false
killall gnome-screensaver ; xset dpms force on
This is a bug I've seen since first using eOS 0.4. Only solutions I have found to this are a) Configuring the monitors side by side instead of vertical, or b) Setting the external monitor to be primary (press the star icon in settings).
It has been a long time since I posted the question.
As a workaround up until now I purged all the NVIDIA drivers and installed and added video=VGA-1:d this the grub file, which seemed to work fine.
Yesterday I had to clean up my system completely. So after a fresh install of elementary OS (from: elementaryos-5.1-stable.20200603....
The idea would be to tell lightdm to use the same settings that you use for the monitors.
So, login into elementary with the external monitor connected, set up your displays the way you want in System Settings -> Displays (mark the external display as primary by clicking its star in the upper left corner). Save you configuration.
Now, copy the ~/.config/...
Instead of closing the lid of the laptop you can use the cycle display modes shortcut Super+p. On both of the laptops I use there is such a function key also. If I do it like this after the resume of suspend it enables the same monitor as before the suspend. Also, if you want to skip logging in on wakeup, you can set this using System settings > Security &...
The procedure, as posted by @Carlos, is confirmed to be working:
Open a terminal window and execute sudo vmplayer OR modify the VMware Workstation Player .desktop file as outlined in the original answer
Confirmed with the following system and drivers:
elementaryOS Hera 5.3.0-26-generic
VMware Workstation Player 15.5.1 build-15018445
Nvidia driver 340.107