This file is indexed.

/etc/menu-methods/xdg-desktop-entry-spec-dirs is in menu-xdg 0.5.

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
#!/usr/bin/install-menu
# xdg desktop entry spec - directory generation
# http://www.freedesktop.org/Standards/desktop-entry-spec
# Copyright 2004 - Chris Cheney
# Licensed under the GNU General Public License, version 2.

!include lang.h
!include menu.h

compat="menu-2"

outputencoding="UTF-8";
outputlanguage="C";

function section() =
	"Name=" title() "\n"
	forall(sections_translations(),"lang",
		"Name[" $lang "]=" translate($lang,title())
     		"\n");

function comment() =
	"Comment=" $longtitle "\n"
	forall(sections_translations(),"lang",
		"Comment[" $lang "]=" translate($lang,$longtitle)
     		"\n");

function DirEntry() =
	"[Desktop Entry]\n"
	"Type=Directory\n"
	"Encoding=UTF-8\n"
	section()
	ifnempty($longtitle, comment())
	"Icon=" ifelse(icon(),icon(), 
                      "debian" replacewith(tolower($section),"/ ","--")) "\n";

supported;
 x11 = ;
 text = ;
endsupported;

startmenu = "";
endmenu = "";
submenutitle = DirEntry();

treewalk = "M";

genmenu = ifempty($command,tolower("debian" replacewith($section,"/ ","--") ".directory"));

rootsection = "";

prerun     = "rm -rf  '" prefix() "'";

removemenu = "rm -rf  '" prefix() "'";

preoutput = "";

rootprefix = "/var/lib/menu-xdg/desktop-directories/menu-xdg";

userprefix = ".local/share/desktop-directories/menu-xdg";