On Fri, 12 Sep 1997, Randy J. Ray wrote:
> >>>>> "Toshi" == Toshi Isogai <isogai_at_kentek.com>
> >>>>> wrote the following on Thu, 11 Sep 1997 18:07:40 -0600 (MDT)
>
> Toshi> On Thu, 11 Sep 1997, Jeppe Buk wrote:
> >> Hi =20 Does a module exist that allows a shell script to send
> >> commands to fvwm (e.g. via a named pipe)? =20
>
> Toshi> There is a module called FvwmCommand available at =20
> Toshi> www.concentric.net/~isogai/fvwm2/fvwm2.html
>
> I think FvwmCommand has to run from Fvwm, like any other module?
No. Here is its README file.
FvwmCommand is an interface to send commands to Fvwm
from processes which are not Fvwm modules.
Version 1.4
- Returns error messages and Fvwm window transaction. Its output can
be used for scripts.
- Uses fifo instead of inet port. Multiple users can use FvwmCommand
without interference. Also multiple FvwmCommands can be used for
background jobs.
- Exits cleaner. It erases files it creates.
Examples
test1.pl - takes 1 argument 't' to invoke FvwmTalk
'td' to kill FvwmTalk
'' to move windows
test2.sh - takes 1 argument 'b' to invoke FvwmButtons
'kb' to kill FvwmButtons
'r' to change # of button rows
'c' to change # of button columns
ex-auto.pl - auto raise small windows. It will keep them visible.
ex-cascade.pl - cascade windows, then move them back.
ex-grpmv.pl - choose a group of windows to move together.
Above examples are not meant to be practical but to show how it can
be done.
focus-Netscape.pl
Focuses pop-up windows, such as 'open URL' or 'find' whenever
opened up. This let the user to type in immediately without
moving mouse. This script also moves 'download' window to the
right edge to keep it visible. If this is invoked from
.fvwm2rc, use as:
AddToFunc "InitFunction" "I" Exec $HOME/scripts/focus-Netscape.pl &
push-away.pl <direction> <window name>
Pushes windows away to avoid overlapping. use as:
push-away.pl up 'Fvwm Pager' &
Your comments will be appreciated.
Toshi Isogai
isogai_at_enshin.com
July 19 '97
-----------------------------------------------------
Toshi Isogai °ë³ÍøÌÀ
KENTEK Information Systems
isogai_at_kentek.com
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Sep 12 1997 - 15:01:34 BST