Subject: Re: starting xrdb after window manager
To: CTAPYXA <ctapyxa@UCSD.Edu>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 01/24/1998 11:42:48
CTAPYXA wrote:
> 
> My .xinitrc goes something like
> 
> xfm .... &
> xeyes.....&
> ...&
> olvwm
> 
> and the olvwm remains the front application. I would like to start xrdb
> sometime in the startup process, but obviously, it can't be loaded before
> the window manager (I tried... 8-))

What do you mean by "start xrdb"?  I have a line like the following in my
X startup files:

xrdb -merge /home/ender/.Xresources

and this merges in all of my X application resource settings just fine.
This line needs to run _before_ you run any other X clients, otherwise any
X clients you start won't take advantage of your resource settings.

> How can it be automatically loaded
> after?

You don't want to do it afterwards, but at the beginning.  Keep in mind
that the above is not done in the background, btw.

> AFAIK, window manager has to stay at the end of the list without &
> to become functional.

No, it doesn't.  My X startup file does the following:

xterm -e csh -c "source /home/ender/.Xsetup.ctwm"


where .Xsetup.ctwm contains the following:


# Set the bell, key click, and screen saver.
xset b 25 440 150 c on s 600 3 s noblank

# Start the window manager.  (Uses the user's .ctwmrc file or
# /usr/X11/lib/X11/twm/system.ctwmrc file.)
ctwm &

# Set up a prettier screensaver
xautolock &

# Set up clock, perf meter, mail indicator.
#xclock -g 60x60-0+0 &
xclock -g 117x80-0+0 &
xload -g -0-0 &
#xbiff -g 60x60-65+0 &

# Set up terminals.
xterm -g 80x36+0-0 &

# Startup the user's shell to run in the console window.  Typing "exit" in the
# console window will cause X to shut down.
$SHELL

This has worked fine for me for the last 5 years.

> Does anybody else use olvwm?

No, as you can see, I use ctwm.

I hope this helps some.

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.