Putting the -- -rootless after startx seemed to fix it, thanks Kow K. It is printed that way on the fink
web page, I just didn't read it carefully enough! :)
I discovered that double clicking on X-Darwin in the applications directory does the same thing.
(I did try it before and it worked the same as typing startx. I wanted to try the startx method too
since XFree86 and OS-X are confusing me, see below.)

But of course it isn't going to be quite that easy...
My .xinitrc file looks like below, and I put the messages printed to the OS-X xterm below that.
The .xinitrc is just a copy of the system xinitrc plus a few lines at the bottom from an example
on the fink help page at sourceforge.

It puts 3 xterms on the screen, each with black print on white background.
Question 1) I can't seem to move them, or minimize them or anything except type in them.
Is there certain things I need in my .xinitrc or .Xauthority or something to
make it so I can do those things?
Are there any examples of nice custom setups others have?
(I would like to customize the colours, too)

Question 2) I just installed The Gimp, and checked to see if it is there by

Wormwood:~] beamis% echo $PATH
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
[[Wormwood:~] beamis% which gimp
gimp: Command not found.
[Wormwood:~] beamis% which /sw/bin/gimp
/sw/bin/gimp

Why doesn't it find it even though it is clearly in my PATH?
I also installed tree, so I tried:
[Wormwood:~] beamis% which tree
/sw/bin/tree

What's it got against The Gimp?

It gets better. Inside one of the Darwin xterms, I typed:

[Wormwood:~] beamis% echo $PATH
/sw/bin:/sw/sbin:/sw/bin:/sw/sbin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/ bin:/usr/sbin:/usr/X11R6/bin:/usr/X11R6/bin:/usr/X11R6/bin

and then

[Wormwood:~] beamis% which gimp
/sw/bin/gimp
[Wormwood:~] beamis% which tree
/sw/bin/tree

Does anyone know why I've got such a bizzare PATH in the Darwin xterm and why I can sometimes find The Gimp
and not others?

Thanks, and sorry for the many questions. :)

Chris


_______________________________________________
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

source /sw/bin/init.sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# start some nice programs
# (modified the below like the example on http://fink.sourceforge.net/doc/x11/run-xfree86.php)

#twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
xset b off
exec enlightenment
#exec twm


_______________________________________________
Wormwood:~] beamis% startx -- -rootless

2002-12-26 20:03:40.111 XDarwin[25498]
XDarwin 1.1.1.1
Running rootless inside Mac OS X window server.

This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED] Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.2.1.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 2002
If the server is older than 6-12 months, or if your hardware is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Operating System: Darwin
Using keymapping provided in /System/Library/Keyboards/USA.keymapping.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Display mode: Rootless Quartz
Screen 0 added: 1280x1003 @ (0,21)
Screen 0 placed at X11 coordinate (0,0).
cat: /Users/beamis/.Xauthority: No such file or directory
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "unknown" for geometry include
> Exiting
> Abandoning geometry file "(null)"
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "unknown" for geometry include
> Exiting
> Abandoning geometry file "(null)"
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "unknown" for geometry include
> Exiting
> Abandoning geometry file "(null)"
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "unknown" for geometry include
> Exiting
> Abandoning geometry file "(null)"
Errors from xkbcomp are not fatal to the X server



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to