IPB
>  Man Pages > Unix > FreeBSD 6.2 > Section 1 > FvwmAuto man page

FvwmAuto man page

Section 1 - FreeBSD 6.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


FvwmAuto(1)							   FvwmAuto(1)




NAME

       FvwmAuto - the FVWM auto-raise module


SYNOPSIS

       FvwmAuto  is  spawned by fvwm, so no command line invocation will work.
       The correct syntax is:

	    Module FvwmAuto Timeout [EnterCommand [LeaveCommand]]

	    AddToMenu Modules
	    + "Auto Raise (300 ms)"  Module FvwmAuto 300
	    + "Auto Raise/Lower"     Module FvwmAuto 300 "Silent Raise" "Silent Lower"

       The Timeout argument is required. It specifies how long a  window  must
       retain  the  keyboard  input  focus before the command is executed. The
       delay is measured in milliseconds, and any  integer  0  or  greater  is
       acceptable.

       EnterCommand  and  LeaveCommand are optional.  EnterCommand is executed
       Timeout milliseconds after a window gets the input focus,  LeaveCommand
       is executed Timeout milliseconds after the window has lost focus.  Note
       that you always should use the  'Silent'  keyword  before  the  command
       itself.	 FvwmAuto  prepends "Silent " to the command string on its own
       if yor forget this.  Without this prefix fvwm would ask you for a  win-
       dow  to	act  on if the window has died before the command sent by Fvw-
       mAuto has been processed by fvwm.  This can  for  example  happen  with
       popup menus.

       "Silent	Raise"	is the default for EnterCommand, but any fvwm function
       is allowed. I would not use "Close" or "Destroy" with  a  low  timeout,
       though.	 The LeaveCommand can be handy for a tidy desktop.  Experiment
       with:

	    Module FvwmAuto 0 Nop "Silent Lower"
	    Module FvwmAuto 0 Nop "Silent Iconify"


       More complex example (three FvwmAuto's are running):

	    DestroyFunc RestoreIconified
	    AddToFunc	RestoreIconified
	    + I Current (Iconic) Iconify false

	    DestroyFunc RegisterFocus
	    AddToFunc	RegisterFocus
	    + I Exec echo "`date +%T` $n focussed" >>/tmp/focus-stats.txt

	    DestroyFunc RegisterUnfocus
	    AddToFunc	RegisterUnfocus
	    + I Exec echo "`date +%T` $n unfocussed" >>/tmp/focus-stats.txt

	    KillModule FvwmAuto
	    Module FvwmAuto 250 Raise Nop
	    Module FvwmAuto 800 RestoreIconified Nop
	    Module FvwmAuto   0 RegisterFocus RegisterUnfocus




NOTES

       There is a special Raise/Lower support in FvwmAuto.  It	was  added  to
       improve	Raise/Lower  callbacks, since most of FvwmAuto usages is auto-
       raising	or  auto-lowering.  This  imrovement   includes   locking   on
       M_RAISE_WINDOW  and  M_LOWER_WINDOW  packets  and  not raising/lowering
       explicitely raised windows.  The special Raise/Lower support is enabled
       only when either EnterCommand or LeaveCommand contain substring "Raise"
       or "Lower". You can use this fact to enable/disable any special support
       by  renaming these commands, if FvwmAuto does not automatically do want
       you expect it to do.



AUTHOR

       FvwmAuto just appeared one day, nobody knows how.
       FvwmAuto was simply rewritten 09/96, nobody knows by whom.



3rd Berkeley Distribution	  3 July 2001			   FvwmAuto(1)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 19 20:02:17 BST 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

ssh man page (4010 hits)
(Suse Linux 10.1)

CPAN man page (3934 hits)
(Suse Linux 10.1)

startproc man page (1429 hits)
(Suse Linux 10.1)

svn man page (1145 hits)
(FreeBSD 6.2)

signal man page (1067 hits)
(Suse Linux 10.1)

lwptut man page (1033 hits)
(Suse Linux 10.1)

startpar man page (808 hits)
(Suse Linux 10.1)

netcat man page (795 hits)
(Suse Linux 10.1)

Net::Config man page (740 hits)
(Suse Linux 10.1)

oowriter man page (719 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Ski Holidays :: PIC Boot Loader :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum