1 FvwmCommand is an interface to send commands to and receive
2 information from Fvwm2 from processes which are not Fvwm modules.
7 test1.pl - takes 1 argument 't' to invoke FvwmTalk
10 test2.sh - takes 1 argument 'b' to invoke FvwmButtons
11 'kb' to kill FvwmButtons
12 'r' to change # of button rows
13 'c' to change # of button columns
14 ex-auto.pl - auto raise small windows. It will keep them visible.
15 ex-cascade.pl - cascade windows, then move them back.
16 ex-grpmv.pl - choose a group of windows to move together.
18 Above examples are not meant to be practical but to show how it can
24 This is a user programmable window focus script.
26 1. When a window is opened up, focus the window and move the pointer
27 to it. The parent window regains focus when a window is closed.
28 Parenthood is determined when a window is opened. It is the last
29 focused window with the same X class.
30 2. #1 would not occur to AcroRead opening window.
31 3. #1 would not occur when SkipMapping is set and the window is the
32 only window of its class.
33 4. For Netscape find dialog window, addition to #1, resize the window
34 to 300x150 pixels and move it to East edge of the screen.
35 Download/upload windows will not be focused nor be in focus link
37 5. Move appletviewer to NorthWest corner.
38 6. Xterm won't focus back to its parent after closed.
39 7. When a window is de-iconified, focus it and move the pointer.
42 Focuses pop-up windows, such as 'open URL' or 'find' whenever
43 opened up. This let the user to type in immediately without
44 moving mouse. This script also moves 'download' window to the
45 right edge to keep it visible. If this is invoked from
48 AddToFunc "StartFunction" "I" Module FvwmCommandS
49 + "I" Exec $HOME/scripts/focus-Netscape.pl
51 push-away.pl <direction> <window name>
52 Pushes windows away to avoid overlapping. use as:
54 push-away.pl up 'Fvwm Pager'
58 Your comments will be appreciated.
62 isogai@ucsub.colorado.edu