summaryrefslogtreecommitdiff
path: root/src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
blob: 44a7472d96591533de5f2a03839b2d5f83e94b7e (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2011, Nokia <ivan.frade@nokia.com>

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA  02110-1301, USA.
-->
<schemalist>
  <schema id="org.freedesktop.Tracker.Miner.Files" path="/org/freedesktop/tracker/miner/files/" gettext-domain="tracker">
    <key name="verbosity" enum="org.freedesktop.Tracker.TrackerVerbosity">
      <default>'errors'</default>
      <_summary>Log verbosity</_summary>
      <_description>Log verbosity.</_description>
    </key>

    <key name="initial-sleep" type="i">
      <_summary>Initial sleep</_summary>
      <_description>Initial sleep time, in seconds.</_description>
      <range min="0" max="1000"/>
      <default>15</default>
    </key>

    <key name="sched-idle" enum="org.freedesktop.Tracker.TrackerSchedIdle">
      <default>'first-index'</default>
      <_summary>Scheduler priority when idle</_summary>
      <_description>
	The scheduler is the kernel component that decides which
	runnable application will be executed by the CPU next. Each
	application has an associated scheduling policy and priority.
      </_description>
    </key>

    <key name="throttle" type="i">
      <_summary>Throttle</_summary>
      <_description>Indexing speed, the higher the slower.</_description>
      <range min="0" max="20"/>
      <default>0</default>
    </key>

    <key name="low-disk-space-limit" type="i">
      <_summary>Low disk space limit</_summary>
      <_description>Disk space threshold in percent at which to pause indexing, or -1 to disable.</_description>
      <range min="-1" max="100"/>
      <default>-1</default>
    </key>

    <key name="crawling-interval" type="i">
      <_summary>Crawling interval</_summary>
      <_description>
        Interval in days to check whether the filesystem is up to date in the database.
	0 forces crawling anytime, -1 forces it only after unclean shutdowns, and -2
	disables it entirely.
      </_description>
      <range min="-2" max="365"/>
      <default>-1</default>
    </key>

    <key name="removable-days-threshold" type="i">
      <_summary>Removable devices’ data permanence threshold</_summary>
      <_description>
	Threshold in days after which files from removables devices
	will be removed from database if not mounted. 0 means never,
	maximum is 365.
      </_description>
      <range min="0" max="365"/>
      <default>3</default>
    </key>

    <key name="enable-monitors" type="b">
      <_summary>Enable monitors</_summary>
      <_description>Set to false to completely disable any file monitoring</_description>
      <default>true</default>
    </key>

    <key name="enable-writeback" type="b">
      <_summary>Enable writeback</_summary>
      <_description>Set to false to completely disable any file writeback</_description>
      <default>true</default>
    </key>

    <key name="index-removable-devices" type="b">
      <_summary>Index removable devices</_summary>
      <_description>Set to true to enable indexing mounted directories for removable devices.</_description>
      <default>false</default>
    </key>

    <key name="index-optical-discs" type="b">
      <_summary>Index optical discs</_summary>
      <_description>
	Set to true to enable indexing CDs, DVDs, and generally optical media
	(if removable devices are not indexed, optical discs won’t be either)
      </_description>
      <default>false</default>
    </key>

    <key name="index-on-battery" type="b">
      <_summary>Index when running on battery</_summary>
      <_description>Set to true to index while running on battery</_description>
      <default>true</default>
    </key>

    <key name="index-on-battery-first-time" type="b">
      <_summary>Perform initial indexing when running on battery</_summary>
      <_description>Set to true to index while running on battery for the first time only</_description>
      <default>true</default>
    </key>

    <key name="index-recursive-directories" type="as">
      <_summary>Directories to index recursively</_summary>
      <_description>
	List of directories to index recursively, Special values include:
	&amp;DESKTOP, &amp;DOCUMENTS, &amp;DOWNLOAD, &amp;MUSIC, &amp;PICTURES,
	&amp;PUBLIC_SHARE, &amp;TEMPLATES, &amp;VIDEOS.

	See /etc/xdg/user-dirs.defaults and $HOME/.config/user-dirs.default
      </_description>
      <default>[ '&amp;DESKTOP', '&amp;DOCUMENTS', '&amp;DOWNLOAD', '&amp;MUSIC', '&amp;PICTURES', '&amp;VIDEOS' ]</default>
    </key>

    <key name="index-single-directories" type="as">
      <_summary>Directories to index non-recursively</_summary>
      <_description>
	List of directories to index without inspecting subfolders, Special values include:
	&amp;DESKTOP, &amp;DOCUMENTS, &amp;DOWNLOAD, &amp;MUSIC, &amp;PICTURES,
	&amp;PUBLIC_SHARE, &amp;TEMPLATES, &amp;VIDEOS.

	See /etc/xdg/user-dirs.defaults and $HOME/.config/user-dirs.default
      </_description>
      <default>[ '$HOME' ]</default>
    </key>

    <key name="ignored-files" type="as">
      <_summary>Ignored files</_summary>
      <_description>List of file patterns to avoid</_description>
      <default>[ '*~', '*.o', '*.la', '*.lo' , '*.loT', '*.in', '*.csproj', '*.m4', '*.rej', '*.gmo', '*.orig', '*.pc', '*.omf', '*.aux', '*.tmp', '*.po', '*.vmdk', '*.vm*', '*.nvram', '*.part', '*.rcore', '*.lzo', 'autom4te', 'conftest', 'confstat', 'Makefile', 'SCCS', 'ltmain.sh', 'libtool', 'config.status', 'confdefs.h', 'configure', '#*#', '~$*.doc?', '~$*.dot?', '~$*.xls?', '~$*.xlt?', '~$*.xlam', '~$*.ppt?', '~$*.pot?', '~$*.ppam', '~$*.ppsm', '~$*.ppsx', '~$*.vsd?', '~$*.vss?', '~$*.vst?', '*.desktop', '*.directory' ]</default>
    </key>

    <key name="ignored-directories" type="as">
      <_summary>Ignored directories</_summary>
      <_description>List of directories to avoid</_description>
      <default>[ 'po', 'CVS', 'core-dumps', 'lost+found' ]</default>
    </key>

    <key name="ignored-directories-with-content" type="as">
      <_summary>Ignored directories with content</_summary>
      <_description>Avoid any directory containing a file blacklisted here</_description>
      <default>[ '.trackerignore', '.git' ]</default>
    </key>
  </schema>
</schemalist>