Comment 8 for bug 1316901

Revision history for this message
Pierre van Male (vmalep) wrote : Re: [Bug 1316901] Re: Wrong screen rotation at login

Thanks,

I will test it.

Rather than entering my username, I put an asterisk "*", as it can be
applied to all the users anyway.

BR
Pierre

2014-06-15 16:57 GMT+03:00 Daniel Holz <email address hidden>:

> I think I found a workaround: 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.
>
>
> sudo update-rc.d orientation start 1 0 6 .
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1316901
>
> Title:
> Wrong screen rotation at login
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/lightdm/+bug/1316901/+subscriptions
>