Subject: Re: Window manager for Xmacppc
To: None <juha.nygard1@netikka.fi>
From: Bruce ONeel <edoneel@sdf.lonestar.org>
List: port-macppc
Date: 01/15/2004 11:38:45
Hi,

I use ratpoison as my window manager (think screen for X)
and my ~/.xinitrc is below.  I commented out a bit (like the clock)
since I don't really need a full screen clock :-)

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

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 &
ratpoison &
#xclock -geometry 50x50-1+1 &
#xterm -ls -geometry 80x30+120+51 &
#xterm -ls -geometry 80x20+100-0 &
xconsole -geometry 20x20+0+0 &
#xsetroot -bitmap $HOME/archive/ix0702_640x480.xbm
# one that I used just before ratpoison
#xv -root -quit /home/edoneel/archive/bsd026.gif &
exec xterm -ls -sb -sl 512 -geometry 80x30+0+0 -name login



There is ~/.xsession-errors which might help you find
the problem if it seems not to work.

Also make sure that 

ldd `which tvtwm`

works, ie, all libraries are found etc.

cheers

bruce



juha.nygard1@netikka.fi wrote:
> Date: Wed, 14 Jan 2004 19:39:48 +0200 (EET)
> From: juha.nygard1@netikka.fi
> Subject: Re: Window manager for Xmacppc
> To: Thomas Miller <tom@insolvencyhelp.org>
> Cc: port-macppc@NetBSD.org
> content-length: 859
> 
> On Wed, 14 Jan 2004, Thomas Miller wrote:
> 
> > Hello, 
> > 
> > On a Powermac 7300/200 I thought I might try using the 
> > tvtwm window manager as a workaround for Xmacppc's 
> > 640x480 limitation.  
> > 
> > Is there a better workaround than tvtwm (aside from 
> > installing a video card)?
> > 
> > I am using NetBSD-1.6.  When I run 
> > 
> > # startx 
> > 
> > Xmacppc seems to run just fine using twm.  This is 
> > out-of-the-box without any configuration.  I built 
> > tvtwm from pkgsrc/wm, but I don't know how to tell 
> > Xmacppc to use tvtwm instead of twm.  
> > 
> > # man xmacppc
> > man: no entry for xmacppc in the manual.
> > # man Xmacppc
> > man: no entry for Xmacppc in the manual.
> > # exit
> > 
> > How to I tell Xmacppc to use tvtwm?  
> > 
> > Is there Xmacppc documentation?  If yes, where?  
> > 
> > Thanks! 
> > 
> > Tom
> > 
> > 
> 
> ~/.xinitrc perhaps? Or just replace the twm binary.
> 
> Juha