Portrait Mode Available?

Is there any way to get “portrait mode” support? Ie, support for a monitor that’s flipped on the short edge?

Hello @infochuck, I am imagining you are talking about the balenaDash project.

You can rotate the screen 90° by adding the variable BALENA_HOST_CONFIG_display_rotate with the value of 1.

You can also get more information about this part here: https://www.balena.io/blog/assembling-the-official-raspberry-pi-touchscreen/

display_rotate=0 Normal
display_rotate=1 90 degrees
display_rotate=2 180 degrees
display_rotate=3 270 degrees
display_rotate=0x10000 horizontal flip
display_rotate=0x20000 vertical flip

Let me know if this answers your question.

Thank you

Yes! That very much answers my question, thanks VERY much for your time!

1 Like

@infochuck I am glad it worked! :slight_smile: