Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Submission + - Confusion re GIMP, XDarwin, X11, Xfree86-Help!

InfoRaptor writes: "I have a G4 with OS 10.2.5 (pre-Panther) and I want to run GIMP 2.2 for Mac on it. According to the GIMP.app website, I need X11 installed on my computer to do this.

The URL http://gimp-app.sourceforge.net/ describes Gimp.app as:

"A self contained application bundle of the
GNU Image Manipulation Program for OS X.

Gimp-2.2.11.dmg (Universal)

Gimp.app requires Apple's X11 which is included
in the "Optional Installs" package on the OS X
install disk."

I downloaded Gimp.app

Then I go to the Apple Computer Develope at website http://developer.apple.com/opensource/tools/runnin gx11.html for X11 info. It states:

"Note: Installing X11 on pre-Panther systems requires manually installing XFree86 and XDarwin.app from the Sourceforge "XonX" project. "

I downloaded X11.app

Now, according to Apple, I need to install XFree86 and XDarwin.app.
They give a Sourceforge XonX URL

This gives me gives several links. Choosing the URL http://sourceforge.net/project/showfiles.php?group _id=18034
gives a page with a download link for XFree86 4.3.0 in .dmg format.

A search of SourceForge gives no results for XDarwin.app or XDarwin

More searching give these URL's

http://www.nbcs.rutgers.edu/newdocs/mac004/mac004. php3#xdar

(2) http://www.dartmouth.edu/comp/support/library/rese arch/connect/mac/osx/xdarwin/install.html


URL (2) sends me to the Darwin download page (URL #3). I see a dialog asking me I enter my email to get instructions. It also has a title "Download and Install XFree86 4.4". I enter my E-mail.

Here is where things get confusing. The XDarwin site implies that by downloading and XFree86 4.4, you'll get XDarwin. However, Apple
says: "Installing X11 on pre-Panther systems requires manually installing XFree86 and XDarwin.app "

What gives? All I want is to run GIMP on my computer. That's all.

Now I go to http://www.dartmouth.edu/comp/support/library/rese arch/connect/mac/osx/xdarwin/install.html.

They say:

"Fink is easy to install. Point your browser at the following URL:


The above page will have you download a simple disk image file (.dmg) and offers simple instructions on how to install it. Once you have Fink installed, installing XDarwin is easy.

Mac OS X's default graphical user interface (GUI) is called Aqua. However, it is possible to run other GUIs such as Window Maker, GNOME, or KDE. All of these GUIs depend on an implementation of the X Window System, which was originally developed at MIT. XFree86 is an open source implementation of X that we will use.

XDarwin can be thought of as XFree86 with two additional libraries. Thus, to install XDarwin from source you need to download the XFree86 source along with the Xprog.tgz tarball (which provides dynamic libraries that XDarwin needs) and the Xquartz.tgz tarball (which is required if you want to run X and Aqua simultaneously, i.e. rootless).

Instead of installing XDarwin from source (and risking the problems that were discussed above), we will simply install the Fink xfree86-rootless package. To do this we type:

> sudo apt-get install xfree86-rootless

After executing the above command Fink will go and get a copy of an XDarwin binary package and install it on your computer. The apt-get install command should look familiar given the discussion above and xfree86-rootless is simply the name of the package. The sudo command is a way to delegate administrator, or root power to the command that it is is followed by it. Only those in administrator's group can use sudo, which comes from OS X's BSD heritage. Fink should be run with the sudo command since only the administrator should be able to install software. For further information on Fink see the Fink Documentation.

When the package is finished installing, try running XDarwin. In the Mac OS X Finder, double-click on the XDarwin icon, or open a terminal window and type "startx — -quartz". Your screen will be temporarily blanked by XDarwin.

If this is your first time running XDarwin you should be sent back to the Mac OS X desktop. Where you should see that there is a button in the XFree86 window on the desktop, which will be labeled "Show X11". If you click this button, X11 will take over your screen and display things according to your .xinitrc file. We'll cover the details of this file later. To return to the Mac OS X desktop, press command-option-A. To return to X, select the XDarwin icon in the Dock. To quit X Windows click on XDarwin in the Dock and quit as you would any other application.

X might not look like much at first all it provides is the display and management of graphical information. This is because it is not a window manager. A window manager is a separate program that controls the window frames (title bar, close button, etc.) on top of X. We will install the 'Window Maker' window manger next.

Window Maker
Window Maker is a window manager that will run on top of X. It is the window manager of choice to be demonstrated in this document because it is indirectly related to Apple in the following respects:

      1. Mac OS X is based on an operating system called NeXTStep.

      2. NeXTStep comes from a company called NeXT that Steve Jobs started in 1986 and which Apple bought 1997.

      3. Window Maker was originally designed to provide support for GNUstep, which reproduces the look, feel, and API of NeXTStep, which formed the basis for Cocoa.

We will use the Fink windowmaker Package. To install it, simply type:

> sudo apt-get install windowmaker

When apt is done installing the windowmaker package, you should configure your .xinitrc file to run Window Maker. An .xinitrc file is a file that sits in your home directory that is executed when X starts. For more information on .xinitrc see this. Use your favorite text editor so that the following becomes the last line of your .xinitrc:

exec /sw/bin/wmaker

The above line tells X to execute the command wmaker, which starts Window Maker. The /sw/bin/ directory is where Fink will install this command.

Now that we have a window manager installed we can start XDarwin. As mentioned before, go to the Mac OS X Finder, and double-click on the XDarwin icon, or open a terminal window and type "startx — -quartz". Window Maker should then start. For documentation on how to use it, see the Window Maker Website.

If you want to change the look of Window Maker you can go to freshmeat.net and download a collection of Window Maker themes. If Window Maker and X installed you can also make use of some great free software, such as The Gimp and AbiWord. All you have to do is use Fink to apt-get them!"

So according to this Web page, it is best for a newbie like me to download Fink and let Fink install the various packages.

What gives? What do I download?"

When the bosses talk about improving productivity, they are never talking about themselves.