linuxmint / slick-greeter

A slick-looking LightDM greeter
GNU General Public License v3.0
357 stars 58 forks source link

[Feature Request] Implement lock-screen/screensaver #68

Closed Ste74 closed 1 year ago

Ste74 commented 7 years ago

Hi there , us ( Manjaro Linux ) and i think also @ikeydoherty ( Solus ) and @fossfreedom ( Ubuntu Budgie ) are interested at the screensaver implementation in order to drop the gnome legacy screensaver .. ( guys correct me if i wrong :p and sorry if mention you :p ) . In the source code i don't see this .. any plan to add this feature ?

Stefano Capitani Manjaro Team

ikeydoherty commented 7 years ago

I might be wrong but I think thats handled through light-locker?

fossfreedom commented 7 years ago

I thought light-locker had ceased ... but I noticed a few commits lately. So still alive? I couldnt get it to work the last time I looked at it though (12+ months ago)

ikeydoherty commented 7 years ago

I just had a play with it, and it refuses to run because of GSD's ScreensaverProxy, which can only be turned off with hacks (redirected .desktop files ...)

Hate to say it lads but we might just have to fork gnome-screensaver.

Ste74 commented 7 years ago

I thought light-locker had ceased ... but I noticed a few commits lately. So still alive? I couldnt get it to work the last time I looked at it though (12+ months ago)

I just had a play with it, and it refuses to run because of GSD's ScreensaverProxy, which can only be turned off with hacks (redirected .desktop files ...)

Yep , i also did not get it to work for this I wondered how it could be implemented with slick-greeter: a matter of visual uniformity.

mtwebster commented 7 years ago

I don't care one way or the other but we ported our old fork of gnome-screensaver to (mostly) python a while back, if you want yet another option to fork.. it doesn't use lightdm but it could be simpler to start with. Other than the name it's more or less DE-independent for now (though I have never tried it in a session where gsd was running).

Ste74 commented 7 years ago

Hi , what do you mean with old fork ?

ikeydoherty commented 7 years ago

I believe @mtwebster is talking about cinnamon screensaver. I remember reading about that, where it was claimed that porting it to Python made it faster than C - which you know I'm never going to buy. It's also not pure C if I recollect correctly, but it took the bulk of gnome-screensaver and converted it to an in-tree C library..

JosephMcc commented 7 years ago

Not sure who made the claim that porting to Python made it faster somehow. In the case of the screensaver I'm not sure speed is really a large issue though.

ikeydoherty commented 7 years ago

@JosephMcc you saying the Linux world has unreliable news coverage? :P

JosephMcc commented 7 years ago

What!? No way... ;)

mtwebster commented 7 years ago

The vast majority of it is in python, the remaining C is either autogenerated gdbus-codegen files for various services, or things that couldn't reliably be performed in python, either due to lack of python3 support for xlib on some distros, or GdkScreen behavior being at odds with the wm, among other things. The pam authentication stuff was also re-used (lightdm wasn't on our radar yet at that time.)

The main reason we did it was to get rid of growing problems like GtkPlug/GtkSocket rot and to make it a bit more accessible for maintenance and development. I wasn't trying to peddle our own wares here, I was just offering up an alternative to start with - I have no doubt you'd likely want to rip the entire ui out, but the plumbing is in, it connects to the proper things, etc...

ikeydoherty commented 7 years ago

IDK the UI looks alright to me - and I whole heartedly agree with axing the GtkPlug/GtkSocket nonsense.

Ste74 commented 7 years ago

@mtwebster so is possible do a cinnamon-screensaver Distro/DE agnostic? @ikeydoherty know me i'm not a programmer :p

zachlovescoffee commented 5 years ago

Not to be a jerk but it looks like the OP's question was never answered or resolved as you guys spun off into a who's right/wrong on C vs Python. I've just started using slick-greeter and it's awesome but the experience is really dragged down when Debian goes to lock screen and we're back to using the gnome default lock screen login prompt.

clefebvre commented 1 year ago

Slick greeter is a lightdm greeter. Light-locker can lock your session and show your lightdm prompt instead of a screensaver. This has limitations though, you're no longer active on your session seat if that makes sense.. for instance you no longer have access to sound. I wouldn't recommend it if the DE has a decent screensaver.