This file is indexed.

/usr/share/X11/xkb/compat/ledscroll is in xkb-data 2.16-1ubuntu1.

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
// Use the Scroll Lock LED to show either
// Scroll Lock, Group, or Shift Lock state.

default partial xkb_compatibility "scroll_lock" {
    indicator "Scroll Lock" {
	allowExplicit;
	whichModState= Locked;
	modifiers= ScrollLock;
    };
};

partial xkb_compatibility "group_lock" {
    indicator "Scroll Lock" {
	modifiers= None;
	groups=All-group1;
    };
};

partial xkb_compatibility "shift_lock" {
    indicator "Scroll Lock" {
	whichModState= Locked;
	modifiers= Shift;
    };
};