I know that you can use the Screen Configuration tool from the desktop, but can I set this over ssh? Basically how can I use the Screen Configuration tool in the terminal on PI4?
I figured it out. Screen Configuration tool is just a GUI for XRandR. We can use,
DISPLAY=:0 xrandr --output $monitorName --rotate $orientation
$monitorName is the display name from the output of
EDIT: It seems that the process I described here no longer works with the raspberry PI 4
I didn’t even know that the raspberry PI 4 was a thing yet, haha.
I found a thread here that seems to cover the solution.
Basically, while in the terminal (or SSH) try editing the following config file like so:
sudo nano /boot/config.txt
And then adding ONE of the following flags at the bottom of the file depending on how you want the screen to rotate (don’t include the parts in parentheses):
display_rotate=1 (90 degrees)
display_rotate=2 (180 degrees)
It does look like this approach might also rotate the mouse movement, however if you are using SSH I get the feeling that this won’t be a problem for you.