summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.policy
blob: 5183b47cbc20b3c67445cd0573d82d00a320efbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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>