Open alucryd opened 9 years ago
Are you using Gnome with GDM? If so, light-locker won't work with that and you should use gnome-screensaver, which is now integrated with GDM.
If you are using LightDM, it should work fine, maybe you can tell us more about your setup.
I am aware that gnome-screensaver is now part of GDM and did my tests using LightDM of course, It used to work fine with a GNOME session when I pushed light-locker in our repos (don't remember which GNOME we were at at the time). Today I realized it no longer worked with a Pantheon session (derivative of a GNOME session) launched via LightDM, and confirmed that vanilla GNOME launched via LightDM didn't work either.
I was able to get it to work by launching it from lightdm's xsession wrapper script just before gnome is launched:
/etc/lightdm/Xsession
....
/usr/bin/light-locker &
echo "X session wrapper complete, running session $@"
exec $@
Nice find, I can't package lightdm with this workaround, but I'll write sth on the wiki when I have time.
I can't tell you how happy I am to FINALLY have a viable solution for locking the screen in GNOME without GDM! Kudos to @cavalier38 , @kelemeng , and all contributors for making this possible :+1: :beers:
Pantheon on Freya already uses light-locker, so you should not do that hack there.
Not working for me too by default. I'm on a just fully updated Arch with Gnome 3 and LightDM (using a webkit greeter). I think I'll have to try @lots0logs's hack.
Yes this hack works and made https://github.com/Antergos/gnome-shell-extension-status-menu-buttons functional.
Actually I've changed the location for that line to an executable .xsession
file in my home directory, since /etc/lightdm/Xsession
loads it.
Why this is closed, this problem is still present on gnome 3.22.x:
@postadelmaga That's not true. It is certainly possible to do it. In fact our default GNOME installation uses light-locker.
Here a related thread if you can give some hint it will be useful.
My experience: I have installed Antergos on 2 machine ( one now and one 6 month ago ) on both machine I have same issue, light locker is not working.
I have configured startup applications:
These are basically the default settings of Antergos with Gnome.
What is wrong in my settings ?
It seems I can't use Light Locker together with GNOME 3.16 on Arch Linux, works fine with Openbox or XFCE. Here is what I get:
I guess GNOME has its own screensaver running, but I can't find what it is and how to disable it. Have you got any ideas?