Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I rotated my screen, an once I login, it works fine. but, the greeter (login) screen hasn't got the message that things are rotated 90 degrees. How can i change the rotation of the login screen?

enter image description here

UPDATE: lock screen is in correct position. I only see this when I boot, or log out.

share|improve this question
add comment

3 Answers

up vote 5 down vote accepted

Add this line to the /etc/lightdm/lightdm.conf file (in the [SeatDefaults] section):


Then make the file /etc/lightdm/greeter_setup.sh with the following contents:

xrandr -o left
exit 0

Then make it executable with sudo chmod +x /etc/lightdm/greeter_setup.sh. Then reboot.

share|improve this answer
Changed to xrandr -o right. worked perfect. –  j0h Jan 24 at 23:00
add comment

Another option that should work is to copy ~/.config/monitors.xml to /var/lib/lightdm/.config . This certainly works for my monitor position and resolution information, so I would assume it would work for rotation too.

share|improve this answer
I will look into it, This is the sort of method I was trying to figure out. –  j0h Jan 24 at 22:59
add comment

Have you tried xrandr -o value? As a value use either left or right

Also you can create a custom shortcut by following this HOW TO

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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