This file is indexed.

/etc/X11/Xsession.d/55numlockx is in numlockx 1.2-7.

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
# X session startup script: /etc/X11/Xsession.d/55numlockx

# Initial settings
NUMLOCK=auto

# Load configuration
cf=/etc/default/numlockx
[ ! -r $cf ] || . $cf

# Toggle numlock if we're not removed
nlx=/usr/bin/numlockx
[ ! -x $nlx ] || {
    case $NUMLOCK in
        # 'keep' is an undocumented state (see `man 1 numlockx'), though
        # /etc/default/numlockx mentions it; do nothing
        keep)
            return 0
            ;;
        off|on|toggle)
            ;;
        *)
            NUMLOCK=on
            ltd=/usr/sbin/laptop-detect
            [ ! -x $ltd ] || ! $ltd || NUMLOCK=off
            # Enable numlock for USB keyboard on laptop
            if [ -f /bin/udevadm ] ; then
                for kbd in `udevadm trigger --dry-run --verbose --property-match=ID_INPUT_KEYBOARD=1` ; do
                    if udevadm info --query=env --path=$kbd | grep -q '^DEVNAME=' ; then
                        continue
                    fi
                    if udevadm info --query=env --path=$kbd | grep -q '^ID_USB_DRIVER=usbhid' ; then
                        NUMLOCK=on
                    fi
                done
            fi
            ;;
    esac
    $nlx $NUMLOCK || :
}

# EOF