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
+ I Wait $2
+ I Current Maximize
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 ^_^
--
Dominik Vogt, Agilent Technologies, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/464-4596, fax: 07031/464-3883, dominik_vogt_at_agilent.com
--
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 - 20:55:51 GMT