====== Ubuntu - Display - Set a different resolution ======
===== Set a different resolution =====
Use **xrandr** to set a different resolution.
xrandr --output HDMI-1 --mode 1920x1080
**NOTE:** The resolution must be list if supported resolutions.
* Changes made using **xrandr** will only last through the current session.
----
===== Set a different resolution, when multiple refresh rates are present in the list =====
When multiple refresh rates are present in the list, it may be changed by the **--rate option**, either at the same time or independently.
xrandr --output HDMI-1 --mode 1920x1080 --rate 60
----
===== Set to the maximum resolution =====
Use the **--auto** option.
xrandr --output HDMI-1 --auto
----
===== Set to the resolution for multiple monitors =====
It is possible to specify multiple outputs in one command, e.g. to turn off HDMI-1 and turn on HDMI-2 with preferred resolution:
xrandr --output HDMI-1 --off --output HDMI-2 --auto
----
===== References =====
https://wiki.ubuntu.com/X/Config/Resolution