:: [devuan-dev] bug#479: xcfe4-power-m…
Pàgina inicial
Delete this message
Reply to this message
Autor: Mark Hindley
Data:  
A: Michaela Merz
CC: 479
Assumpte: [devuan-dev] bug#479: xcfe4-power-manager: Can't configure laptop lid
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