summaryrefslogtreecommitdiff
path: root/bailer.xml.in
blob: 6cd9aeecde9e0b16af496703148b009da4a80b42 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<compiz>
    <plugin name="bailer" useBcop="true">
    <_short>Bailer</_short>
    <_long>Take decisive action if something is affecting the experience</_long>
    <deps>
	<relation type="before">
	    <plugin>composite</plugin>
	    <plugin>opengl</plugin>
	</relation>
    </deps>
    <category>Utility</category>
	<options>
	    <option name="fatal_fallback_mode" type="int">
		<_short>Fatal fallback mode</_short>
		<_long>How best to handle a fatal fallback</_long>
		<min>0</min>
		<max>3</max>
		<default>0</default>
		<desc>
		    <value>0</value>
		    <_name>No action</_name>
		</desc>
		<desc>
		    <value>1</value>
		    <_name>Reduced functionality mode</_name>
		</desc>
		<desc>
		    <value>2</value>
		    <_name>Detect session fallback</_name>
		</desc>
		<desc>
		    <value>3</value>
		    <_name>Execute custom fallback</_name>
		</desc>
	    </option>
	    <option name="custom_fallback_window_manager" type="string">
		<_short>Custom fallback window manager command</_short>
		<_long>Command to execute when selecting to do a custom fallback</_long>
	    </option>
	    <option name="poor_performance_fallback" type="int">
		<_short>Poor performance fallback</_short>
		<_long>What do do when plugins indicate that performance is reading poor levels</_long>
		<desc>
		    <value>0</value>
		    <_name>No action</_name>
		</desc>
		<desc>
		    <value>1</value>
		    <_name>Launch fatal fallback</_name>
		</desc>
		<desc>
		    <value>2</value>
		    <_name>Unload a custom list of plugins</_name>
		</desc>
		<desc>
		    <value>3</value>
		    <_name>Reduced functionality mode</_name>
		</desc>
		<min>0</min>
		<max>2</max>
		<default>0</default>
	    </option>
	    <option name="bad_performance_threshold" type="int">
		<_short>Bad performance threshold</_short>
		<_long>How much bad performance to tolerate before taking decisive action</_long>
		<min>0</min>
		<max>300</max>
		<default>50</default>
	    </option>
	    <option name="bad_plugins" type="list">
		<_short>Bad Plugins</_short>
		<_long>Plugins to unload in case the session is being impacted</_long>
		<default></default>
		<type>string</type>
	    </option>
	</options>
    </plugin>
</compiz>