Re: global X11 config?
Re: global X11 config?
- Subject: Re: global X11 config?
- From: lenny bruce <email@hidden>
- Date: Wed, 15 Jan 2003 04:53:24 -0800
I wish we had a comprehensive FAQ
culled from the answers we've generated for each other
on the Fink-Users list... but we don't... so...
On Wednesday, January 15, 2003, at 04:00 AM, Joel Hacker wrote:
Where is the global X11 config file? It seems to completely ignore
/private/etc/X11/xinit/xinitrc. Anyone know?
follow the instructions on this page
http://developer.apple.com/qa/qa2001/qa1067.html
use the plist you'll create to set your path
and this will "magically" solve most of your Apple X11 problems.
here, let me save you some time...
this file should be ~/.MacOSX/environment.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PATH</key>
<string>$PATH:/sw/bin:/sw/sbin:~/bin:~/sbin:~/usr/bin:~/usr/sbin:~/
usr/local/bin:~/usr/local/sbin:/opt/bin:/opt/sbin:/usr/bin:/usr/sbin:/
usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/bin:/sbin:/sw/bin/
mldonkey-distrib</string>
<key>LD_LIBRARY_PATH</key>
<string>$LD_LIBRARY_PATH:~/lib:/opt/lib:/sw/lib:/usr/X11R6/lib:/usr/
lib:/sw/lib/X11:/usr/local/lib</string>
<key>DYLD_LIBRARY_PATH</key>
<string>$LD_LIBRARY_PATH</string>
<key>MANPATH</key>
<string>$MANPATH:~/man:~/usr/local/man:/opt/man:/sw/man:/sw/share/
man:/usr/man:/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/
X11R6/man</string>
<key>DISPLAY</key>
<string>:0.0</string>
</dict>
</plist>
let me recommend some rc settings (I use BASH, so adjust as necessary):
PATH="$PATH:/sw/bin:/sw/sbin:~/bin:~/sbin:~/usr/bin:~/usr/sbin"
PATH="$PATH:~/usr/local/bin:~/usr/local/sbin:/opt/bin:/opt/sbin"
PATH="$PATH:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
PATH="$PATH:/usr/X11R6/bin:/bin:/sbin:/sw/bin/mldonkey-distrib"
export PATH
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:~/lib:/opt/lib:/sw/lib:/usr/X11R6/lib"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib:/sw/lib/X11:/usr/local/lib"
export LD_LIBRARY_PATH
DYLD_LIBRARY_PATH="$LD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH
MANPATH="$MANPATH:~/man:~/usr/local/man:/opt/man:/sw/man"
MANPATH="$MANPATH:/sw/share/man:/usr/man:/usr/local/man:/usr/local/
share/man"
MANPATH="$MANPATH:/usr/share/man:/usr/X11R6/man"
export MANPATH
DISPLAY=":0.0"
export DISPLAY
source /sw/bin/init.sh
GDK_USE_XFT=1
export GDK_USE_XFT
GTK_RC_FILES="/sw/etc/gtk/gtkrc:~/.gtkrc"
export GTK_RC_FILES
LDFLAGS="-ltinfo -lgcc -flat_namespace -L/sw/lib"
export LDFLAGS
CFLAGS="-no-cpp-precomp -fno-common -I/sw/include"
export CFLAGS
CPPFLAGS="-no-cpp-precomp"
export CPPFLAGS
JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home"
export JAVA_HOME
XAPPLRESDIR="/sw/etc/app-defaults"
export XAPPLRESDIR
lenny bruce I am not a comedian,
email@hidden I am Lenny Bruce.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.