Someone wrote me today asking for instructions on how
to get XDarwin working.  As a supplement to the fink
page

http://fink.sourceforge.net/doc/x11/index.php

here is the abstract of my installation process.


>From 

http://fink.sourceforge.net/download/index.php

you get their main package.

The command line interface is simple, you type

fink list

to list available packages

and you type 

fink install <package> 

to install the package you want. In this case, you first want

fink install xfree86-base

then

fink install xfree86-rootless

You'll then need two other things -- a file in your home directory 
called .tcshrc with something like what follows written in it:


alias sx 'startx -- -rootless'

if (! $?DISPLAY) then      
  setenv DISPLAY :0.0          
endif        

if ( -f "/sw/bin/init.csh" ) then                      
        source /sw/bin/init.csh              
endif            


You also need a file called .xinitrc, which should look something like
this:

#!/bin/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

twm &
exec xemacs


The second to last line is the window manager (twm comes with the xfree86
base).  You need to chose some X windows program that you don't mind
having running the whole time you are using X windows, or it won't
start. Note than right now xterm isn't a good choice, compare my earlier
message.

Restart terminal. You can now type

sx

to start XDarwin.

Note that somewhere along the line, a red X-shaped icon appears, you can
click on that to start XDarwin too.





-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to