Re: FVWM: automation of deiconifying xconsole

From: Dominik Vogt <dominik.vogt_at_math.uh.edu>
Date: Thu, 8 Feb 2001 12:33:27 +0100

On Thu, Feb 08, 2001 at 12:55:53AM -0800, Thomas Adam wrote:
> Dear List,
>
> I have now, thanks to the help of Thomas A Gardiner,
> Bob Woodside, et al, been able to customise FVWM2 very
> efficiently. Thanks guys!! There is however one final
> question that maybe you could help me with.
>
> As you probably know, because I log in via Xdm,
> xconsole is displayed. I have set in the file
> fvwm.defstyles.m4 a style thus:
>
> Style xconsole StickyOnTop, StartIconic, WinListSkip
>
> My question is this: While I am using fvwm2 I often
> get information appearing in that window. Is it
> possible to get fvwm2 to de-iconify that window (thus
> restoring it) when information is piped into this
> window???

If xconsole is started with the "-notify" option, an asterisk is
appended to the icon title whenever new data arrives. Then you
can set up FvwmEvent to notice this change in the icon title and
deiconify the window via an fvwm function, perhaps something like

  *FvwmEvent icon_name Function DeiconifyXconsole
  *FvwmEventPassID
  AddToFunc DeiconifyXconsole
  + I WindowId $0 (xconsole\*) iconify off

Bye

Dominik ^_^ ^_^

--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 Thu Feb 08 2001 - 05:33:12 GMT

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