[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#37764] [PATCH] services: xfce: Add xfce4-power-manager to polkit se

From: David Wilson
Subject: [bug#37764] [PATCH] services: xfce: Add xfce4-power-manager to polkit settings.
Date: Tue, 15 Oct 2019 05:17:54 -0700
User-agent: Cyrus-JMAP/3.1.7-360-g7dda896-fmstable-20191004v2

Hi all!

This patch fixes an issue in the XFCE desktop service configuration which causes the polkit action for xfce4-power-manager to not be installed in /etc/polkit-1/actions.  The lack of this file causes the user to be prompted for administrator credentials when they attempt to use their laptop's screen brightness keys.

The fix is to use a similar pattern to the GNOME service and add an 'xfce-polkit-settings' procedure which generates the list of XFCE packages that contain polkit actions to install.  Now that this list contains 'xfce4-power-manager`, the polkit file 'org.xfce.power.policy' is installed correctly and the screen brightness keys work as intended.



Attachment: 0001-services-xfce-Add-xfce4-power-manager-to-polkit-sett.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]