Pi 5: How to add "lcd_rotate=1" to startup

March 10, 2024, 19:51

mychoppaeat

I have a raspberry Pi 5 with Ubuntu server 23.10 installed with raspberry pi imager. My display is setup vertical so I need to manually do "echo 1 | sudo tee /sys/class/graphics/fbcon/rotate_all". A guide said this: If you want this to happen automatically when you start your system, you need to modify your boot loader configuration to give it the correct options. In /etc/default/grub add fbcon=rotate:1 to the GRUB_CMDLINE_LINUX line: GRUB_CMDLINE_LINUX="fbcon=rotate:1" (Don't forget to run sudo update-grub after changing this file.)". But I don't think my setup uses grub right? I've also tried setting it inside "/boot/config.txt" but that doesn't work either.