You are not logged in.

#1 2016-05-07 15:52:23

JulieRose
Member
Registered: 2015-11-11
Posts: 17

Power Manager Lock Screen

In power management I turn off Security - lock screen after suspend but it locks screen anyway. I don't want automatic lockscreen xfce-power manager is up to date (New one installed as suggested on welcome script)

Offline

#2 2016-05-07 15:56:53

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Power Manager Lock Screen

Please search the forum for "light-locker", "screen lock" etc. There are many posts about this, as well as the solutions.

For example: https://forums.bunsenlabs.org/viewtopic.php?id=1545


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-05-07 16:20:36

JulieRose
Member
Registered: 2015-11-11
Posts: 17

Re: Power Manager Lock Screen

1.If you just want to stop the timeout and still have the lock available when you want it, first try Menu -> Preferences -> Power Management -> Display and put all the sliders to the left, ie "never".-
2.It can be disabled by editing `/etc/xdg/autostart/light-locker.desktop` and adding "Hidden=true". (A better way may be to copy the `light-locker.desktop` file to your autostart, and edit that one)
I've just did it and still locks screen after not doing anything on laptop

Offline

#4 2016-05-07 16:28:48

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Power Manager Lock Screen

Did you restart or log out/in after making changes?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2016-05-07 16:37:30

JulieRose
Member
Registered: 2015-11-11
Posts: 17

Re: Power Manager Lock Screen

I'm choosing suspend to check it and it does not lock screen anymore but now when I clicking lock screen in right mouse click menu lock screen doesn't work is it ok ? It should be like this after those changes ?

Offline

#6 2016-05-07 16:45:05

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Power Manager Lock Screen

If you did (2) above, then you have disabled light-locker, so the call to 'bl-lock' in the menu won't work. Is that what you want?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2016-05-07 16:50:42

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Power Manager Lock Screen

JulieRose wrote:

now when I clicking lock screen in right mouse click menu lock screen doesn't work

Try:

sed -i 's/bl-lock/slock/' ~/.config/openbox/menu.xml && openbox --reconfigure

The menu entry will then use slock instead.

To unlock the screen, simply type your password and press enter (press enter before entering the password to clear the entry field) wink

Offline

#8 2016-05-07 16:53:59

JulieRose
Member
Registered: 2015-11-11
Posts: 17

Re: Power Manager Lock Screen

I've messed up something sed -i 's/bl-lock/slock/' ~/.config/openbox/menu.xml && openbox --reconfigure I've done it but now I see blue screen and I can't back to system only reboot. I want working lock screen but only by choosing it by clicking lock screen option in right mouse click menu.

My father sometimes uses my laptop and I don't want to give him my login and password and I'm also not interested in making guest account

I think that I have to reinstall system ;-(

Last edited by JulieRose (2016-05-07 16:55:24)

Offline

#9 2016-05-07 16:59:00

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Power Manager Lock Screen

JulieRose wrote:

now I see blue screen

Yes, that is the screenlocker -- it turns blue in response to key presses.

JulieRose wrote:

and I can't back to system only reboot

Press the <Return> ("enter") key then enter in your user's password, then press the <Return> ("enter") key again.

JulieRose wrote:

My father sometimes uses my laptop and I don't want to give him my login and password and I'm also not interested in making guest account

Not sure how to do that, sorry.

I think you should make a guest account for him.

JulieRose wrote:

I think that I have to reinstall system ;-(

No, don't worry, it's fine.

Offline

#10 2016-05-07 17:50:14

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: Power Manager Lock Screen

@OP,
edit /etc/xdg/autostart/light-locker.desktop:
make the exec line:

Exec=light-locker --lock-after-screensaver=0

Log out of the session and login again.
It should work now.

EDIT:
proviso: light-locker must be enabled for this to work.

Offline

#11 2016-05-07 18:41:28

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Power Manager Lock Screen

To undo the effects of my `sed` command, use:

sed -i 's/slock/bl-lock/' ~/.config/openbox/menu.xml && openbox --reconfigure

Offline

#12 2016-05-08 01:45:37

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Power Manager Lock Screen

heh....has slock been in bunsenlabs this whole time? I seriously was unaware of it's presence. I thought if someone didn't want / like light-locker, then xscreensaver was the fallback option.   There's literally xscreensaver lines in the ~/.config/openbox/autostart script....commented out of course...


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#13 2016-05-08 02:19:56

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Power Manager Lock Screen

Also if I understand JulieRose's request correctly, ( I may not be..) all you have to do is :

xset s off

xset -dmps 

This turns off the screen blanking and the power saving feature. So the only way to get light-locker to trigger is to manually select "lock screen" from the right click menu or enter

light-locker -l  

at the terminal.

Is that what you're asking for OP?

Last edited by Horizon_Brave (2016-05-08 02:20:12)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#14 2016-05-08 02:24:50

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: Power Manager Lock Screen

slock comes with suckless-tools, which provides dmenu.

BTW I strongly advocate trying to work with the tools that are already installed, ala xaos52's post, before disabling/removing/hacking...

Last edited by johnraff (2016-05-08 02:27:34)


...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 )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB