1

As mentioned above, my screen loves to rotate 90 degrees after login. Standard Ubuntu installed. This input turns it normal again:

felix@felix-LIFEBOOK-T4220:~$ xrandr --output LVDS1 --rotate normal

I have to mention that this problem occured once I pressed the extra button for rotation. The button works like a charm but ince that, this prob just occured.

Thank you for your help.

lixl03
  • 13

1 Answers1

1

That is a confirmed bug in 14.04 after using the button, the screen rotates on the next restart. There's a workaround mentioned there to fix it.

an init-script, that removes monitors.xml and monitors.xml.backup on shutdown and reboot.

Start Gedit as root.

sudo gedit

Copy the following lines

#!/bin/sh
rm /home/USERNAME/.config/monitors.xml
rm /home/USERNAME/.config/monitors.xml.backup
rm /var/lib/lightdm/.config/monitors.xml
rm /var/lib/lightdm/.config/monitors.xml.backup
exit 0

Exchange USERNAME with your own and save the script in /etc/init.d. File-name doesn't matter. I called it "orientation".

After that make the script executable.

sudo chmod +x /etc/init.d/orientation

And create a link to the script, so it gets executed on shutdown an reboot.