This file is indexed.

/usr/share/gtksourceview-2.0/language-specs/desktop.lang is in libgtksourceview2.0-common 2.10.5-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
<?xml version="1.0" encoding="UTF-8"?>
<!--

 Author: Paolo Maggi <paolo.maggi@polito.it>
 Copyright (C) 2003 Paolo Maggi <paolo.maggi@polito.it>
 Copyright (C) 2006 Luca Cavalli <lcavalli@cvs.gnome.org>

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public
 License as published by the Free Software Foundation; either
 version 2 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
 Library General Public License for more details.

 You should have received a copy of the GNU Library General Public
 License along with this library; if not, write to the
 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.

-->
<language id="desktop" _name=".desktop" version="2.0" _section="Others">
  <metadata>
    <property name="mimetypes">application/x-gnome-app-info;application/x-desktop</property>
    <property name="globs">*.desktop;*.kdelnk</property>
    <property name="line-comment-start">#</property>
  </metadata>

  <styles>
    <style id="group" _name="Group" map-to="def:keyword"/>
    <!-- Translators: "Key" here means key value, that is the left hand
         side in a myoption=something line in a .desktop file -->
    <style id="key" _name="Key" map-to="def:type"/>
    <style id="language" _name="Translation" map-to="def:decimal"/>
    <style id="number" _name="Number" map-to="def:floating-point"/>
    <style id="boolean" _name="Boolean" map-to="def:floating-point"/>
    <style id="exec-parameter" _name="Exec parameter" map-to="def:floating-point"/>
    <style id="encoding" _name="Encoding" map-to="def:floating-point"/>
    <style id="category-main" _name="Main Category" map-to="def:reserved"/>
    <style id="category-additional" _name="Additional Category" map-to="def:identifier"/>
    <style id="category-reserved" _name="Reserved Category" map-to="def:note"/>
  </styles>

  <definitions>
    <define-regex id="key-suffix">(?=(\[[a-zA-Z_]+\])?\s*=\s*)</define-regex>

    <context id="group" style-ref="group">
      <start>^\[</start>
      <end>\]$</end>
    </context>

    <context id="language" style-ref="language">
      <match>\[[a-zA-Z_]+\]</match>
    </context>

    <context id="boolean" style-ref="boolean">
      <keyword>true</keyword>
      <keyword>false</keyword>
    </context>

    <context id="exec-parameter" style-ref="exec-parameter">
      <match>%[fFuUdDnNimckv%]</match>
    </context>

    <context id="encoding" style-ref="encoding">
      <keyword>UTF\-8</keyword>
      <keyword>Legacy\-Mixed</keyword>
    </context>

    <context id="number" style-ref="number">
      <match>(.\b[0-9]+([Ll]?|[Ff]?)\b)|(b[0-9]*\.\W)</match>
    </context>

    <context id="standard-key" style-ref="key">
      <prefix>^_?</prefix>
      <suffix>\%{key-suffix}</suffix>
      <keyword>Actions</keyword>
      <keyword>BinaryPattern</keyword>
      <keyword>Categories</keyword>
      <keyword>Comment</keyword>
      <keyword>DefaultApp</keyword>
      <keyword>Dev</keyword>
      <keyword>Encoding</keyword>
      <keyword>Exec</keyword>
      <keyword>Extensions</keyword>
      <keyword>FilePattern</keyword>
      <keyword>FSType</keyword>
      <keyword>GenericName</keyword>
      <keyword>Hidden</keyword>
      <keyword>Icon</keyword>
      <keyword>MapNotify</keyword>
      <keyword>MimeType</keyword>
      <keyword>MiniIcon</keyword>
      <keyword>MountPoint</keyword>
      <keyword>Name</keyword>
      <keyword>NoDisplay</keyword>
      <keyword>NotShowIn</keyword>
      <keyword>OnlyShowIn</keyword>
      <keyword>Path</keyword>
      <keyword>Patterns</keyword>
      <keyword>Protocols</keyword>
      <keyword>ReadOnly</keyword>
      <keyword>SortOrder</keyword>
      <keyword>StartupNotify</keyword>
      <keyword>StartupWMClass</keyword>
      <keyword>SwallowExec</keyword>
      <keyword>SwallowTitle</keyword>
      <keyword>Terminal</keyword>
      <keyword>TerminalOptions</keyword>
      <keyword>TryExec</keyword>
      <keyword>Type</keyword>
      <keyword>UnmountIcon</keyword>
      <keyword>URL</keyword>
      <keyword>Version</keyword>
    </context>

    <context id="non-standard-key" style-ref="key">
      <match>^_?X\-[a-zA-Z\-]+\%{key-suffix}</match>
    </context>

    <context id="key-categories" end-at-line-end="true">
      <start>^(_?Categories)\%{key-suffix}</start>
      <include>
        <context sub-pattern="1" where="start" style-ref="key"/>
        <context style-ref="category-main">
          <keyword>AudioVideo</keyword>
          <keyword>Audio</keyword>
          <keyword>Video</keyword>
          <keyword>Shell</keyword>
          <keyword>Development</keyword>
          <keyword>Education</keyword>
          <keyword>Game</keyword>
          <keyword>Graphics</keyword>
          <keyword>Network</keyword>
          <keyword>Office</keyword>
          <keyword>Settings</keyword>
          <keyword>System</keyword>
          <keyword>Utility</keyword>
        </context>
        <context style-ref="category-additional">
          <keyword>2DGraphics</keyword>
          <keyword>3DGraphics</keyword>
          <keyword>Accessibility</keyword>
          <keyword>ActionGame</keyword>
          <keyword>AdventureGame</keyword>
          <keyword>Amusement</keyword>
          <keyword>ArcadeGame</keyword>
          <keyword>Archiving</keyword>
          <keyword>ArtificialIntelligence</keyword>
          <keyword>Art</keyword>
          <keyword>Astronomy</keyword>
          <keyword>AudioVideoEditing</keyword>
          <keyword>Biology</keyword>
          <keyword>BlocksGame</keyword>
          <keyword>BoardGame</keyword>
          <keyword>Building</keyword>
          <keyword>Calculator</keyword>
          <keyword>Calendar</keyword>
          <keyword>CardGame</keyword>
          <keyword>Chart</keyword>
          <keyword>Chat</keyword>
          <keyword>Chemistry</keyword>
          <keyword>Clock</keyword>
          <keyword>Compression</keyword>
          <keyword>ComputerScience</keyword>
          <keyword>ConsoleOnly</keyword>
          <keyword>Construction</keyword>
          <keyword>ContactManagement</keyword>
          <keyword>Core</keyword>
          <keyword>Database</keyword>
          <keyword>DataVisualization</keyword>
          <keyword>Debugger</keyword>
          <keyword>DesktopSettings</keyword>
          <keyword>Dialup</keyword>
          <keyword>Dictionary</keyword>
          <keyword>DiscBurning</keyword>
          <keyword>Documentation</keyword>
          <keyword>Economy</keyword>
          <keyword>Electricity</keyword>
          <keyword>Electronics</keyword>
          <keyword>Email</keyword>
          <keyword>Emulator</keyword>
          <keyword>Engineering</keyword>
          <keyword>FileManager</keyword>
          <keyword>Filesystem</keyword>
          <keyword>FileTools</keyword>
          <keyword>FileTransfer</keyword>
          <keyword>Finance</keyword>
          <keyword>FlowChart</keyword>
          <keyword>Geography</keyword>
          <keyword>Geology</keyword>
          <keyword>Geoscience</keyword>
          <keyword>GNOME</keyword>
          <keyword>GTK</keyword>
          <keyword>GUIDesigner</keyword>
          <keyword>HamRadio</keyword>
          <keyword>HardwareSettings</keyword>
          <keyword>History</keyword>
          <keyword>IDE</keyword>
          <keyword>ImageProcessing</keyword>
          <keyword>InstantMessaging</keyword>
          <keyword>IRCClient</keyword>
          <keyword>Java</keyword>
          <keyword>KDE</keyword>
          <keyword>KidsGame</keyword>
          <keyword>Languages</keyword>
          <keyword>Literature</keyword>
          <keyword>LogicGame</keyword>
          <keyword>Math</keyword>
          <keyword>MedicalSoftware</keyword>
          <keyword>Midi</keyword>
          <keyword>Mixer</keyword>
          <keyword>Monitor</keyword>
          <keyword>Motif</keyword>
          <keyword>Music</keyword>
          <keyword>News</keyword>
          <keyword>NumericalAnalysis</keyword>
          <keyword>OCR</keyword>
          <keyword>P2P</keyword>
          <keyword>PackageManager</keyword>
          <keyword>ParallelComputing</keyword>
          <keyword>PDA</keyword>
          <keyword>Photography</keyword>
          <keyword>Physics</keyword>
          <keyword>Player</keyword>
          <keyword>Presentation</keyword>
          <keyword>Printing</keyword>
          <keyword>Profiling</keyword>
          <keyword>ProjectManagement</keyword>
          <keyword>Publishing</keyword>
          <keyword>Qt</keyword>
          <keyword>RasterGraphics</keyword>
          <keyword>Recorder</keyword>
          <keyword>RemoteAccess</keyword>
          <keyword>RevisionControl</keyword>
          <keyword>Robotics</keyword>
          <keyword>RolePlaying</keyword>
          <keyword>Scanning</keyword>
          <keyword>Science</keyword>
          <keyword>Security</keyword>
          <keyword>Sequencer</keyword>
          <keyword>Simulation</keyword>
          <keyword>SportsGame</keyword>
          <keyword>Sports</keyword>
          <keyword>Spreadsheet</keyword>
          <keyword>StrategyGame</keyword>
          <keyword>Telephony</keyword>
          <keyword>TelephonyTools</keyword>
          <keyword>TerminalEmulator</keyword>
          <keyword>TextEditor</keyword>
          <keyword>TextTools</keyword>
          <keyword>Translation</keyword>
          <keyword>Tuner</keyword>
          <keyword>TV</keyword>
          <keyword>VectorGraphics</keyword>
          <keyword>VideoConference</keyword>
          <keyword>Viewer</keyword>
          <keyword>WebBrowser</keyword>
          <keyword>WebDevelopment</keyword>
          <keyword>WordProcessor</keyword>
        </context>
        <context style-ref="category-reserved">
          <keyword>Screensaver</keyword>
          <keyword>TrayIcon</keyword>
          <keyword>Applet</keyword>
          <keyword>Shell</keyword>
        </context>
      </include>
    </context>

    <context id="key">
      <include>
        <context ref="key-categories"/>
        <context ref="standard-key"/>
        <context ref="non-standard-key"/>
      </include>
    </context>

    <context id="desktop">
      <include>
        <context ref="def:shell-like-comment"/>
        <context ref="group"/>
        <context ref="key"/>
        <context id="lang-and-value" end-at-line-end="true">
          <start>(\[[a-zA-Z_]+\])?\s*=\s*</start>
          <include>
            <context sub-pattern="1" where="start" style-ref="language"/>
            <context ref="boolean"/>
            <context ref="exec-parameter"/>
            <context ref="encoding"/>
            <context ref="number"/>
          </include>
        </context>
      </include>
    </context>
  </definitions>
</language>