xrandr --output HDMI-1 --mode 1920x1080

Category: Administration

xrandr --output HDMI-1 --mode 1920x1080

Set a display resolution

The --output flag names a display and --mode picks one of its supported resolutions, so this switches HDMI-1 to 1080p. The mode must appear in the plain xrandr listing. Add --rate to also set the refresh rate.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.