Last active
December 6, 2020 16:11
-
-
Save Cobesz/f4a700a828a62fe12d2d31917ee86725 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xrandr --output HDMI-0 --mode 1920x1080 --rate 60.00 \ | |
--output DVI-D-0 --mode 1920x1080 --rate 60.00 | |
sleep 5 | |
xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 60.00 \ | |
--output DVI-D-0 --mode 3840x2160 --rate 60.00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this to a startup script on Linux based OS'es if you have the following setup:
Left monitor: 4k display
Right Monitor: 1080p display
This bugged for for days. It solved my problem of having a black 4k display on boot.