Re: FVWM: a problem

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Wed, 03 Nov 1999 22:17:20 -0500

\Dominik Vogt <dominik.vogt_at_fvwm.org> writes:
> On Wed, Nov 03, 1999 at 12:54:33PM -0800, qinli_at_geophys.washington.edu wrote:
> > Hi,
> >
> > I am a user of fvwm 1.xx, Sometime I want to run a program in full-screen,
> so
> > I have to click Maximize button after start the program. Can I auto start a
>
> > program in full-screen?
>
> I have never used 1.xx myself, so I'm not sure if it will work
> (1.xx is ancient history and has not been supported anymore for
> several years). With any of the 2.x.y version you should be able
> to write a function to accopmplish what you want:
>
> AddToFunc RunAndMaximize
> + I Exec exec $1
                  $0
> + I Wait $2
             $1
> + I Current Maximize

(Well, I haven't tested this either! Nor have I used fvwm1 years.
But arguments to functions start with 0, not 1.)

> Now, if you want to start a maximized xterm, you would call the
> function like this:
>
> Function RunAndMaximize xterm <title>
> ^^^^^
> command name
>
> Where <title> is the title of the new window.
>
> What the function does is:
>
> - it starts the application
> - waits for a window with the given <title> to appear
> - maximizes the currently focused window
>
> Note that this only works if the newly created window gets
> the focus. Otherwise you might want to try
>
> + I Next ($2) Maximize
>
> instead of 'Current'.
>
> Bye
>
> Dominik ^_^

--
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 Wed Nov 03 1999 - 21:18:33 GMT

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