[MacPorts] GNOME modified

MacPorts noreply at macports.org
Sat Sep 5 13:55:36 PDT 2009


Changed page "GNOME" by jeremyhu at macports.org from 17.151.76.91*
Page URL: <http://trac.macports.org/wiki/GNOME>
Diff URL: <http://trac.macports.org/wiki/GNOME?action=diff&version=15>
Revision 15
Comment: Use xinitrc.d

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: GNOME
=========================================================================
--- GNOME (version: 14)
+++ GNOME (version: 15)
@@ -15,15 +15,16 @@
  /opt/local/etc/xdg (defined in the [http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables XDG Base Directory Specification])
  ESPEAKER::
  localhost (this allows sound to play at least on Mac OS X 10.5 Leopard)
-See the sample .xinitrc files for examples of how to set these variables.
+See the sample .xinitrc.d scripts for examples of how to set these variables.
 
-=== Sample .xinitrc Files ===
-The following ''~/.xinitrc'' requires Apple's [wiki:X11] and dbus:
+=== Sample .xinitrc.d script ===
+
+'''WARNING:''' If you have a ~/.xinitrc file on Leopard or SnowLeopard, delete it and instead use the ~/.xinitrc.d directory as directed below.
+
+The following examples are for use with MacPorts X11 server (xorg-server or xorg-server-devel), the Leopard X11 server, or the SnowLeopard X11 server.  For Tiger support, you will need to make a custom ~/.xinitrc file rather than a custom ~/.xinitrc.d/90-gnome.sh script.
+
+The following ''~/.xinitrc.d/90-gnome.sh'' requires dbus and uses quartz-wm for the WM:
 {{{
- # make sure X11 is MacPorts and /usr/local aware
- PATH=$PATH:/opt/local/bin:/opt/local/sbin:/usr/local/bin
- export PATH
- 
  # make the freedesktop menu entries work
  export XDG_DATA_DIRS=/opt/local/share
  export XDG_DATA_HOME=/opt/local/share
@@ -38,12 +39,9 @@
  # start GNOME
  exec dbus-launch gnome-session
 }}}
-This ''~/.xinitrc'' works with any [wiki:X11] and uses GNOME's builtin window manager, ''Metacity'':
+
+This ''~/.xinitrc.d/90-gnome.sh'' uses GNOME's builtin window manager, ''Metacity'':
 {{{
- # make sure X11 is MacPorts and /usr/local aware
- PATH=$PATH:/opt/local/bin:/opt/local/sbin:/usr/local/bin
- export PATH
- 
  # make the freedesktop menu entries work
  export XDG_DATA_DIRS=/opt/local/share
  export XDG_DATA_HOME=/opt/local/share

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on GNOME. If it was not you, please
report to .


More information about the macports-changes mailing list