Last active
January 13, 2025 19:58
-
-
Save j1cs/a30dbc1838b269790a358c73003c5161 to your computer and use it in GitHub Desktop.
force display using xrandr
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
xrandr --query | |
xrandr --output VNC-0 --mode 2048x1280 | |
cvt 2048 1280 | |
xrandr --newmode "2048x1280_60.00" $(cvt 2048 1280 | grep Modeline | cut -d' ' -f 3-) | |
xrandr --addmode VNC-0 "2048x1280_60.00" | |
xrandr --output VNC-0 --mode "2048x1280_60.00" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment