Hi,
I have an RPi 5 (8Gb) attached to a 7" Touchscreen (Touch Display 2) which surprised me by booting in portrait mode. As the Pi is currently in a KKSB landscape-oriented stand, I want it in landscape mode.
I've done some research, even found a thread in these forums but as conversations (even technical ones) tend to ramble, I don't really get what I have to do.
From what I can tell, some versions of Linux have a screen configuration utility built in, even the RPi 5 appears to have something similar but it doesn't appear to do what the article claiming it said it would (I couldn't find the utility menus the article described). The same article said there was a command line method which involved adding the following line to some kind of autostart file...
@xrandr --output HDMI-1 --rotate right
...although I wasn't quite sure where said file was because when I opened said file it had nothing in it so I presumed it didn't exist at that point.
The biggest issue appears to be that I'm not using HDMI but a screen called DSI-2, the touchscreen being attached by a ribbon cable.
I think this is simply a matter of configuration (editing some file somewhere) so can anyone tell me simply what it is I have to edit?
Thanks
James
I have an RPi 5 (8Gb) attached to a 7" Touchscreen (Touch Display 2) which surprised me by booting in portrait mode. As the Pi is currently in a KKSB landscape-oriented stand, I want it in landscape mode.
I've done some research, even found a thread in these forums but as conversations (even technical ones) tend to ramble, I don't really get what I have to do.
From what I can tell, some versions of Linux have a screen configuration utility built in, even the RPi 5 appears to have something similar but it doesn't appear to do what the article claiming it said it would (I couldn't find the utility menus the article described). The same article said there was a command line method which involved adding the following line to some kind of autostart file...
@xrandr --output HDMI-1 --rotate right
...although I wasn't quite sure where said file was because when I opened said file it had nothing in it so I presumed it didn't exist at that point.
The biggest issue appears to be that I'm not using HDMI but a screen called DSI-2, the touchscreen being attached by a ribbon cable.
I think this is simply a matter of configuration (editing some file somewhere) so can anyone tell me simply what it is I have to edit?
Thanks
James
Statistics: Posted by JamesCRocks — Sat Jun 28, 2025 6:22 am — Replies 2 — Views 62