To rotate the screen, please follow the[[https://www.raspberrypi.com/documentation/accessories/display.html#change-screen-orientation|instructions for the Raspberry Pi]].
+
===== Bookworm and Later (Wayland) =====
-
After rotating the screen, you will need to [[comfilepi:calibrating_the_touch_screen:index|recalibrate the touchscreen]].
+
It is easiest to rotate the touchscreen from the terminal command line. Use the following procuedure:
+
+
* Run the command ''wlr-randr --output HDMI-A-1 --transform 90'' to immediately rotate the screen. Use 0, 90, 180, or 270 to specify the orientation.
+
* Add ''video=HDMI-A-1:800x480M@60,rotate=90'' to ///boot/firmware/cmdline.txt// to ensure the screen is rotated while booting. Use 0, 90, 180, or 270 to specify the orientation.
+
* After rotating the screen [[comfilepi:calibrating_the_touch_screen:index|recalibrate the touchscreen]] to ensure the touchscreen follows the new orientation.
===== X11 =====
===== X11 =====
comfilepi/rotate_the_screen/index.1783475314.txt.gz · Last modified: by mfranklin