greeter icon indicating copy to clipboard operation
greeter copied to clipboard

Greeter does not respect screen rotation settings on login screen

Open colinkiama opened this issue 5 years ago • 5 comments

The laptop being used has an accelerometer. Because of this, I lock the screen orientation.

Sometimes, when opening the lid, the login screen appears upside down. After logging in, the display orientation goes back to normal.

Here's a picture of the problem:

wp_20181126_23_44_11_pro_li

Expected result: Login screen should always appear right-side up.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

colinkiama avatar Nov 27 '18 00:11 colinkiama

This is a common problem with HP laptops. For now you can run the following commands to mitigate this.

sudo su su - -s /bin/bash lightdm dbus-launch gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true

You only need to run this once after installation.

arshubham avatar Nov 27 '18 05:11 arshubham

@arshubham This should be editable using the Display settings (On laptops without touchscreens the option is currently not shown see: https://github.com/elementary/switchboard-plug-display/issues/116), or is the issue that this setting isn't applied to the Greeter / login screen?

peteruithoven avatar Feb 09 '19 15:02 peteruithoven

@peteruithoven Screen Rotation in display setting is None on my laptop, however without setting this gsetting the screen still rotates. This is a bug in some HP laptops. I can set orientation-lock to true for a user but the settings are not applied to greeter. In Gnome Rotation Lock is the option in the panel popover in both session and GDM.

arshubham avatar Feb 09 '19 15:02 arshubham

I find it hard to believe it's a HP specific issue. Especially since the solution is to set this setting for the lightdm user?

I think there are 2 solutions:

  1. Have the setting also apply to this user in the System settings.
  2. Also have a way to set this from the Greeter.

peteruithoven avatar Feb 09 '19 15:02 peteruithoven

I can confirm that the problem is still present and isn't limited to HP laptops (Lenovo too).

fredlarochelle avatar Jan 13 '22 01:01 fredlarochelle