This file is indexed.

/etc/X11/Xsession.d/99mate-environment is in ubuntu-mate-default-settings 16.04.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
# This file is sourced by Xsession(5), not executed.

if [ "x$DESKTOP_SESSION" = "xmate" ] || [ "x$XDG_SESSION_DESKTOP" == "xmate" ]; then
    if [ -z "$GTK_MODULES" ] ; then
        GTK_MODULES="canberra-gtk-module:topmenu-gtk-module"
    else
        GTK_MODULES="$GTK_MODULES:canberra-gtk-module:topmenu-gtk-module"
    fi
    export GTK_MODULES

    # Disable GTK3 overlay scrollbars
    export GTK_OVERLAY_SCROLLING=0

	# QT apps to use GTK styling
    export QT_STYLE_OVERRIDE=gtk

    # Workaround clutter issue (LP: #1462445)
    export CLUTTER_BACKEND=x11
fi