David,
The files that determine how fvwm95-2 come up are in the
/etc/X11/TheNextLevel/ subdirectory. There are a bunch of files there
called '.fvwm2rc.*' where '*' is 'buttons', 'defines', 'init', etc.
These files are used to generate a config file by running them through
the m4 preprocessor each time fvwm95-2 comes up. To customize my
desktop, I copied .fvwm2rc.defines, .fvwm2rc.init, and .fvwm2rc.m4 to my
home directory, and then edited them to get what I wanted. For
instance, in the original .fvwm2rc.init, you will see:
StartupFunction only gets run at Init, not at Restart.
# It is run after SetupFunction, but before EndSetupFunction
AddToFunc "StartupFunction"
+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
+ "I" Exec COLOR_XTERM
syscmd(`test "$USER" = "root"')dnl
ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
+ "I" Exec WWW_BROWSER
which runs the two color xterms you mentioned, plus a web browser
(exactly *which* web browser is defined in .fvwm2rc.defines where the
environment variable WWW_BROWSER gets set).
I didn't like the web browser coming up at boot time, so I modified my
home directory .fvwm2rc.init to comment out the line that starts the web
browser.
# StartupFunction only gets run at Init, not at Restart.
# It is run after SetupFunction, but before EndSetupFunction
AddToFunc "StartupFunction"
+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
+ "I" Exec COLOR_XTERM
syscmd(`test "$USER" = "root"')dnl
ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
#+ "I" Exec WWW_BROWSER
> I'm running Red Hat Linux 4.1. When I start XWindows, the Red Hat browser and a
> couple of 'nxterm' windows are started automatically. I've looked in the usual
> places for .xinitrc, etc. files. But I haven't found anything that starts these
> up. Do you have any idea where these are being started from?
> Is there any way to debug the XWindows startup to see which commands are being
> executed & from where?
> Dave Morgenlender