nikhiljha / pp-fedora-sdsetup

PinePhone Fedora Image Generation Script
GNU General Public License v3.0
105 stars 21 forks source link

Enhancement: lightdm-lock gnome-extension solves missing gnome screensafer lock #61

Open Cyborgscode opened 3 years ago

Cyborgscode commented 3 years ago

As gnome does only lock the screen when GDM is used, the lightdm-lock gnome-extension is needed to lock the screen.

Two changes are needed to make that work, as the lightdm-lock has two bugs:

a) a false initialisation routine ( fixed it in my version ) b) it does not suspend the device and blocks the powerbutton.

A) is was easy to fix B) will be my task for the next days. Until i can supply a fix, if possible at all, pls keep the issue open.

Cyborgscode commented 3 years ago

Works \o/

We now have Screenlock AND Suspend.

https://github.com/Cyborgscode/pinephone/blob/main/lightDM-lock-v2.zip

Cyborgscode commented 3 years ago

I opened a feature request at Gnome to add the functionality to the energy-prefs window as an option for the power-button.

Cyborgscode commented 3 years ago

Update: Extension is no longer needed.

gsd-media-keys got patched and can be shipped out of the copr repo as soon as we have package ready.

Cyborgscode commented 3 years ago

Patch ready

https://github.com/Cyborgscode/pinephone/blob/main/gsd-media-keys-manager.c.patch

Patch has been sent to Fedora Maintainer to be included into the next Fedora build.

alh61 commented 3 years ago

I have no idea what this is about - but it looks like you got your problem fixed yourself. Can this ticket be closed ?

Cyborgscode commented 3 years ago

It does no longer matter for our stable image, the nightly image still uses LightDM, so it could be relevant again.