So I have the 7" Raspberry Pi touchscreen and on Raspbian I used the command sudo nano /boot/config.txt and I would add the line lcd_rotate=2 and this would flip the display, I have booted Kali on to my SD card now and I try to run the same commands, but this does not flip the display, and neither does display_rotate=2. Does anyone know how I do this?

1 Answer 1


Needed to mount /boot first using mount /dev/mmcblk0p1 /boot You can then go in to the config.txt file using sudo nano /boot/config.txt and add the line lcd_rotate=2. ctrl+x, y, Enter, and then reboot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.