[Bug 1316901] Re: Wrong screen rotation at login

2015-04-28 Thread Saint DanBert
I, too, have this problem.  I'm running Linux Mint 17.1 which is based on 
*buntu 14.04.
I have a ThinkPad X220-tablet.   As I recall, I had a similar issue with 
earlier editions of Mint
based on *buntu 12.04.

{SOAPBOX}
Now that tablets and 2-in-1 laptops are fashionable, this user would 
appreciate some attention paid to the various aspects of Thinkpad X60t, X61t, 
X200t, X201t, X220t, and later models.  X11/Xorg configuration has evolved from 
manual edits to auto-magic configuration making it very difficult for folks to 
make reasonable, much less optimal, use of their now very cool workstations.
{/SOAPBOX}

~~~ 8d;-/ Dan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1316901] Re: Wrong screen rotation at login

2014-06-18 Thread Pierre van Male
Hi,

The script from Daniel works for me too, but only with the login of the
user, not the *...

BR
Pierre

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1316901] Re: Wrong screen rotation at login

2014-06-15 Thread Daniel Holz
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 a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1316901] Re: Wrong screen rotation at login

2014-06-15 Thread Pierre van Male
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 1316...@bugs.launchpad.net:

 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


-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1316901] Re: Wrong screen rotation at login

2014-06-13 Thread Pierre van Male
And also when you unplug the an external screen, I believe.

Pierre
On 13 Jun 2014 19:01, Daniel Holz 1316...@bugs.launchpad.net wrote:

 The problem is also happening on the login screen if it was turned.

 ** Also affects: lightdm
Importance: Undecided
Status: New

 --
 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


-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1316901] Re: Wrong screen rotation at login

2014-06-13 Thread Daniel Holz
I think I finally found the reason for the problem. Everytime the
orientation is changed the new orientation is saved in monitors.xml
while the original monitors.xml is saved as monitors.xml.backup. By
playing around with chattr I found out that this causes Ubuntu to try to
restore monitors.xml out of monitors.xml.backup after every login.

So if I turn the screen to the left and then back to normal,
monitors.xml says orientation=normal and monitors.xml.backup says
orientation=left. After the login Ubuntu overwrites monitors.xml with
the backup and uses its configuration and turns the screen to the left.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1316901

Title:
  Wrong screen rotation at login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/meta-gnome3/+bug/1316901/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1316901] Re: Wrong screen rotation at login

2014-06-13 Thread Daniel Holz
The problem is also happening on the login screen if it was turned.

** Also affects: lightdm
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1316901] Re: Wrong screen rotation at login

2014-06-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: meta-gnome3 (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1316901

Title:
  Wrong screen rotation at login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/meta-gnome3/+bug/1316901/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1316901] Re: Wrong screen rotation at login

2014-06-08 Thread Daniel Holz
The thread in the Ubuntu forum was created by me. :D

I'm using Ubuntu 14.04 on my a tablet and whenever I turn the screen
with the accelerometer, the screen is turned after the next login again.
That even happens if I turned the screen back to normal again before.

If I delete monitors.xml everything works fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1316901

Title:
  Wrong screen rotation at login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/meta-gnome3/+bug/1316901/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1316901] Re: Wrong screen rotation at login

2014-05-06 Thread Pierre van Male
Small addition: the monitor.xml file is modified during the login
process. I rebooted and logged in in a terminal before logging in with
the graphical interface and the line 13 in the monitor.xml file was
still on normal. Then I logged in with the graphical interface and the
line 13 was on right position.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1316901

Title:
  Wrong screen rotation at login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/meta-gnome3/+bug/1316901/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs