This file is indexed.

/usr/share/language-tools/locale2papersize is in accountsservice 0.6.45-1ubuntu1.

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

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
#!/bin/sh -e
#
# locale2papersize outputs the paper size "a4" or "letter" based on
# the height and width in the locale that is passed as an argument.

export LC_PAPER=$1

height=$( locale height )
width=$( locale width )

if [ "$height" = 279 -a "$width" = 216 ]; then
    size=letter
else
    size=a4
fi

echo $size