#1099775 xfce4-power-manager-plugins: To change brightness, you need to install "pkexec"

Package:
xfce4-power-manager-plugins
Source:
xfce4-power-manager-plugins
Description:
power manager plugins for Xfce panel
Submitter:
Gert Robben
Date:
2025-05-29 09:15:03 UTC
Severity:
normal
Tags:
#1099775#5
Date:
2025-03-07 18:00:47 UTC
From:
To:
Dear Maintainer,

After Bookworm -> Trixie upgrade, I couldn't change brightness anymore with the
hotkeys.

When running "xfce4-power-manager --debug" and pressing a hotkey, I saw:
TRACE[xfpm-brightness-polkit.c:160] xfpm_brightness_polkit_set_level():
Executing command: pkexec /usr/sbin/xfpm-power-backlight-helper --set-
brightness 1
TRACE[xfpm-brightness-polkit.c:164] xfpm_brightness_polkit_set_level(): Failed
to set value: Failed to execute child process “pkexec” (No such file or
directory)
Then I found that command in /usr/lib/x86_64-linux-
gnu/xfce4/panel/plugins/libxfce4powermanager.so , which belongs to xfce4-power-
manager-plugins.

I use network-manager, which in Bookworm depended on policykit-1, which depends
on pkexec.
But in Trixie it no longer depends on policykit-1, so (that and) pkexec got
autoremoved.
That's why in my case, it worked fine in Bookworm and broke in Trixie.

Thanks, Gert

#1099775#10
Date:
2025-05-29 08:57:28 UTC
From:
To:
Adjusting the severity to "important" since this bug breaks
functionally of the package.

I can confirm the issue. It would be nice if we could have this fix in
trixie, seems like a simple "Recommends: pkexec" or "Depends: ..." would
fix this.
I only tested it by installing "pkexec" manually.


Reagrds,
Håvard