Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Wrong screen orientation at login screen and after login

  1. #11
    Join Date
    Mar 2010
    Beans
    25

    Re: Wrong screen orientation at login screen and after login

    I was thinking of something along this line. It is controlled by the asus_laptop module, but there are no module parameters available to control the accelerator.

    Code:
    modinfo asus_laptop
    Maybe just blacklisting the module, and then doing a modprobe as an autostart script.

    I can't work on it today. Gotta go to my Dad's, 50 miles away on icy roads!

  2. #12
    Join Date
    Aug 2013
    Beans
    22

    Re: Wrong screen orientation at login screen and after login

    I tried blacklisting asus_laptop and it did disable the acelerometer but the screen still turns to the right at the login screen. Maybe gnome-settings-daemon is the problem.

  3. #13
    Join Date
    Mar 2010
    Beans
    25

    Re: Wrong screen orientation at login screen and after login

    Looking at this, I found two possible settings:

    Code:
    gsettings get org.gnome.settings-daemon.plugins.xrandr default-configuration-file
    '/etc/gnome-settings-daemon/xrandr/monitors.xml'
    Code:
    ~$ gsettings get org.gnome.settings-daemon.plugins.xrandr default-monitors-setup
    'follow-lid'
    This raises twe questions:
    1) There is no monitors.xml file. If we create one, what is the format?
    2) What are the options other than 'follow-lid'?
    Last edited by waterhead; December 30th, 2013 at 03:44 PM.

  4. #14
    Join Date
    Aug 2013
    Beans
    22

    Re: Wrong screen orientation at login screen and after login

    The folder /.config in your home-directory contains a monitors.xml-file. I already tried to copy it to /etc/gnome-settings-daemon/xrandr/ yesterday but nothing changed.

  5. #15
    Join Date
    Mar 2010
    Beans
    25

    Re: Wrong screen orientation at login screen and after login

    Just a follow-up on my previous post.

    A search found a monitors.xml file in my home directory, in the .config folder. I found that one of the configurations listed had an orientation of 'right' listed. I changed it to normal and saved it. I also copied the edited version to the /etc/gnome-settings-daemon/xrandr/ folder. A reboot showed nothing had changed. The monitors.xml file in my home folder is re-written on reboot.

    I then edited the one in the /etc/gnome-settings-daemon/xrandr/ folder, and removed all configurations except for the LVDS1 display, since I know this is the primary display. Still no luck.

    Edit: Brilliant minds think alike!!
    Last edited by waterhead; December 30th, 2013 at 03:47 PM.

  6. #16
    Join Date
    Aug 2013
    Beans
    22

    Re: Wrong screen orientation at login screen and after login

    I didn't make much progress with this problem but I recognised something strange. If you have multiple workspaces and switch to an application which is on a different workspace there is a sliding animation and some kind preview picture of your workspaces. This preview is also rotated but I don't where it gets its monitor configuration.

  7. #17
    Join Date
    Mar 2010
    Beans
    25

    Re: Wrong screen orientation at login screen and after login

    An update on what I have found.

    If you delete the ~/.config/monitors.xml and monitors.xml.backup files, the screen orientation after login will be in the normal mode. A new monitors.xml file is not automatically created to replace the deleted ones.

    I don't recall the orientation being a problem after the initial installation. It is something that came about later. I had already installed the CrystallHD drivers, and was trying to find a way to install the Chrontel driver for the HDMI output. Since I am running Ubuntu from an SD card, I tried a fresh installation. This time I installed it on a partitionon on the internal SSD. But, the orientation bug was there too, even without installing the CrystalHD driver. Maybe it is an update that breaks it.

    With nothing to lose, I decided to install the daily-build of Ubuntu 14.04. That booted into the correct orientation on both the login screen and the user-session screen. But after a few boots, the user-session screen was rotated to the right (the login screen was still at normal). I then deleted the monitors.xml and monitors.xml.backup files, and it has booted both screens in normal mode ever since!

    I'll use it a while before doing any hacking. I don't think anything uses the CrystalHD card by default. I can actually use this as a MythTV frontend, and the video is perfect using the Intel video driver.

  8. #18
    Join Date
    Aug 2013
    Beans
    22

    Re: Wrong screen orientation at login screen and after login

    Let's hope that 14.04 stays free from this bug. I probably just wait for a more stable release of it and then upgrade to it.

  9. #19
    Join Date
    Aug 2013
    Beans
    22

    Re: Wrong screen orientation at login screen and after login

    Installed 14.04 yesterday and applied your fix for greeter orientation problem today. Works perfectly, I'm asking myself why I didn't do this in 13.10 already.

  10. #20
    Join Date
    Nov 2005
    Location
    Barcelona
    Beans
    61
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Wrong screen orientation at login screen and after login

    Dear all,

    I have had this issue for a long time, and in my case, running an x220t (convertible thinkpad) that has no accelerator. Also, it still happens with the 14.04 version.

    I believe it is a bug and I filled a bug report: https://bugs.launchpad.net/ubuntu/+s...3/+bug/1316901

    For me, this happens if I rotate the screen with the rotation button of the thinkpad. This makes the screen rotate counter-clockwise (without rotating the touchscreen input) and generates the file monitor.xml in the .config folder.

    The problem is that the line 13 of this monitor.xml file, that indicate the screen rotation, is modified during the login process (orientation is correct at the login prompt and has been modified once logged in...).

    As said here above, to delete this file solve the issue.

    Best regards,
    Pierre
    Last edited by vmalep; May 14th, 2014 at 05:51 AM. Reason: precision given about when the monitor.xml file get modified.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •