diff options
Diffstat (limited to 'tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy')
-rw-r--r-- | tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy b/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy new file mode 100644 index 000000000..5183b47cb --- /dev/null +++ b/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*--> +<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" + "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + +<policyconfig> + + <vendor>The Trinity Desktop Environment Project</vendor> + <vendor_url>http://www.trinitydesktop.org</vendor_url> + + <action id="org.trinitydesktop.hardwarecontrol.power.freeze"> + <description>Freeze the system.</description> + <message>Authentication is required to freeze the system.</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.standby"> + <description>Put the system in standby mode.</description> + <message>Authentication is required to put the system in standby.</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.suspend"> + <description>Put the system in suspend mode.</description> + <message>Authentication is required to suspend the system.</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.hybridsuspend"> + <description>Put the system in hybrid suspend mode.</description> + <message>Authentication is required to put the system in hybrid suspend mode.</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.hibernate"> + <description>Hibernate the system.</description> + <message>Authentication is required to hibernate the system.</message> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + +</policyconfig> |