How can I make the raspbian desktop look like I am viewing in front of a mirror? (basically backwards) I've already looked in the documentation for config.txt (here is a link) and tried to use rotate, but it seems that it rotates the hdmi, not the actual desktop. (but I don't know, because I use RDP) Can somebody please help me figure this out?

  • Only time I’ve seen this done (for a back projector) was in the display driver. A quick check in the x11 manual shows rotation and not flip.
    – user115418
    Jun 29, 2020 at 21:31

1 Answer 1


The option you are looking for is


in https://www.raspberrypi.org/documentation/configuration/config-txt/video.md:

value 0x10000 should perform a horizontal flip, 0x20000 a vertical one.

  • By the name, that rotates hdmi. I've tried that and it dint work.
    – Bob Joe
    Jun 30, 2020 at 23:21
  • If you use a gpio screen, you'll need to see if the manufacturer driver allows flipping. For instance, mine don't. Also, I don't think RDP has flipping setting (portrait seems to be ok, but no flip). Do you need all desktop or only your app to be flipped ? If only your app, it could be easier to flip what you show.
    – tqhien
    Jul 1, 2020 at 7:18
  • Desktop, and I dont need RDP to be flipped.
    – Bob Joe
    Jul 2, 2020 at 1:49

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.