Skip to content

Instantly share code, notes, and snippets.

@docPhil99
Created September 26, 2025 09:23
Show Gist options
  • Save docPhil99/f2321185d5f1dba91dedc4b35193df82 to your computer and use it in GitHub Desktop.
Save docPhil99/f2321185d5f1dba91dedc4b35193df82 to your computer and use it in GitHub Desktop.
Wake up a sleepy monitor

Since updating Linux Mint's Nvidia driver, I've found my second monitor is not waking up at boot.

Running xrandr | grep ' connected' gives:

eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
DP-1-0 connected (normal left inverted right x axis y axis)

So the monitor is connected. eDP-1 is my laptop display, DP-1-0 is the second monitor running on displayport. If in doubt run xrandr without the grep to try and work out which is which by looking at the resolutions

Some solutions recommend xset dpms force on to wake up the monitor. This did not work for me. Instead I reset the layout using

xrandr --output eDP-1 --mode 1920x1080  --output DP-1-0 --mode 2560x1440 --right-of eDP-1 --primary

Here I've set the resolutions, layout of the monitors with --right-of eDP1 and set the primary monitor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment