1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 21:17:56 +01:00
tldr/pages/linux/xrandr.md
Jeroen Meulemeester b63075e51f xrandr: add page
2015-12-31 13:24:15 +01:00

23 lines
625 B
Markdown

# xrandr
> Set the size, orientation and/or reflection of the outputs for a screen
- Display the current state of the system (known screens, resolutions, ...)
`xrandr --query`
- Disable disconnected outputs and enable connected ones with default settings
`xrandr --auto`
- Change the resolution and update frequency of DisplayPort 1 to 1920x1080, 60Hz
`xrandr --output {{DP1}} --mode {{1920x1080}} --rate {{60}}`
- Set the resolution of HDMI2 to 1280x1024 and put it on the right of DP1
`xrandr --output {{HDMI2}} --mode {{1280x1024}} --right-of {{DP1}}`
- Disable the VGA1 output
`xrandr --output {{VGA1}} --off`