/etc/X11/Xsession.d/55gnome-session_gnomerc is in gnome-session-common 3.9.90-0ubuntu12.
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 | # If we are running the GNOME session, source ~/.gnomerc
BASESTARTUP=${STARTUP%% *}
BASESTARTUP=${BASESTARTUP##*/}
if [ "$BASESTARTUP" = x-session-manager ]; then
BASESTARTUP=$(basename $(readlink /etc/alternatives/x-session-manager))
fi
case "$BASESTARTUP" in
gnome-session*)
GNOMERC=$HOME/.gnomerc
if [ -r "$GNOMERC" ]; then
. "$GNOMERC"
fi
# We prepend /usr/share/gnome since its defaults.list actually points
# to /etc so it is configurable.
if [ -z "$XDG_DATA_DIRS" ]; then
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
else
XDG_DATA_DIRS=/usr/share/gnome:"$XDG_DATA_DIRS"
fi
export XDG_DATA_DIRS
;;
esac
|