Re: FVWM: FvwmSaveDesk question

From: Nathan Froyd <nathan.froyd_at_rose-hulman.edu>
Date: Mon, 23 Aug 1999 17:19:04 -0500

On Mon, Aug 23, 1999 at 02:16:19PM -0500, Robert H. Ford II wrote:
> First thing I noticed in the .fvwm2desk file was this:
>
> ########## snippet from .fvwm2desk ##########
>
> + "I" Exec xterm -geometry 80x45+67+1 -name ssbun -title ssbun -bg
> antiquewhite -fg black -bd magenta4 -e rlogin -8 ssbun &
> + "I" Wait ssbun pts/101 /home/misha21
> + "I" Exec xterm -geometry 80x45+306+204 -name ihlbb2 -title ihlbb
> 2 -bg antiquewhite -fg black -bd magenta4 -e rlogin -8 ihlbb2 &
> + "I" Wait ihlbb2 PCC=5e14_1b SS=prl VPTYPE=lab - /5e/lclb100/inte
> am1b/hdr_app/5e14_1b/prl/poprules
>
> ######### End of snippet #########
>
> You can see that the xterm arguments "-title" and "-name" are followed by just
> one word, but the "Wait" is looking for what I have my Title bar labeled with.
>
> How can I get the "Wait" to only have the same word as the "-title" and "-name"
> arguments?

Edit the file? :)

> Also I would like to use FvwmM4 to process this file but when I use the
> following:
> fvwm2 -cmd "FvwmM4 -m4-prefix -m4opt -I$HOME $HOME/.fvwm2rc"
> and have this
> "m4_include(`.fvwm2desk') .
> in my .fvwm2rc file, I get the following error:
> m4: bad option: --prefix-buttons

Try taking the `-m4opt' out. The manpage for FvwmM4 says it's not needed.

> So I ended up having to use FvwmCpp to process my file, but now I get a ton of
> errors because I have a ton of comments in my .fvwm2rc file.
>
> I wish it was as simple as putting in "read .fvwm2desk" in my .fvwm2rc file.
>
> Well, right now my biggest problem is the "wait" portion of the .fvwm2desk
> file. Can anyone help me with at least this?

Is this mysterious .fvwm2desk file auto-generated from someplace? If not,
why not simply edit the file to say `Wait XTerm' or what have you?

Also, if you don't want (or don't care) about m4 pre-processing, I believe
there is a command called `Read' in fvwm2. Check the manpage.
-- 
Nathan  |  froydnj_at_rose-hulman.edu  |  http://www.rose-hulman.edu/~froydnj/
         God is subtle, but He is not mailicious. --Albert Einstein
Evolution is a million line computer program falling into place by accident.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Aug 23 1999 - 17:21:38 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST