Autorotate SDDM login screen


I just installed the KDE version of Manjaro on a partition of my laptop. It’s an 2 in 1 laptop with a reversible monitor.

So I installed iio-sensor-proxy and the git version of screenrotator. Now on Plasma, the rotation of the screen works well but not on the SDDM login screen.

I tried to add the executable command screenrotator in this file /usr/share/sddm/scripts/Xsetup:

# Xsetup - run as root before the login dialog appears                          

But it didn’t work. I don"t if screenrotator has been started on the SDDM Login screen or if it must be started with some options.


I have uninstalled SDDM and installed GDM which autorotate the screen.

1 Like

I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.


However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

P.S. In the future, please don’t forget to come back and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.