LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 55gnome-session_gnomerc of Package gnome-session-ubuntu (Project GNOME:Ayatana)

# This is based on the original Ubuntu script (same name), but adapted to
# be more friendly to other distros.

# If we are running the GNOME session, source ~/.gnomerc

if [ ! -z "${GNOME_DESKTOP_SESSION_ID}" ]; then
  GNOMERC=$HOME/.gnomerc
  if [ -r "$GNOMERC" ]; then
    source "$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
fi