As a pedagogical note, a .xinitrc from a Linux box will work on OSX in general as long as you do two things:

1) Verify that all the apps that get called in the Linux .xinitrc are on your OSX box as well

2) For Apple's X11, make sure that you have the line

source /sw/bin/init.csh

--or, for sh purists--

. /sw/bin/init.csh

in it. I believe this isn't necessary for XFree86 but doesn't hurt--XFree86 seems to inherit your PATH rather than reading a builtin setup like Apple's X11 does.

Also, some window managers have a setup program that creates a .xinitrc to run them, e.g. WindowMaker's wmaker.inst program.

--
Alexander K. Hansen
Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX

On Jan 8, 2004, at 12:14 AM, So UniQ wrote:

Hey Jeff,

I'm not sure if it's "typical" but this is the .xinitrc I had when I was on my
Linux box. I just transferred it over and didn't have any issues.


-- m.

P.S. And, I haven't had any Fink issues with it.

--- Jeff <[EMAIL PROTECTED]> wrote:
Is this a typical .xinitrc file for someone who just installed Fink?
Thanks,
Jeff

On Jan 7, 2004, at 6:03 PM, So UniQ wrote:

In your .xinitrc file, place:

exec blackbox

at the end. Remember, any other executed commands should have an '&'
at the
end.  Here's a copy of my .xinitrc:

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

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

. /sw/bin/init.sh
xfontpath install applettf freefont ghostscript/Type1 msttf sharefont
konsole
xset +fp /Users/poetiq/Documents/fonts/artwiz
xset fp rehash


# 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

#       aterm -geometry 90x30+0+0 -title Main &
#       aterm -geometry 90x5+0+630 -title Run &
aterm -geometry 90x30+0+0 -title Main -iconic &
aterm -geometry 90x5+0+630 -title Run -iconic &
bbpager&
#       gnumeric &

quartz-wm --only-proxy &
exec blackbox

--------------- hope this helps -----------------



--- John B <[EMAIL PROTECTED]> wrote:
How can i configure x11 to use a different window manager. I already
have installed Blackbox, FVWM2, ice, and Enlightment. But I cant get
any of them to launch when I start x11. I scoured over documentation
from all the window managers I installed. They never mention how to
get
the managers to run.
I am using Mac OSX 10.3.2, X11 from the xcode tools c.d. that came
with
Mac OSX. I have Developer Tools installed, also X11-sdk.
If you can point me in the right direction, I would appreciate it.

Thanks,

John Baumann





------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to