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

Package: xcfe4-power-manager; Reported by: Michaela Merz <[email protected]>; Done: Mark Hindley <[email protected]>; Maintainer for xcfe4-power-manager is (unknown).

Message received at [email protected]:


Received: (at 479-done) by bugs.devuan.org; 14 Feb 2023 09:19:32 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 14 Feb 2023 09:19:32 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id /qNDM9ZR62MGUgAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Tue, 14 Feb 2023 09:18:14 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id B1F70A1; Tue, 14 Feb 2023 09:18:14 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id C599D84
	for <[email protected]>; Tue, 14 Feb 2023 09:18:11 +0000 (UTC)
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 <[email protected]>)
	id 1pRrRx-0003R7-OA; Tue, 14 Feb 2023 09:18:09 +0000
Received: (nullmailer pid 11664 invoked by uid 1000);
	Tue, 14 Feb 2023 09:18:09 -0000
Date: Tue, 14 Feb 2023 09:18:09 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Cc: POD <[email protected]>, Michaela Merz <[email protected]>
Subject: Re: bug#479: xcfe4-power-manager: Can't configure laptop lid
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
 <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks

Closing as fixed: install correct upower versions and configure
logind-handle-lid-switch.

Mark

Notification sent to Michaela Merz <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <[email protected]>:
You have taken responsibility. Full text available.

Message received at [email protected]:


Received: (at 479) by bugs.devuan.org; 18 Jun 2020 09:00:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Thu, 18 Jun 2020 09:00:02 +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 BF423F609E5
	for <[email protected]>; Thu, 18 Jun 2020 10:55:46 +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 <[email protected]>)
	id 1jlqKj-0006mq-P1; Thu, 18 Jun 2020 09:55:42 +0100
Received: (nullmailer pid 7447 invoked by uid 1000);
	Thu, 18 Jun 2020 08:55:40 -0000
Date: Thu, 18 Jun 2020 09:55:40 +0100
From: Mark Hindley <[email protected]>
To: POD <[email protected]>
Cc: Michaela Merz <[email protected]>, [email protected]
Subject: Re: bug#479: xcfe4-power-manager: Can't configure laptop lid
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
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 17, 2020 at 12:05:02PM -0500, POD wrote:
>    Hi Mark,
>    Did fresh install, toggling logind-handle-lid-switch to false does
>    produce the correct suspend action.
>    Previously was upgraded from ASCII

That is really useful information, thanks.

Michaela,

This confirms that the fix I suggested does work. However, in your case I
believe you upgraded from ascii.

Could you check the version of upower you have installed? You need to manually
upgrade it from ascii to beowulf as documented in the Upgrade Notes[1].

ascii upower version is 1:0.9.23-2+devuan1.3 whereas beowulf has 0.99.10-1. This
looks like a downgrade to apt because of the loss of the epoch ('1:'). However,
it is really an upgrade (compare the rest of the version). Also see bug #394[2]
Something like

 apt-get install --allow-downgrades upower/beowulf gir1.2-upowerglib/beowulf

should achieve what you need.

Does having the correct beowulf version of upower allow setting
logind-handle-lid-switch to false to restore the behaviour you expect?

Thanks

Mark

[1]  https://devuan.org/os/documentation/dev1fanboy/en/upgrade-to-beowulf
[2]  https://bugs.devuan.org/394

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#479; Package xcfe4-power-manager. Full text available.

Message received at [email protected]:


Received: (at 479) by bugs.devuan.org; 16 Jun 2020 09:50:05 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Tue, 16 Jun 2020 09:50:05 +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 95664F60B2D
	for <[email protected]>; Tue, 16 Jun 2020 11:48:51 +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 <[email protected]>)
	id 1jl8D2-00084N-QW; Tue, 16 Jun 2020 10:48:48 +0100
Received: (nullmailer pid 2728 invoked by uid 1000);
	Tue, 16 Jun 2020 09:48:48 -0000
Date: Tue, 16 Jun 2020 10:48:48 +0100
From: Mark Hindley <[email protected]>
To: [email protected]
Cc: Patrick <[email protected]>
Subject: Re: bug#479: xcfe4-power-manager: Can't configure laptop lid
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <[email protected]>
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 Mon, Jun 15, 2020 at 01:02:43PM -0500, Patrick wrote:
> Hi Mark, sorry to butt in mid thread.� Having this same issue on a Lenovo
> T61.� The directory you reference below is /proc/acpi/button/lid/LID on this
> laptop with Beowulf newly updated.� I can confirm that state does change
> with lid position. xfce-power-manager debug does not notice the lid change
> though it does backlight changes, and keyboard based suspends...
> 
> toggling between elogind lid switch settings seems to make no difference.

Thanks. Yes it seems as if it is the same issue.

I don't have hardware to test on, however when I was given temporary access  to
some I found that

 xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch

returned true. And setting it to false with

 xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false

fixed the issue.

However, Michaela said that didn't make any difference for her.

Can you try?

Thanks.

Mark


Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#479; Package xcfe4-power-manager. Full text available.

Message received at [email protected]:


Received: (at 479) by bugs.devuan.org; 4 Jun 2020 11:20:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Thu, 04 Jun 2020 11:20:03 +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 8F147F60C94
	for <[email protected]>; Thu,  4 Jun 2020 13:10:04 +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 <[email protected]>)
	id 1jgnl3-000254-Pn; Thu, 04 Jun 2020 12:10:02 +0100
Received: (nullmailer pid 28737 invoked by uid 1000);
	Thu, 04 Jun 2020 11:10:01 -0000
Date: Thu, 4 Jun 2020 12:10:01 +0100
From: Mark Hindley <[email protected]>
To: Michaela Merz <[email protected]>
Cc: [email protected]
Subject: Re: [devuan-dev] bug#479: xcfe4-power-manager: Can't configure
 laptop lid
