*BSD News Article 57486


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!in1.uu.net!news.ios.com!village.ios.com!adfh
From: Eric Vought <adfh@village.ios.com>
Newsgroups: comp.unix.admin,alt.os.linux,alt.uu.comp.os.linux.questions,comp.os.linux.advocacy,comp.os.linux.misc,comp.os.linux.setup,comp.unix.bsd.freebsd.misc,comp.unix.bsd.netbsd.misc
Subject: Re: System.fvwmrc : how to start the FvwmWinList-Module
Date: Wed, 20 Dec 1995 23:15:12 -0500
Organization: Internet Online Services
Lines: 49
Message-ID: <Pine.BSD.3.91.951220230931.7061F-100000@village.ios.com>
References: <4ajc07$sb7@unix2.glink.net.hk> <4al9tu$f33@ixnews3.ix.netcom.com> <4alnqo$1hi@clarknet.clark.net> <4am5uq$r24@agate.berkeley.edu> <4arhgi$f0c@felix.junction.net> <4b8u9l$4ku@server2.rz.uni-leipzig.de>
NNTP-Posting-Host: village.ios.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <4b8u9l$4ku@server2.rz.uni-leipzig.de> 
Xref: euryale.cc.adfa.oz.au comp.unix.admin:36272 alt.os.linux:6605 alt.uu.comp.os.linux.questions:5233 comp.os.linux.advocacy:31099 comp.os.linux.misc:76825 comp.os.linux.setup:33246 comp.unix.bsd.freebsd.misc:10949 comp.unix.bsd.netbsd.misc:1638

> 
> I want to startup the FvwmWinList-module automaticly in the system.fvwmrc or
> where ever it will work. 
> 
> Any hints how to do this.

The best wya that i've found to hack around with .fvwmrc is to read 
through the system.fvwmrc and the sample fvmrcs distributed with fvwm. 
Then, cut and paste the various options you want into your own file. 
After you become more familiar with the format and options, you can do 
some more hacking around.

In any case, there is a section in the file which allows you to specify 
programs, modules, etc, to run at startup. From the sample file:

# The correct order for inserting configurations is:
# 1. Colors
# 2. Assorted configuration paramters such as ClickToFocus, or MWMBorders
# 3. Path setup (ModulePath, PixmapPath, IconPath)
# 4. Style settings, including the default style Style "*" ...
# 5. InitFunction and ResetFunction definitions.
# 6. Other Functions. Functions cannot be forward referenced from
#       other functions, but they can be backward referenced.
# 7. Menus definitions. Same caveats about forward referencing
# 8. Key and Mouse Bindings.
# 9. Module options.


The init section for my .fvwmrc looks like this:

################################################################

# Stuff to do at start-up

Function "InitFunction"
        Exec    "I"     xpmroot /usr/include/X11/pixmaps/fvwm.xpm &
        Module  "I"     GoodStuff
EndFunction

Function "RestartFunction"
        Exec    "I"     xpmroot /usr/include/X11/pixmaps/fvwm.xpm &
        Module  "I"     GoodStuff
EndFunction


#################################################################

What you want to do is add a "Module" entry for FvwmWinList.