This file is indexed.

/usr/share/X11/xkb/compat/keypad is in xkb-data 2.5.1-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
// Interpretations needed to implement the numeric keypad
// as an overlay instead of a modifier.

partial hidden xkb_compatibility "overlay"  {
    include "keypad(overlay1)"
};
partial hidden xkb_compatibility "overlay1"  {
    virtual_modifiers NumLock,AltGr;

    interpret.repeat= False;
    setMods.clearLocks= True;
    latchMods.clearLocks= True;
    latchMods.latchToLock= True;

    interpret Num_Lock {
	virtualModifier= NumLock;
	action= LockControls(ctrls=overlay1);
    };
    interpret Num_Lock+Any {
	virtualModifier= NumLock;
	action= LockControls(ctrls=overlay1);
    };

    indicator.allowExplicit= True;
    indicator.driveskbd= True;
    replace indicator "Num Lock" {
	whichModState= Locked;
	modifiers= NumLock;
	controls= Overlay1;
    };
    indicator.allowExplicit= True;
};
partial hidden xkb_compatibility "overlay2"  {
    virtual_modifiers NumLock,AltGr;

    interpret.repeat= False;
    setMods.clearLocks= True;
    latchMods.clearLocks= True;
    latchMods.latchToLock= True;

    interpret Num_Lock {
	virtualModifier= NumLock;
	action= LockControls(ctrls=overlay2);
    };
    interpret Num_Lock+Any {
	virtualModifier= NumLock;
	action= LockControls(ctrls=overlay1);
    };

    indicator.allowExplicit= True;
    indicator.driveskbd= True;
    replace indicator "Num Lock" {
	whichModState= Locked;
	modifiers= NumLock;
	controls= Overlay2;
    };
    indicator.allowExplicit= True;
};