Re: FVWM: Iconify

From: Thomas Adam <thomas_adam16_at_yahoo.com>
Date: Fri, 19 Sep 2003 13:42:42 +0100 (BST)

 --- KONTRA Gergely <kgergely_at_mlabdial.hit.bme.hu> wrote: > Hi!
>
> Is there a way to iconify a specific window? Eg. I've started gaim on
> startup, and I want to minimize it say after 5 secs.
> StartIconic is not a solution here, because gaim will deiconify itself,
> if an event occurs. And events WILL occur at startup.
>
> In general how can I execute a command in a specific window context?

Arrgghh :)

You fail to read the FAQ. Take a look at the fvwm FAQ (number 3.18), found
here:

http://www.fvwm.org/documentation/faq/#3.18

However, the following code should work:

----------------------------------------
   *FvwmEvent-NewWindow: Cmd
     *FvwmEvent-NewWindow: PassId
     *FvwmEvent-NewWindow: StartDelay 4
     *FvwmEvent-NewWindow: add_window FuncIconify_Window

     DestroyFunc FuncIconify_Window
     AddToFunc FuncIconfify_Window
     + I WindowId $0 ("My Window") Iconfify

     AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow
------------------------------------------------------------------

Where ("My Window") is the name of the window you want to iconify. As for
waiting 5 mins *after*, umm.....not sure :)

-- Thomas Adam

> thx
> --
> +-[ Kontra, Gergely<kgergely_at_mcl.hu> PhD student Room IB113 ]---------+
> | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy |
> | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" |
> +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+
> --
> 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.

=====
Thomas Adam

"The Linux Weekend Mechanic" -- www.linuxgazette.com

________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

--
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 Fri Sep 19 2003 - 10:06:32 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST