You are not logged in.

#1 2015-11-01 16:04:59

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,074
Website

Need Confirmation: Light Locker & Xfce4-power-manager Backport

I'm surprised this hasn't been brought up yet. Actually, I should have brought this up since I noticed it at least a month ago. Anyway, I need some help testing this.

Now, I'm not on a default Hydrogen RC1 install at the moment, so maybe I'm wrong, but if you install BL's backported xfce4-power-manager and in it's settings set General>Laptop Lid>Lock screen, close the laptop lid and open it, you're back on the desktop and the screen never locked.

The solution I'm using is to also backport light-locker, copy it's light-locker.desktop file from /etc/xdg/autostart to ~/.config/autostart, right-click the file>Open With>Open With Text Editor and change line #53 from Exec=light-locker to...

Exec=light-locker --lock-on-lid

... and log out.

This works for the settings Lock screen, Suspend and Hibernate, but unfortunately also locks the screen if you have it set to Switch off display. I think it's a reasonable compromise.

So...

1) Does this bug exist with the default light-locker/xfce4-power-manager from jessie setup?
2) Am I right that this bug exists when using jessie light-locker with BL backported xfce4-power-manager?
3) Does just changing the desktop file Exec line without backporting light-locker also fix it?

Many thanks. smile


I don't care what you do at home. Would you care to explain?

Online

#2 2015-11-01 18:24:02

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

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

Using the backported light-locker fixes the problem for me (fresh B^L system, installed using johnraff's script).

  1. Yes.

  2. Yes.

  3. No.

Offline

#3 2015-11-01 20:00:22

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,014

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

Desktop only - can't test.  Sorry


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#4 2015-11-01 22:18:28

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,074
Website

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

Np, Sector!

@HoaS, thanks for testing. I'll push to have this added to our backports in a couple of weeks. You had to edit the light-locker.desktop file as I described, right?


I don't care what you do at home. Would you care to explain?

Online

#5 2015-11-01 22:19:30

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

Me neither , always remove it on fresh installs , use screensaver instead .


My Linux installs are as in my music; it s on Metal

Offline

#6 2015-11-01 22:23:41

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

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

hhh wrote:

You had to edit the light-locker.desktop file as I described, right?

Yes.

Offline

#7 2015-11-02 06:05:34

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

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

Head_on_a_Stick wrote:

Using the backported light-locker fixes the problem for me (fresh B^L system, installed using johnraff's script).

bl-welcome doesn't install a backported light-locker, and there is no backport in the Debian repos - did you backport it yourself?

@hhh yes I can confirm that with the backported x-p-m + standard light-locker the screen fails to lock when set to do so on lid closure. I'll try going back to the standard Debian version....


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

#8 2015-11-02 06:46:09

ghorvath
Member
Registered: 2015-10-01
Posts: 161

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

I need to check it with my laptop, but I always suspend by closing the lid and then when I open the lid I need to log back in. I use jessie light-locker with backported xfce4-power-manager

Or do you just close the lid but set the laptop not to suspend? So you only want to lock the screen by closing the lid?

Offline

#9 2015-11-02 06:52:48

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

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

There is no --lock-on-lid option for the jessie version of light-locker and invoking it seems to disable light-locker altogether.

Lock-on-lid-closure doesn't work with the default apps either.

A workaround for the failure to lock is to set lid-closure to "Suspend" instead, and check "Lock screen when system is going for sleep" in the "System" tab. The extra time to recover from suspend is probably not that great for most laptops, compared with the time to type in a username and password. This works with both default and backported x-p-m, using default light-locker and avoids yet another backport.

But the whole thing seems a bit flaky. Having tried the laptop with lid-close set to "suspend", logout/in and change it back to "lock screen" the next time I shut the lid it still went into suspend. I'll try a reboot...

EDIT after a reboot the sticky suspending is cleared and "lock screen" doesn't work.

Last edited by johnraff (2015-11-02 06:55:49)


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

#10 2015-11-02 09:20:03

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

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

johnraff wrote:

did you backport it yourself?

Yes.

With an exit status of zero from lintian  O:)

Offline

#11 2015-11-02 15:07:07

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,074
Website

Re: Need Confirmation: Light Locker & Xfce4-power-manager Backport

Yes, I also backported it myself.


I don't care what you do at home. Would you care to explain?

Online

Board footer

Powered by FluxBB