You are not logged in.
On my mother-in-laws machine I set up bl such that it would automatically log in as her user and even if the screen goes blank it would not lock the screen. The first is done by having in /etc/lightdm/lightdm.conf.bunsen this:
greeter-hide-users=false
autologin-user=mother-in-laws-username
autologin-user-timeout=0
(Of course the first line has nothing to do with autologin, I am just giving it as I changed that, as well.)
The second I did by copying /etc/xdg/autostart/light-locker/light-locker.desktop to ~/.config/autostart/ and added this line in the end
Hidden=true
(I read it in one of the cb or bl threads, but I cannot find now in which one.)
So now if screen blanks after 10 minutes and then mouse is moved, light-locker does not lock the screen and does not ask for a password (perfect). However, now for this autologin user the manual lock screen does not work either, neither the W+L keycombination, nor the "Lock Screen" from menu. Is there a way I can make it work "manually" again, but not automatically?
Thank you.
Last edited by ghorvath (2016-06-05 07:11:49)
Offline
the manual lock screen does not work either, neither the W+L keycombination, nor the "Lock Screen" from menu. Is there a way I can make it work "manually" again, but not automatically?
Remove the "Hidden=true" line that you added to ~/.config/autostart/light-locker.desktop and instead change the "Exec=" line to:
Exec=/usr/bin/light-locker --lock-after-screensaver=0
This will autostart light-locker so that it can be used manually but prevent it from locking the screen automatically.
Offline
^ nevermind, ninja by HoaS of course!
So if you run from the terminal,
light-locker -l
This doesn't lock the screen anymore? What about if you switch TTY's (ctl + alt + f2 or f3)
Last edited by Horizon_Brave (2016-06-03 19:23:20)
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
@HoaS Thanks, it worked perfectly.
@Horizon_Brave This command was not recognized (the -l part). I may have mistyped something, but the other solution worked, anyway.
Thanks!
Offline
...~/.config/autostart/light-locker.desktop ... change the "Exec=" line to:
Exec=/usr/bin/light-locker --lock-after-screensaver=0
This will autostart light-locker so that it can be used manually but prevent it from locking the screen automatically.
@HOAS is this advice posted in a how-to or tutorial anywhere here? If not, maybe it would be a good candidate for a FAQ? Over-zealous auto-locking seems to be a regular complaint.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Over-zealous auto-locking seems to be a regular complaint.
Agreed, this area need a little more love.
I don't care what you do at home. Would you care to explain?
Offline
Head_on_a_Stick wrote:...~/.config/autostart/light-locker.desktop ... change the "Exec=" line to:
Exec=/usr/bin/light-locker --lock-after-screensaver=0
This will autostart light-locker so that it can be used manually but prevent it from locking the screen automatically.
@HOAS is this advice posted in a how-to or tutorial anywhere here?
It is now:
https://forums.bunsenlabs.org/viewtopic.php?pid=29320
Offline
^
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline