xrandr
xrandr # current screen configuration
xrandr --output <output_name> --mode <resolution>
eg: xrandr --output HDMI-1 --mode 1920x1080
To add an undetected or custom resolution:
- cvt <width> <height> <refresh_rate>
- eg: cvt 1920 1080 60
- xrandr --newmode "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
- xrandr --addmode <output_name> "1920x1080_60.00"
- xrandr --output <output_name> --mode "1920x1080_60.00"