Message-ID: <[email protected]>
References: <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
 <[email protected]>
 <CAKDb+y4s7-t3acQuNLTaV3ozZ7JWx7Rp+C-ehz4pCqbH+RU0UA@mail.gmail.com>
 <[email protected]>
 <CAKDb+y5XwN9KBW6Y-h2MFDMxz5OyAecUgjcmdqdT2+6bGC12QA@mail.gmail.com>
 <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
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

Michaela,

Could you tell me what

 xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch

returns? If is it true (which I suspect), does

 xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false

fix the behaviour?

Thanks.

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#479; Package xcfe4-power-manager. Full text available.

Message received at [email protected]:


Received: (at 479) by bugs.devuan.org; 4 Jun 2020 09:30:50 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Thu, 04 Jun 2020 09:30:04 +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 841CBF60CEA
	for <[email protected]>; Thu,  4 Jun 2020 11:25:52 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com [email protected] header.b="ewE5wmyr";
	dkim-atps=neutral
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 <[email protected]>)
	id 1jgm8E-0001cH-VD
	for [email protected]; Thu, 04 Jun 2020 10:25:51 +0100
Received: (nullmailer pid 20032 invoked by uid 1000);
	Thu, 04 Jun 2020 09:25:50 -0000
Resent-From: Mark Hindley <[email protected]>
Resent-Date: Thu, 4 Jun 2020 10:25:50 +0100
Resent-Message-ID: <[email protected]>
Resent-To: [email protected]
Received: from mail-ot1-f68.google.com ([209.85.210.68])
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1jgd5I-0001PI-Ql
	for [email protected]; Thu, 04 Jun 2020 00:46:13 +0100
Received: by mail-ot1-f68.google.com with SMTP id 69so3372940otv.2
        for <[email protected]>; Wed, 03 Jun 2020 16:46:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20161025;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
        bh=stt5Qq1iUHLyFOjxhBVa9Ot4GRQI6OM/WCDcap3YV8I=;
        b=ewE5wmyr8D9TJWn4IU6eflGYJ6cag3vsrjuDg2fi+0TpAH7ah4AnXuAg+Z8y3Ojg7J
         wo13BZBbe0Vm+E9v52YQqMYjqTitMcpgPx3YSl1Nd8vsm4OpGy8ijXGTqUDG276NnfER
         2pon2QsXmXMj9MyIpH3MMPE2SS9Kz4dLiR32bVMTGXXXsazwt8wnzcfAVF2N7mCBsxaI
         TC7uOdN579T43ugkhNcvJTKXnVBnC4TUhIElH5ezLsdXBKvr0n1BrG1VU9OMTwByO5TL
         P21toCHwjWCTIQmSFmbruJareVw3H7Y9ZQW4HArJtosWamAShLDNAzVObfvYsoFeJAoX
         Tocw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to;
        bh=stt5Qq1iUHLyFOjxhBVa9Ot4GRQI6OM/WCDcap3YV8I=;
        b=hx62lDIFJzfvy7LVVH0mWuLLi8+rmpOxThvBgbadyQ4xVhCYGgyA0zJ05/qU2u4LUG
         qKG7xZXFK55Bgv7q0AxWhzxoq25zEBAwtdbMVYREttDu2+VdpjjSMDPjLAPBMW0dgT5X
         n2Y6QHbz6z3HyaNd6bI9vUSLps/2g4vq9i1nSyNZWA05Q1fT85Y/QSpUbD983W/4wdaI
         YvkuWNVqf3EWhDGc2tDOBXyoue1PPlnoIx7R/qnoWH/9tyNkjHue7ZkGeDexFbdyC+Cb
         TRY1914L72Vx83/MzCduxYviG2+oZBBeoNFBrnADZ83n2SpG0h4LpdP5MyR2EP7c1B0y
         gLBQ==
X-Gm-Message-State: AOAM532291Mlv0DHHQOt3uPehQ96TPt5Onb89x4KjO2g/I+YUfZuUbXO
	Fsd/ANWTsTz9bfVxqjR8LDZdbmLziiVFdt+ph5JhwrAo
X-Google-Smtp-Source: ABdhPJwqWrufyRpUI08jbB3ZYm+GOIhYZQwnDE4xYq1tr01Na1tNDk0e+IB4y4swpLqEk6RicTOgjpdEca8TgnQO584=
X-Received: by 2002:a9d:909:: with SMTP id 9mr1784149otp.325.1591227958310;
 Wed, 03 Jun 2020 16:45:58 -0700 (PDT)
MIME-Version: 1.0
References: <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
 <[email protected]> <CAKDb+y4s7-t3acQuNLTaV3ozZ7JWx7Rp+C-ehz4pCqbH+RU0UA@mail.gmail.com>
 <[email protected]>
In-Reply-To: <[email protected]>
From: Michaela Merz <[email protected]>
Date: Wed, 3 Jun 2020 18:45:47 -0500
Message-ID: <CAKDb+y5XwN9KBW6Y-h2MFDMxz5OyAecUgjcmdqdT2+6bGC12QA@mail.gmail.com> (sfid-20200604_004614_282079_85D975D2)
Subject: Re: bug#479: xcfe4-power-manager: Can't configure laptop lid
To: Mark Hindley <[email protected]>
Content-Type: multipart/alternative; boundary="000000000000363b9205a736a176"
Received-SPF: pass client-ip=209.85.210.68; [email protected]; helo=mail-ot1-f68.google.com
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-27CA1CFB 
X-CRM114-CacheID: sfid-20200604_004614_282079_85D975D2 
X-CRM114-Status: GOOD (  13.42  )
X-UID: 46528                                                  
X-Spam-Status: No, score=1.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,
	NML_ADSP_CUSTOM_MED,SPF_PASS,T_DKIM_INVALID autolearn=disabled
	version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

--000000000000363b9205a736a176
Content-Type: text/plain; charset="UTF-8"

Mark:

I installed vanilla Devuan Beowulf and noticed, that the power-manager
didn't give me an option to suspend on laptop lid. There also was no option
to suspend in the system settings. I installed pm-utis and rebooted and on
the first try, the power-manager offered "suspend" on laptop-lid, but it
didn't do anything. Subsequent calls to power manager had the "suspend"
options removed again.

I called it a day and installed acpid because it allows me to run scripts
on events. I created a laptop-lif script script that echo "mem" >>
/sys/power/state and, though a bit hacky, it works fine.

Here's the requested output:

** (xfce4-power-manager:9707): WARNING **: 18:43:58.202: Failed to get name
owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get
owner of name 'org.freedesktop.PowerManagement': no such name


** (xfce4-power-manager:9707): WARNING **: 18:43:58.202: Failed to get name
owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get
owner of name 'org.xfce.PowerManager': no such name


(xfce4-power-manager:9707): GLib-GObject-WARNING **: 18:43:58.215:
../../../gobject/gsignal.c:2523: signal 'Changed' is invalid for instance
'0x55599ae301b0' of type 'GDBusProxy'

(xfce4-power-manager:9707): xfce4-power-manager-WARNING **: 18:43:58.235:
could not map keysym 1008ffa8 to keycode

TRACE[xfpm-main.c:205] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for lock-screen-suspend-hibernate
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for critical-power-level
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for show-brightness-popup
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for handle-brightness-keys
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for hibernate-button-action
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for sleep-button-action
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for brightness-level-on-ac
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for brightness-level-on-battery
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for brightness-slider-min-level
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for dpms-enabled
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for dpms-sleep-mode
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for inactivity-on-ac
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for network-manager-sleep
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for logind-handle-power-key
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration
for heartbeat-command
TRACE[xfpm-dpms.c:75] xfpm_dpms_set_timeouts(): Settings dpms: standby=3600
suspend=0 off=3600

TRACE[xfpm-polkit.c:287] xfpm_polkit_init_data(): Using unix session polkit
subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request:
(('unix-process', {'pid': <uint32 9707>, 'start-time': <uint64 2432178>}),
'org.freedesktop.login1.power-off', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request:
(('unix-process', {'pid': <uint32 9707>, 'start-time': <uint64 2432178>}),
'org.freedesktop.login1.reboot', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request:
(('unix-process', {'pid': <uint32 9707>, 'start-time': <uint64 2432178>}),
'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request:
(('unix-process', {'pid': <uint32 9707>, 'start-time': <uint64 2432178>}),
'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:936] xfpm_power_get_power_devices(): Power device
detected at : /org/freedesktop/UPower/devices/line_power_AC
TRACE[xfpm-power.c:898] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:936] xfpm_power_get_power_devices(): Power device
detected at : /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power.c:898] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:908] xfpm_power_add_device(): Battery device type
'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 124 :
((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 213 :
((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xf
(xfce4-power-manager:9707): GLib-CRITICAL **: 18:43:58.247: g_error_free:
assertion 'error != NULL' failed

** (xfce4-power-manager:9707): WARNING **: 18:43:58.248: No outputs have
backlight property
xfce4-power-manager-Message: 18:43:58.264: Set kernel brightness switch to 0
xfce4-power-manager-Message: 18:44:04.142: Restored brightness switch value
to: 1

(xfce4-power-manager:9707): Gtk-WARNING **: 18:44:04.142: A floating object
was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().

(xfce4-power-manager:9707): Gtk-WARNING **: 18:44:04.142: A floating object
was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
pm-button.c:183] xfpm_button_xevent_key(): Grabbed key 150 :
((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 233 :
((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 232 :
((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 244 :
((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 238 :
((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 237 :
((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:936] xfpm_power_get_power_devices(): Power device
detected at : /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-power.c:898] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:908] xfpm_power_add_device(): Battery device type
'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-dpms.c:75] xfpm_dpms_set_timeouts(): Settings dpms: standby=1260
suspend=0 off=1560

TRACE[xfpm-dpms.c:348] xfpm_dpms_set_on_battery(): dpms on battery TRUE
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:213] xfpm_power_check_polkit_auth(): using logind
suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request:
(('unix-process', {'pid': <uint32 9707>, 'start-time': <uint64 2432178>}),
'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request:
(('unix-process', {'pid': <uint32 9707>, 'start-time': <uint64 2432178>}),
'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 13
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 13
TRACE[xfpm-manager.c:645] xfpm_manager_inhibit_sleep_systemd(): Inhibiting
systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key
TRACE[xfpm-backlight.c:256]
xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout
changed 120
TRACE[xfpm-backlight.c:277]
xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery
timeout changed 120
TRACE[xfpm-main.c:68] xfpm_quit_signal(): sig 2
TRACE[xfpm-manager.c:939] xfpm_manager_stop(): Stopping
TRACE[xfpm-manager.c:266] xfpm_manager_quit(): Exiting
TRACE[xfpm-polkit.c:244] xfpm_polkit_free_data(): Destroying Polkit data




On Wed, Jun 3, 2020 at 2:27 PM Mark Hindley <[email protected]> wrote:

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

--000000000000363b9205a736a176
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Mark:</div><div><br></div><div>I installed vanilla De=
vuan Beowulf and noticed, that the power-manager didn&#39;t give me an opti=
on to suspend on laptop lid. There also was no option to suspend in the sys=
tem settings. I installed pm-utis and rebooted and on the first try, the po=
wer-manager offered &quot;suspend&quot; on laptop-lid, but it didn&#39;t do=
 anything. Subsequent calls to power manager had the &quot;suspend&quot; op=
tions removed again.</div><div><br></div><div>I called it a day and install=
ed acpid because it allows me to run scripts on events. I created a laptop-=
lif script script that echo &quot;mem&quot; &gt;&gt; /sys/power/state and, =
though a bit hacky, it works fine.</div><div><br></div><div>Here&#39;s the =
requested output:<br></div><div><br></div><div>** (xfce4-power-manager:9707=
): WARNING **: 18:43:58.202: Failed to get name owner: GDBus.Error:org.free=
desktop.DBus.Error.NameHasNoOwner: Could not get owner of name &#39;org.fre=
edesktop.PowerManagement&#39;: no such name<br><br><br>** (xfce4-power-mana=
ger:9707): WARNING **: 18:43:58.202: Failed to get name owner: GDBus.Error:=
org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name &#39=
;org.xfce.PowerManager&#39;: no such name<br><br><br>(xfce4-power-manager:9=
707): GLib-GObject-WARNING **: 18:43:58.215: ../../../gobject/gsignal.c:252=
3: signal &#39;Changed&#39; is invalid for instance &#39;0x55599ae301b0&#39=
; of type &#39;GDBusProxy&#39;<br><br>(xfce4-power-manager:9707): xfce4-pow=
er-manager-WARNING **: 18:43:58.235: could not map keysym 1008ffa8 to keyco=
de<br><br>TRACE[xfpm-main.c:205] xfpm_start(): Starting the power manager<b=
r>TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration =
for lock-screen-suspend-hibernate<br>TRACE[xfpm-xfconf.c:165] xfpm_xfconf_l=
oad(): Using default configuration for critical-power-level<br>TRACE[xfpm-x=
fconf.c:165] xfpm_xfconf_load(): Using default configuration for show-brigh=
tness-popup<br>TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default c=
onfiguration for handle-brightness-keys<br>TRACE[xfpm-xfconf.c:165] xfpm_xf=
conf_load(): Using default configuration for hibernate-button-action<br>TRA=
CE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for s=
leep-button-action<br>TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using de=
fault configuration for brightness-level-on-ac<br>TRACE[xfpm-xfconf.c:165] =
xfpm_xfconf_load(): Using default configuration for brightness-level-on-bat=
tery<br>TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configur=
ation for brightness-slider-min-level<br>TRACE[xfpm-xfconf.c:165] xfpm_xfco=
nf_load(): Using default configuration for dpms-enabled<br>TRACE[xfpm-xfcon=
f.c:165] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mod=
e<br>TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configurati=
on for inactivity-on-ac<br>TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Usi=
ng default configuration for inactivity-sleep-mode-on-ac<br>TRACE[xfpm-xfco=
nf.c:165] xfpm_xfconf_load(): Using default configuration for network-manag=
er-sleep<br>TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default conf=
iguration for logind-handle-power-key<br>TRACE[xfpm-xfconf.c:165] xfpm_xfco=
nf_load(): Using default configuration for logind-handle-suspend-key<br>TRA=
CE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for l=
ogind-handle-hibernate-key<br>TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): =
Using default configuration for heartbeat-command<br>TRACE[xfpm-dpms.c:75] =
xfpm_dpms_set_timeouts(): Settings dpms: standby=3D3600 suspend=3D0 off=3D3=
600<br><br>TRACE[xfpm-polkit.c:287] xfpm_polkit_init_data(): Using unix ses=
sion polkit subject<br>TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_inte=
rn(): polkit request: ((&#39;unix-process&#39;, {&#39;pid&#39;: &lt;uint32 =
9707&gt;, &#39;start-time&#39;: &lt;uint64 2432178&gt;}), &#39;org.freedesk=
top.login1.power-off&#39;, @a{ss} {}, uint32 0, &#39;&#39;)<br>TRACE[xfpm-p=
olkit.c:366] xfpm_polkit_check_auth_intern(): Action=3Dorg.freedesktop.logi=
n1.power-off is authorized=3DTRUE<br>TRACE[xfpm-polkit.c:345] xfpm_polkit_c=
heck_auth_intern(): polkit request: ((&#39;unix-process&#39;, {&#39;pid&#39=
;: &lt;uint32 9707&gt;, &#39;start-time&#39;: &lt;uint64 2432178&gt;}), &#3=
9;org.freedesktop.login1.reboot&#39;, @a{ss} {}, uint32 0, &#39;&#39;)<br>T=
RACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=3Dorg.freed=
esktop.login1.reboot is authorized=3DTRUE<br>TRACE[xfpm-polkit.c:345] xfpm_=
polkit_check_auth_intern(): polkit request: ((&#39;unix-process&#39;, {&#39=
;pid&#39;: &lt;uint32 9707&gt;, &#39;start-time&#39;: &lt;uint64 2432178&gt=
;}), &#39;org.freedesktop.login1.suspend&#39;, @a{ss} {}, uint32 0, &#39;&#=
39;)<br>TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=3D=
org.freedesktop.login1.suspend is authorized=3DTRUE<br>TRACE[xfpm-polkit.c:=
345] xfpm_polkit_check_auth_intern(): polkit request: ((&#39;unix-process&#=
39;, {&#39;pid&#39;: &lt;uint32 9707&gt;, &#39;start-time&#39;: &lt;uint64 =
2432178&gt;}), &#39;org.freedesktop.login1.hibernate&#39;, @a{ss} {}, uint3=
2 0, &#39;&#39;)<br>TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(=
): Action=3Dorg.freedesktop.login1.hibernate is authorized=3DTRUE<br>TRACE[=
xfpm-power.c:936] xfpm_power_get_power_devices(): Power device detected at =
: /org/freedesktop/UPower/devices/line_power_AC<br>TRACE[xfpm-power.c:898] =
xfpm_power_add_device(): &#39;line-power&#39; device added<br>TRACE[xfpm-po=
wer.c:936] xfpm_power_get_power_devices(): Power device detected at : /org/=
freedesktop/UPower/devices/battery_BAT0<br>TRACE[xfpm-power.c:898] xfpm_pow=
er_add_device(): &#39;battery&#39; device added<br>TRACE[xfpm-power.c:908] =
xfpm_power_add_device(): Battery device type &#39;battery&#39; detected at:=
 /org/freedesktop/UPower/devices/battery_BAT0<br>TRACE[xfpm-button.c:183] x=
fpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OF=
F)<br>TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 213 : =
((XfpmButtonKey) BUTTON_HIBERNATE)<br>TRACE[xf<br>(xfce4-power-manager:9707=
): GLib-CRITICAL **: 18:43:58.247: g_error_free: assertion &#39;error !=3D =
NULL&#39; failed<br><br>** (xfce4-power-manager:9707): WARNING **: 18:43:58=
.248: No outputs have backlight property<br>xfce4-power-manager-Message: 18=
:43:58.264: Set kernel brightness switch to 0<br>xfce4-power-manager-Messag=
e: 18:44:04.142: Restored brightness switch value to: 1<br><br>(xfce4-power=
-manager:9707): Gtk-WARNING **: 18:44:04.142: A floating object was finaliz=
ed. This means that someone<br>called g_object_unref() on an object that ha=
d only a floating<br>reference; the initial floating reference is not owned=
 by anyone<br>and must be removed with g_object_ref_sink().<br><br>(xfce4-p=
ower-manager:9707): Gtk-WARNING **: 18:44:04.142: A floating object was fin=
alized. This means that someone<br>called g_object_unref() on an object tha=
t had only a floating<br>reference; the initial floating reference is not o=
wned by anyone<br>and must be removed with g_object_ref_sink().<br>pm-butto=
n.c:183] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTO=
N_SLEEP)<br>TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key =
233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)<br>TRACE[xfpm-button.c:183=
] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_B=
RIGHTNESS_DOWN)<br>TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabb=
ed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)<br>TRACE[xfpm-button.c:183] x=
fpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIG=
HTNESS_UP)<br>TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed ke=
y 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)<br>TRACE[xfpm-power.c:=
936] xfpm_power_get_power_devices(): Power device detected at : /org/freede=
sktop/UPower/devices/battery_BAT1<br>TRACE[xfpm-power.c:898] xfpm_power_add=
_device(): &#39;battery&#39; device added<br>TRACE[xfpm-power.c:908] xfpm_p=
ower_add_device(): Battery device type &#39;battery&#39; detected at: /org/=
freedesktop/UPower/devices/battery_BAT1<br>TRACE[xfpm-dpms.c:75] xfpm_dpms_=
set_timeouts(): Settings dpms: standby=3D1260 suspend=3D0 off=3D1560<br><br=
>TRACE[xfpm-dpms.c:348] xfpm_dpms_set_on_battery(): dpms on battery TRUE<br=
>TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10<br>TRACE[xf=
pm-power.c:1446] xfpm_update_blank_time(): Timeout: 10<br>TRACE[xfpm-power.=
c:213] xfpm_power_check_polkit_auth(): using logind suspend backend<br>TRAC=
E[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: ((&#3=
9;unix-process&#39;, {&#39;pid&#39;: &lt;uint32 9707&gt;, &#39;start-time&#=
39;: &lt;uint64 2432178&gt;}), &#39;org.freedesktop.login1.suspend&#39;, @a=
{ss} {}, uint32 0, &#39;&#39;)<br>TRACE[xfpm-polkit.c:366] xfpm_polkit_chec=
k_auth_intern(): Action=3Dorg.freedesktop.login1.suspend is authorized=3DTR=
UE<br>TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit requ=
est: ((&#39;unix-process&#39;, {&#39;pid&#39;: &lt;uint32 9707&gt;, &#39;st=
art-time&#39;: &lt;uint64 2432178&gt;}), &#39;org.freedesktop.login1.hibern=
ate&#39;, @a{ss} {}, uint32 0, &#39;&#39;)<br>TRACE[xfpm-polkit.c:366] xfpm=
_polkit_check_auth_intern(): Action=3Dorg.freedesktop.login1.hibernate is a=
uthorized=3DTRUE<br>TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Time=
out: 10<br>TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10<b=
r>TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 13<br>TRACE[x=
fpm-power.c:1446] xfpm_update_blank_time(): Timeout: 13<br>TRACE[xfpm-manag=
er.c:645] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: h=
andle-power-key:handle-suspend-key:handle-hibernate-key<br>TRACE[xfpm-backl=
ight.c:256] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac=
 timeout changed 120<br>TRACE[xfpm-backlight.c:277] xfpm_backlight_brightne=
ss_on_battery_settings_changed(): Alarm on battery timeout changed 120<br>T=
RACE[xfpm-main.c:68] xfpm_quit_signal(): sig 2<br>TRACE[xfpm-manager.c:939]=
 xfpm_manager_stop(): Stopping<br>TRACE[xfpm-manager.c:266] xfpm_manager_qu=
it(): Exiting<br>TRACE[xfpm-polkit.c:244] xfpm_polkit_free_data(): Destroyi=
ng Polkit data<br></div><div><br></div><div><br></div><div> <br></div></div=
><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On We=
d, Jun 3, 2020 at 2:27 PM Mark Hindley &lt;<a href=3D"mailto:[email protected]=
rg.uk">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex">On Wed, Jun 03, 2020 at 12:04:32PM -0500, Michael=
a Merz wrote:<br>
&gt;=C2=A0 =C2=A0 Hey Mark - hope you are not doing all the work alone. Tha=
nks for your<br>
&gt;=C2=A0 =C2=A0 help. Here is the requested policykit listing:<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 elogind=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0241.4=
-2<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 amd64=C2=A0 =C2=A0 =C2=A0 =C2=A0 use=
r, seat and session management daemon<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 gir1.2-polkit-1.0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00.105-25+devuan8<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0amd64=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 GObject introspection data for PolicyKit<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 libelogind0:amd64=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0241.4-2<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 amd64=C2=A0 =C2=A0 =C2=A0 =C2=A0 use=
r, seat and session management library<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 libpam-elogind:amd64=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 241.4-2<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 amd64=C2=A0 =C2=A0 =C2=A0 =C2=A0 elo=
gind PAM module<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 libpolkit-agent-1-0:amd64=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A00.105-25+devuan8<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0amd64=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 PolicyKit Authentication Agent API<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 libpolkit-backend-1-0=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00.105-25+devuan8<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0all=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 PolicyKit Authorization API<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 libpolkit-backend-elogind-1-0:amd64=C2=A0 =C2=A0=
0.105-25+devuan8<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0amd64=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 PolicyKit backend API<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 libpolkit-gobject-1-0=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00.105-25+devuan8<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0all=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 PolicyKit Authorization API<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 libpolkit-gobject-elogind-1-0:amd64=C2=A0 =C2=A0=
0.105-25+devuan8<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0amd64=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 PolicyKit Authorization API<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 policykit-1=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00.105-25+devu=
an8<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0amd64=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 framework for managing administrative policies and<br>
&gt;=C2=A0 =C2=A0 privileges<br>
&gt;=C2=A0 =C2=A0 ii=C2=A0 policykit-1-gnome=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00.105-7<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 amd64=C2=A0 =C2=A0 =C2=A0 =C2=A0 aut=
hentication agent for PolicyKit<br>
<br>
OK. That looks fine.<br>
<br>
So You need to use either xfce4-power-manager/pm-utils or elogind for this,=
 but<br>
not both.<br>
<br>
Details are available at <a href=3D"https://docs.xfce.org/xfce/xfce4-power-=
manager/faq" rel=3D"noreferrer" target=3D"_blank">https://docs.xfce.org/xfc=
e/xfce4-power-manager/faq</a> and<br>
in man logind.conf(5) (particularly the HandleLidSwitch* options).<br>
<br>
How have you tried to set this up and exactly what doesn&#39;t work?<br>
<br>
Is xfce4-power-manager actually running?<br>
<br>
If it still isn&#39;t working please enable xfce4-power-manager debugging:<=
br>
<br>
=C2=A0xfce4-power-manager -q<br>
=C2=A0xfce4-power-manager --no-daemon --debug<br>
<br>
and see what it reports when it runs.<br>
<br>
Thanks.<br>
<br>
Mark<br>
</blockquote></div>

--000000000000363b9205a736a176--

Acknowledgement sent to Michaela Merz <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#479; Package xcfe4-power-manager. Full text available.

Message received at [email protected]:


Received: (at 479) by bugs.devuan.org; 4 Jun 2020 09:00:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Thu, 04 Jun 2020 09:00:02 +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 5EA93F60C99
	for <[email protected]>; Thu,  4 Jun 2020 10:52:47 +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 <[email protected]>)
	id 1jglc7-0001Rd-Nc; Thu, 04 Jun 2020 09:52:40 +0100
Received: (nullmailer pid 19344 invoked by uid 1000);
	Thu, 04 Jun 2020 08:52:37 -0000
Date: Thu, 4 Jun 2020 09:52:37 +0100
From: Mark Hindley <[email protected]>
To: Michaela Merz <[email protected]>
Cc: [email protected]
Subject: Re: bug#479: xcfe4-power-manager: Can't configure laptop lid
Message-ID: <[email protected]>
References: <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
 <[email protected]>
 <CAKDb+y4s7-t3acQuNLTaV3ozZ7JWx7Rp+C-ehz4pCqbH+RU0UA@mail.gmail.com>
 <[email protected]>
 <CAKDb+y5XwN9KBW6Y-h2MFDMxz5OyAecUgjcmdqdT2+6bGC12QA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKDb+y5XwN9KBW6Y-h2MFDMxz5OyAecUgjcmdqdT2+6bGC12QA@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

Michaela,

Thanks.

One other thing that has occurred to me: is the kernel finding and enabling the
lid switch? What make of laptop is it? Does /proc/acpi/button/lid/LID0/ exist?

It could be a problem at the kernel/harware level.

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#479; Package xcfe4-power-manager. Full text available.

Message received at [email protected]:


Received: (at 479) by bugs.devuan.org; 3 Jun 2020 19:30:07 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 <[email protected]>; 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 <[email protected]>)
	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 <[email protected]>
To: Michaela Merz <[email protected]>
Cc: [email protected]
Subject: Re: bug#479: xcfe4-power-manager: Can't configure laptop lid
Message-ID: <[email protected]>
References: <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
 <[email protected]>
 <CAKDb+y4s7-t3acQuNLTaV3ozZ7JWx7Rp+C-ehz4pCqbH+RU0UA@mail.gmail.com>
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

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#479; Package xcfe4-power-manager. Full text available.

Message received at [email protected]:


Received: (at 479) by bugs.devuan.org; 3 Jun 2020 17:10:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 17:10:02 +0000 (UTC)
Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51])
	(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 EC24BF60CE6
	for <[email protected]>; Wed,  3 Jun 2020 19:04:44 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=googlemail.com [email protected] header.b="MGZX/bEm";
	dkim-atps=neutral
Received: by mail-ot1-f51.google.com with SMTP id b18so2477911oti.1
        for <[email protected]>; Wed, 03 Jun 2020 10:04:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20161025;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :cc;
        bh=T4wNzOZcO3autWLWabCi01ec9cv1Ux5uu0+JV4xzMec=;
        b=MGZX/bEmr9BHtcElfVfxf5dsn+4fKH8cnfDo4pkrvTg+og8efMYzz7CpL1hJlTTyic
         Cx+HXwFLALllmRmXL0M7w5DDAfwWFaGUybHtbgaoITeND244Eb1mrLKB8QmWWjNxwqEA
         R3Rgn9Z1BXyX2n1XEQH+mIz5XUmDcyZegZ4NyqfhibW+iNG/vSL5M2PtHvb/rikKH3OM
         oTVY4UUnWoRcRv4KJchbmZ62KyJCuQkBfOqlI+o82hf6HjJ3rWeimsMqFehJywnwJwf8
         1Lej02XZYg5KXANc+Cm8B3a0pnt++ym2FZGsKu6UjLbxAEuRSQaVpyx4LZOBwgpErlO2
         p/Ug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=T4wNzOZcO3autWLWabCi01ec9cv1Ux5uu0+JV4xzMec=;
        b=PsB+DliEeBZTBWpJTtDg24LcmPxDyuAv7qREZXanrBv1PHl2qYlm3J11g+2qTZsi5f
         r/tXtvDmQiJ1snrtefmiIizRB9HpHQNBZNy4Wor+pqz+ZU35q3ZMtAjregf0kwV5eLn9
         oZkCQRLu72oS2QgT+I/rBeiXZAwm7UJvPtWQVG2igt29Ha0qkjsc/oHDtYEXWYDY+4r8
         cm3tTRywI8qcmSSnqcWgu/Aiv452QbTSeUzOgiy4zjbIdwkIJW9nEQL6PKvL7pQ7Y/hz
         t9wDA1sWjpTUFRMWfmzSu5Mpr8l1dvBInGszqt3tEAgR821eidyv3oLVMt8evyNLBLFX
         vdgg==
X-Gm-Message-State: AOAM5322zv+B0D20Lu6axFEsHJ/y9gLww0roy7XJ3/VsofX6G+Dzhme9
	yVoL2YNI1fKur1RyYMkro0P0jywXXnK9XBaqVdg=
X-Google-Smtp-Source: ABdhPJzma4PkqVIwyArZVDUQfrz40ySr7FVDHS+csyu0GFKxlIqxvPEBXRTtdIHO6cbIybIcmHjGIpsW+yno+7VUDVA=
X-Received: by 2002:a05:6830:1658:: with SMTP id h24mr666578otr.43.1591203883058;
 Wed, 03 Jun 2020 10:04:43 -0700 (PDT)
MIME-Version: 1.0
References: <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
 <[email protected]>
In-Reply-To: <[email protected]>
From: Michaela Merz <[email protected]>
Date: Wed, 3 Jun 2020 12:04:32 -0500
Message-ID: <CAKDb+y4s7-t3acQuNLTaV3ozZ7JWx7Rp+C-ehz4pCqbH+RU0UA@mail.gmail.com>
Subject: Re: bug#479: xcfe4-power-manager: Can't configure laptop lid
To: Mark Hindley <[email protected]>
Cc: [email protected]
Content-Type: multipart/alternative; boundary="00000000000037092c05a73106d6"
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

--00000000000037092c05a73106d6
Content-Type: text/plain; charset="UTF-8"

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

Cheers
Michaela


On Wed, Jun 3, 2020 at 4:25 AM Mark Hindley <[email protected]> wrote:

> Michaela,
>
> On Tue, Jun 02, 2020 at 06:25:09PM -0500, Michaela Merz wrote:
> >    Package: xcfe4-power-manager
> >    Version: 1.6.1-1 amd64
> >    Devuan Beowulf, 4-19.0-9-amd64, Installed on Lenovo T460 (Laptop)
> >    Unable to configure suspend/resume (laptop lid). No luck with pm-utils
> >    installed. Created a work-around with acpid and script in /etc/acpi.
> >    However, xfce4-session-logout -s actually puts laptop into suspend to
> >    ram.
>
> Do you have an elogind or consolekit based installation?
>
> Do you have the correct policykit libraries installed?
>
> Please show the output of `dpkg -l | egrep
> 'logind|consolekit|policykit|polkit'`
>
> Thanks.
>
> Mark
>

--00000000000037092c05a73106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2Rpdj4NCg==
--00000000000037092c05a73106d6--

Acknowledgement sent to Michaela Merz <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#479; Package xcfe4-power-manager. Full text available.

Message received at [email protected]:


Received: (at 479) by bugs.devuan.org; 3 Jun 2020 09:30:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 09:30:04 +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 211DBF60C64
	for <[email protected]>; Wed,  3 Jun 2020 11:25:55 +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 <[email protected]>)
	id 1jgPej-0005Dj-QZ; Wed, 03 Jun 2020 10:25:54 +0100
Received: (nullmailer pid 6717 invoked by uid 1000);
	Wed, 03 Jun 2020 09:25:53 -0000
Date: Wed, 3 Jun 2020 10:25:53 +0100
From: Mark Hindley <[email protected]>
To: Michaela Merz <[email protected]>, [email protected]
Subject: Re: bug#479: xcfe4-power-manager: Can't configure laptop lid
Message-ID: <[email protected]>
References: <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
X-Debbugs-No-Ack: No Thanks
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

Michaela,

On Tue, Jun 02, 2020 at 06:25:09PM -0500, Michaela Merz wrote:
>    Package: xcfe4-power-manager
>    Version: 1.6.1-1 amd64
>    Devuan Beowulf, 4-19.0-9-amd64, Installed on Lenovo T460 (Laptop)
>    Unable to configure suspend/resume (laptop lid). No luck with pm-utils
>    installed. Created a work-around with acpid and script in /etc/acpi.
>    However, xfce4-session-logout -s actually puts laptop into suspend to
>    ram.

Do you have an elogind or consolekit based installation? 

Do you have the correct policykit libraries installed?

Please show the output of `dpkg -l | egrep 'logind|consolekit|policykit|polkit'`

Thanks.

Mark

Information forwarded to [email protected], [email protected]:
bug#479; Package xcfe4-power-manager. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 2 Jun 2020 23:30:05 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Tue, 02 Jun 2020 23:30:05 +0000 (UTC)
Received: from mail-oo1-f45.google.com (mail-oo1-f45.google.com [209.85.161.45])
	(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 AC6E1F60C05
	for <[email protected]>; Wed,  3 Jun 2020 01:25:22 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=googlemail.com [email protected] header.b="mN52Kfse";
	dkim-atps=neutral
Received: by mail-oo1-f45.google.com with SMTP id n31so125524ooi.10
        for <[email protected]>; Tue, 02 Jun 2020 16:25:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20161025;
        h=mime-version:from:date:message-id:subject:to;
        bh=C7Rl8Smcz8ZX71gWpmDLA7+obLtFGmZJLPQcQSAxyr8=;
        b=mN52KfsezlHHmq1Ll8C/hCdTLCoKP9lI+w64JvrlVtv3GFly5rhRXNDlrhDMyvlWkJ
         5Q8PMEfRieN7iaGq8sqKng81rWXbtCX9K2QzVPpbUEESYTOoVl6WVd8AJqo/yW8CcCs4
         FXepHfiQxHf8l8S0J/MU/xd4cg16tP7BMcDHJSvqE/q8SMY5yPqBMlcQdPrEF8AKOXfy
         z9NBCNNSBQBjBB+KxgnY41A37ouoFSLHC0V6EdYNov5TTSVvR9YWyFp/OUI5iZH3gG6j
         hfWF5Kc6GvqYCyT4JrVuc0Iq/aCPRFREvEroz09vGDq0IlVLsACKefcatz+VbyHSxYPm
         chKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=C7Rl8Smcz8ZX71gWpmDLA7+obLtFGmZJLPQcQSAxyr8=;
        b=F3pq9bFOPtnvop/HWx9PRwDOPn4i+CjWhRALvunUeOL3sDSpLgpsgP2kj1/xKv9gwJ
         UtfdGvLQf9L/ueneHghEbxEdmQ8hByMQQ9Vo2SGoEBPB+NUA49ox/O6P4YJca8dCoZvp
         QPICsvVSrVrq9SPIdcSCaqJda4J2OXAMbQtoDVW5XiUs4iWO+l/ZQ4a/Q/YWXpMMT67C
         Z9CBHBQx+V9+9PG8AOM78PuWycd3aovVL1p9JzTJONG8+fRn/GPPYKeUAlcVMKmivSwo
         muo/0gvmUK5cYeAq5xAnF0h21gWql7FDTo+wvpSmzboeTYFOG/vHFjsG3PrjtifVkFkC
         DQlw==
X-Gm-Message-State: AOAM533X1OIOte8K122ng9GrqrWOlKPqL9ECPjlWjeavoxpn9wy9QnY9
	wdnexSKNmOdE3yIsomzcFgLbbHpupe+xcF5rXwkILiHh
X-Google-Smtp-Source: ABdhPJx7a1pzaWi9mkt2+E+VDOVytjJdQP0zN1AYMMvUJkzA/l+DBUTmQwRlgsUaHSC7L0qGP1jDWOtr6MkDAOEz7uw=
X-Received: by 2002:a4a:b40d:: with SMTP id y13mr22513200oon.58.1591140320342;
 Tue, 02 Jun 2020 16:25:20 -0700 (PDT)
MIME-Version: 1.0
From: Michaela Merz <[email protected]>
Date: Tue, 2 Jun 2020 18:25:09 -0500
Message-ID: <CAKDb+y7fOevVvtPQw+5Vgme0K9+r3mWwnD3jMh+cebpXHfQ1pQ@mail.gmail.com>
Subject: xcfe4-power-manager: Can't configure laptop lid
To: [email protected]
Content-Type: multipart/alternative; boundary="00000000000094f62d05a72239f2"
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

--00000000000094f62d05a72239f2
Content-Type: text/plain; charset="UTF-8"

Package: xcfe4-power-manager
Version: 1.6.1-1 amd64

Devuan Beowulf, 4-19.0-9-amd64, Installed on Lenovo T460 (Laptop)

Unable to configure suspend/resume (laptop lid). No luck with pm-utils
installed. Created a work-around with acpid and script in /etc/acpi.
However, xfce4-session-logout -s actually puts laptop into suspend to ram.

This worked in ASCII

--00000000000094f62d05a72239f2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Package: xcfe4-power-manager<br></div><div>Version: 1=
.6.1-1 amd64</div><div><br></div><div>Devuan Beowulf, 4-19.0-9-amd64, Insta=
lled on Lenovo T460 (Laptop)</div><div><br></div><div>Unable to configure s=
uspend/resume (laptop lid). No luck with pm-utils installed. Created a work=
-around with acpid and script in /etc/acpi. However, xfce4-session-logout -=
s actually puts laptop into suspend to ram.</div><div><br></div><div>This w=
orked in ASCII</div><div><br></div><div><br></div><div><br></div><div><br><=
/div><div><br></div></div>

--00000000000094f62d05a72239f2--

Acknowledgement sent to Michaela Merz <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected].

Your message had a Version: pseudo-header with an invalid package version:

1.6.1-1 amd64

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

Full text available.


Report forwarded to [email protected], [email protected]:
bug#479; Package xcfe4-power-manager. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Fri, 21 Feb 2025 16:39:01 UTC