On 1/1/10 2:23 PM, Alexander Hansen wrote:
> A $HOME/.xinitrc worked normally for me (on 10.5 currently).  What do
> you have in the one you were trying, and what was the failure mode?

I copied /usr/X11R6/lib/X11/xinit/xinitrc over to .xinitrc.  The 
original contents of xinitrc follow, with some comments removed for 
terseness' sake:

=====
if test -r "/sw/etc/xinitrc-override"; then
     . "/sw/etc/xinitrc-override"
elif test -r "/sw/bin/xinitrc.sh"; then
     . "/sw/bin/xinitrc.sh"
else
     userresources=$HOME/.Xresources
     usermodmap=$HOME/.Xmodmap
     sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
     sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
     x_bindir=/usr/X11R6/bin

     if test -f $sysresources; then
         xrdb -merge $sysresources
     fi

     if test -f $sysmodmap; then
         xmodmap $sysmodmap
     fi

     if test -f $userresources; then
         xrdb -merge $userresources
     fi

     if test -f $usermodmap; then
         xmodmap $usermodmap
     fi

case "`/usr/bin/uname -r`" in
7*|8*)
     if test -x "$x_bindir/xterm"; then
         termcmd="$x_bindir/xterm"
     else
         termcmd="xterm"
     fi
     $termcmd &
     ;;
esac

     if type quartz-wm >/dev/null 2>&1; then
         sessionmgr="`which quartz-wm`"
     elif test -x "$x_bindir/twm"; then
         sessionmgr="$x_bindir/twm"
     else
         sessionmgr="twm"
     fi
     exec $sessionmgr
fi
=====

In my locally-changed .xinitrc, I've changed "exec $sessionmgr" to "exec 
/sw/bin/metacity".  I've made no other changes.

 From within Terminal.app, I execute "xeyes &" and X11.app opens up and 
xeyes opens -- but with quartz-wm running instead of metacity.



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to