Options (3)
-q, --querybooleanDisplay the current state of the system (known screens, resolutions, ...)
Example:
xrandr {{[-q|--query]}}-r, --ratebooleanChange the resolution and update frequency of DisplayPort 1 to 1920x1080, 60Hz
Example:
xrandr --output DP1 --mode 1920x1080 {{[-r|--rate]}} 60-d, --displaybooleanDisplay the current state of any X server
Example:
xrandr {{[-d|--display]}} :{{0}} {{[-q|--query]}}Examples (7)
Display the current state of the system (known screens, resolutions, ...)
xrandr [-q|--query]Disable disconnected outputs and enable connected ones with default settings
xrandr --autoChange the resolution and update frequency of DisplayPort 1 to 1920x1080, 60Hz
xrandr --output DP1 --mode 1920x1080 [-r|--rate] 60Set the resolution of HDMI2 to 1280x1024 and put it on the right of DP1
xrandr --output HDMI2 --mode 1280x1024 --right-of DP1Disable the VGA1 output
xrandr --output VGA1 --offSet the brightness for LVDS1 to 50%
xrandr --output LVDS1 --brightness 0.5Display the current state of any X server
xrandr [-d|--display] :0 [-q|--query]made by @shridhargupta | data from tldr-pages