Control: tags -1 trixie
Control: severity -1 important

Adjusting the severity to "important" since this bug breaks
functionally of the package.

On Fri, 07 Mar 2025 19:00:47 +0100 Gert Robben <t...@gert.gr> wrote:
> Package: xfce4-power-manager-plugins
> Version: 4.20.0-1
> Severity: normal
> 
> 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.
> 

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

Reply via email to