Skip to content

Instantly share code, notes, and snippets.

@Temptationx
Created November 25, 2017 06:49
Show Gist options
  • Save Temptationx/72861990342a891f56369a25ad03d413 to your computer and use it in GitHub Desktop.
Save Temptationx/72861990342a891f56369a25ad03d413 to your computer and use it in GitHub Desktop.
ubuntu强制分辨率
#!/bin/bash
xrandr --newmode "1920x1080_60_001" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
xrandr --addmode VGA-1 "1920x1080_60_001"
xrandr --output VGA-1 --mode "1920x1080_60_001"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment