diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-01-28 15:49:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-02-06 23:37:13 +0900 |
commit | 5931eecd26b26e4af8197ddae60be1625bf9815c (patch) | |
tree | 163bc614507ea9acf00a75e2791ccce9f81959f5 /tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy | |
parent | b11c80958878278a87e6b75ed8d47aff6ac1219c (diff) | |
download | tdelibs-5931eecd26b26e4af8197ddae60be1625bf9815c.tar.gz tdelibs-5931eecd26b26e4af8197ddae60be1625bf9815c.zip |
tdehw dbus daemon: improved response for can* functions and added
polkit support to cpugovernor and brightness interfaces.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy')
-rw-r--r-- | tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy b/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy index 5183b47cb..f176359e9 100644 --- a/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy +++ b/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy @@ -7,6 +7,26 @@ <vendor>The Trinity Desktop Environment Project</vendor> <vendor_url>http://www.trinitydesktop.org</vendor_url> + <action id="org.trinitydesktop.hardwarecontrol.cpugovernor.setcpugovernor"> + <description>Set CPU governor.</description> + <message>Authentication is required to set the CPU governor.</message> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + + <action id="org.trinitydesktop.hardwarecontrol.brightness.setbrightness"> + <description>Set display brightness.</description> + <message>Authentication is required to set the display brightness.</message> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + <action id="org.trinitydesktop.hardwarecontrol.power.freeze"> <description>Freeze the system.</description> <message>Authentication is required to freeze the system.</message> @@ -57,4 +77,14 @@ </defaults> </action> + <action id="org.trinitydesktop.hardwarecontrol.power.sethibernationmethod"> + <description>Set method used to hibernate the system.</description> + <message>Authentication is required to set hibernation method.</message> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + </policyconfig> |