This file is indexed.

/usr/share/upstart/sessions/gnome-session.conf is in gnome-session-bin 3.18.1.2-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
25
26
27
28
29
30
31
description "Gnome Session itself"
author "Stéphane Graber <stgraber@ubuntu.com>"

start on started dbus and xsession SESSIONTYPE=gnome-session
stop on starting gnome-session INSTANCE!=$XDG_CURRENT_DESKTOP

instance $XDG_CURRENT_DESKTOP

emits desktop-start
emits desktop-end

script

# Gnome-classic session requires this env to be exported
if [ "x${DESKTOP_SESSION}" = "xgnome-classic" ] ; then
    export GNOME_SHELL_SESSION_MODE=classic
fi

unset UPSTART_EVENTS UPSTART_INSTANCE UPSTART_JOB
case "$DESKTOP_SESSION" in
	gnome-flashback-metacity) exec gnome-session --session=$DESKTOP_SESSION --disable-acceleration-check ;;
	*) exec gnome-session --session=$DESKTOP_SESSION ;;
esac
end script

post-start exec initctl emit desktop-start DESKTOP_SESSION=$DESKTOP_SESSION

# Don't wait to avoid blocking the session from ending.
pre-stop exec initctl emit --no-wait desktop-end DESKTOP_SESSION=$DESKTOP_SESSION

post-stop exec dbus-send --type=method_call --address=$UPSTART_SESSION /com/ubuntu/Upstart com.ubuntu.Upstart0_6.EndSession