The trick is to use the newer
--rotate instead of -o which needs to be used with a --output argument:|
1 2 |
xrandr --output "$internal" --rotate "$xrandr_rotation" |
Examples
|
1 2 3 4 5 |
xrandr --output LVDS1 --rotate left xrandr --output LVDS1 --rotate right xrandr --output LVDS1 --rotate normal xrandr --output LVDS1 --rotate inverted |
Use xrandr –listmonitors to see all names of screens. You may got DSI-1, HDMI-1, etc.
--like so:xrandr --output VGA1 --auto --output HDMI2 --auto --right-of VGA1or for|-like so:xrandr --output VGA1 --auto --pos 0x0 --rotate left --output HDMI2 --auto --pos 1200x300