Bug#1099775: xfce4-power-manager-plugins: To change brightness, you need to install "pkexec"
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.
Thanks, Gert
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.12-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages xfce4-power-manager-plugins depends on:
ii libc6 2.40-7
ii libcairo2 1.18.2-2
ii libglib2.0-0t64 2.83.4-1
ii libgtk-3-0t64 3.24.48-4
ii libpango-1.0-0 1.56.1-1
ii libpangocairo-1.0-0 1.56.1-1
ii libupower-glib3 1.90.7-1
ii libwayland-client0 1.23.1-3
ii libx11-6 2:1.8.10-2
ii libxfce4panel-2.0-4 4.20.3-1
ii libxfce4ui-2-0 4.20.0-1
ii libxfce4util7 4.20.0-1
ii libxfconf-0-3 4.20.0-1
ii libxrandr2 2:1.5.4-1+b3
ii xfce4-power-manager 4.20.0-1
xfce4-power-manager-plugins recommends no packages.
xfce4-power-manager-plugins suggests no packages.
-- no debconf information
Reply to: