I have a pivot monitor and want to set it up correctly. First you get a list of your connected displays with the command
xrandr -q
This says something like
HDMI-0 connected 1920×1200+1920+0 (normal left inverted right x axis y axis) 593mm x 371mm
1920×1200 59.95*+ 59.88
1920×1080 60.00 59.94 50.00 60.05 60.00 50.04
1680×1050 59.95
1600×1200 60.00
1440×900 59.89
1400×1050 59.98
1280×1024 75.02 60.02
1280×960 60.00
1280×720 60.00 59.94 50.00
1152×864 75.00
1024×768 75.03 70.07 60.00
800×600 75.00 72.19 60.32 56.25
720×576 50.00 50.08
720×480 59.94 60.05
640×480 75.00 72.81 59.94 59.93
480×576 50.00
480×480 59.94
And if you have more than one displays this is repeated with e.g. HDMI-1 if bot are connected via HDMI. For display port it says DP-0 and so on.
To rotate this display there are the the following commands:
# set to normal rotation again xrandr --output HDMI-0 --rotate normal # rotate 90° left xrandr --output HDMI-0 --rotate left # rotate 90° right xrandr --output HDMI-0 --rotate right