Devuan bug report logs - #479
xcfe4-power-manager: Can't configure laptop lid

Package: xcfe4-power-manager; Maintainer for xcfe4-power-manager is (unknown);

Reported by: Michaela Merz <mischmerz@googlemail.com>

Date: Tue, 2 Jun 2020 23:33:01 UTC

Severity: normal

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#479: xcfe4-power-manager: Can't configure laptop lid
Reply-To: Mark Hindley <mark@hindley.org.uk>, 479@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Wed, 03 Jun 2020 19:33:02 +0000
Resent-Message-ID: <handler.479.B479.15912126077059@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 479
X-Devuan-PR-Package: xcfe4-power-manager
X-Devuan-PR-Keywords: 
References: <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com> <20200603092553.GT3124@hindley.org.uk> <CAKDb+y4s7-t3acQuNLTaV3ozZ7JWx7Rp+C-ehz4pCqbH+RU0UA@mail.gmail.com> <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
Received: via spool by 479-submit@bugs.devuan.org id=B479.15912126077059
          (code B ref 479); Wed, 03 Jun 2020 19:33:02 +0000
Received: (at 479) by bugs.devuan.org; 3 Jun 2020 19:30:07 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 03 Jun 2020 19:30:07 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id D9055F60D00
	for <479@bugs.devuan.org>; Wed,  3 Jun 2020 21:27:20 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jgZ2k-0008Tp-K4; Wed, 03 Jun 2020 20:27:18 +0100
Received: (nullmailer pid 7855 invoked by uid 1000);
	Wed, 03 Jun 2020 19:27:17 -0000
Date: Wed, 3 Jun 2020 20:27:16 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Michaela Merz <mischmerz@googlemail.com>
Cc: 479@bugs.devuan.org
Message-ID: <20200603192716.GE3124@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKDb+y4s7-t3acQuNLTaV3ozZ7JWx7Rp+C-ehz4pCqbH+RU0UA@mail.gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
On Wed, Jun 03, 2020 at 12:04:32PM -0500, Michaela Merz wrote:
>    Hey Mark - hope you are not doing all the work alone. Thanks for your
>    help. Here is the requested policykit listing:
>    ii  elogind                               241.4-2
>          amd64        user, seat and session management daemon
>    ii  gir1.2-polkit-1.0                     0.105-25+devuan8
>           amd64        GObject introspection data for PolicyKit
>    ii  libelogind0:amd64                     241.4-2
>          amd64        user, seat and session management library
>    ii  libpam-elogind:amd64                  241.4-2
>          amd64        elogind PAM module
>    ii  libpolkit-agent-1-0:amd64             0.105-25+devuan8
>           amd64        PolicyKit Authentication Agent API
>    ii  libpolkit-backend-1-0                 0.105-25+devuan8
>           all          PolicyKit Authorization API
>    ii  libpolkit-backend-elogind-1-0:amd64   0.105-25+devuan8
>           amd64        PolicyKit backend API
>    ii  libpolkit-gobject-1-0                 0.105-25+devuan8
>           all          PolicyKit Authorization API
>    ii  libpolkit-gobject-elogind-1-0:amd64   0.105-25+devuan8
>           amd64        PolicyKit Authorization API
>    ii  policykit-1                           0.105-25+devuan8
>           amd64        framework for managing administrative policies and
>    privileges
>    ii  policykit-1-gnome                     0.105-7
>          amd64        authentication agent for PolicyKit

OK. That looks fine.

So You need to use either xfce4-power-manager/pm-utils or elogind for this, but
not both.

Details are available at https://docs.xfce.org/xfce/xfce4-power-manager/faq and
in man logind.conf(5) (particularly the HandleLidSwitch* options).

How have you tried to set this up and exactly what doesn't work?

Is xfce4-power-manager actually running?

If it still isn't working please enable xfce4-power-manager debugging:

 xfce4-power-manager -q
 xfce4-power-manager --no-daemon --debug

and see what it reports when it runs.

Thanks.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Wed Apr 21 02:52:56 2021;