Re: FVWM: automation of deiconifying xconsole

From: Thomas A. Gardiner <gardiner_at_pas.rochester.edu>
Date: Thu, 8 Feb 2001 08:38:50 -0500 (EST)

Well, first you have to make sure that you start FvwmEvent, as the
AnotherLevel package is soo old that it still has configuration stuff for
FvwmAudio... In fvwm2rc.init.m4 you will find the following function:

# SetupFunction gets run at Init and Restart
AddToFunc "SetupFunction"
+ "I" Exec xsetroot -solid BG_COLOR
ifdef(`WANT_SOUND_EVENTS',`+ "I" Module FvwmAudio
')dnl
ifdef(`USE_AUTO_RAISE',`+ "I" Module FvwmAuto AUTO_RAISE_SPEED
')dnl
+ "I" Module FvwmEvent

Add the bottom line to it like I've done to start FvwmEvent.

(By the way if you are wondering what SetupFunction does, look in
fvwm2rc.m4 and you will find that it simply added to the InitFunction and
RestartFunction used by Fvwm2.)

To make a long story short, the configuration stuff for modules, those
lines which start with *FvwmEvent go in fvwm2rc.modules.m4 and the
functions go in fvwm2rc.functions.m4 according to the AnotherLevel layout.

In the end, however, it really doesn't matter where you put it...

HTH,

Tom

On Thu, 8 Feb 2001, Thomas Adam wrote:

>Hi,
>
>As I am a complete newbie to all of this, could you
>provide detailed instructions as to which file I put
>the functions that you mentioned. I use the
>AnotherLevel m4 preprocessor if that helps!!
>
>Much obliged for your help,
>Regards,
>
>Thomas Adam

>--- Dominik Vogt <dominik.vogt_at_fvwm.org> wrote:
>>
>> 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-2
>
>
>=====
>Thomas Adam
>Linux Co-ordinator for The Purbeck School
>
>e-mail (school): n6tadam_at_users.purbeck.dorset.sch.uk
>e-mail (yahoo) : thomas_adam16_at_yahoo.com
>
>__________________________________________________
>Do You Yahoo!?
>Get personalized email addresses from Yahoo! Mail - only $35
>a year! http://personal.mail.yahoo.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.
>

--
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 - 07:46:52 GMT

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