oupsemma

/etc/X11/Xsession.d/55gnome-session_gnomerc

Apr 2nd, 2011
242
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # If we are running the GNOME session, source ~/.gnomerc
  2.  
  3. BASESTARTUP=${STARTUP% *}
  4. BASESTARTUP=${BASESTARTUP##*/}
  5. if [ "$BASESTARTUP" = gnome-session ] || \
  6. [ \( "$BASESTARTUP" = x-session-manager -a \
  7. "`readlink /etc/alternatives/x-session-manager`" = \
  8. /usr/bin/gnome-session \) ]; then
  9. GNOMERC=$HOME/.gnomerc
  10. if [ -r "$GNOMERC" ]; then
  11. . "$GNOMERC"
  12. fi
  13. # We prepend /usr/share/gnome since its defaults.list actually points
  14. # to /etc so it is configurable.
  15. if [ -z "$XDG_DATA_DIRS" ]; then
  16. XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
  17. else
  18. XDG_DATA_DIRS=/usr/share/gnome:"$XDG_DATA_DIRS"
  19. fi
  20. export XDG_DATA_DIRS
  21. fi
RAW Paste Data