greeter
greeter copied to clipboard
Greeter does not respect screen rotation settings on login screen
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:
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.
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 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 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.
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:
- Have the setting also apply to this user in the System settings.
- Also have a way to set this from the Greeter.
I can confirm that the problem is still present and isn't limited to HP laptops (Lenovo too).