[Pkg-xfce-devel] Bug#666061: Bug#666061: Bug#666061: Bug#666061: xfce4-power-manager: not locking screen on lid close when a second monitor is attached

Yves-Alexis Perez corsac at debian.org
Wed Mar 28 14:38:27 UTC 2012


On mer., 2012-03-28 at 16:29 +0200, Yves-Alexis Perez wrote:
> On mer., 2012-03-28 at 15:57 +0200, Arian Sanusi wrote:
> > > By the way, how exactly did you setup xfpm? Especially, what is selected
> > > in “When laptop lid is closed” in both “on AC” and “On Battery” tabs,
> > > and is the checkbox “lock screen when going for suspend/hibernate” in
> > > “Extended” tab.
> > On AC: "when laptop lid is closed:" : "Lock Screen"
> > On Battery: "when laptop lid is closed:" : "Suspend"
> 
> And what about the extended tab?
> > 
> > I also attached the corresponding part of xfce4-config. I guess it only 
> > has the settings I changed from defaults, so that's these two plus 
> > action on power button is set to ask for action.
> > 
> > > Mhmh, by the way, when you close the lid, does the system go to sleep or
> > > not?
> > 
> > It does so when it is configured for this, i.e. with the settings I have 
> > now when AC power is unplugged.
> > 
> > I permutated the 2x2 possibilities:
> > 
> > 	AC	Battery
> > Suspend	works	works
> > Lock	not w	not workign
> 
> So when you ask to suspend, it suspends and lock, but when you only ask
> to lock, it only locks when no external monitor is plugged. Am I right?
> > 

Ok, don't bother, the code is pretty clear about that:
http://git.xfce.org/xfce/xfce4-power-manager/tree/src/xfpm-manager.c?id=1.0.10#n324

I can see the point, some people do want to close the screen when
working on an external screen and not have the display locked.
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20120328/2fc7de53/attachment.pgp>


More information about the Pkg-xfce-devel mailing list