Re: FVWM: WindowId and FvwmCommand

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 6 Feb 2002 16:55:18 +0000

On 06 Feb 2002 12:57:50 -0500, Keith Kaple wrote:
>
> Let's say I have 50 xterms open, 19 of which are "special" for the moment, meaning they have been started with a specific purpose in mind. In my case they are router consoles started with a bash script line by something like:
>
> xterm $xtermopts -T 'otto 172.18.194.167' -e telnet $commserver 2019 &
>
> What is the easiest way to classify this xterm window from another xterm so with a function I can gather all my router consoles into one desk and cacade them?

You already classify them using -T; -n is stronger; -name is even more.
Use FvwmIdent to find out what all these 3 options do.

  All ('otto 172.18.194.167') Close

Or if you want to automate things, bind this menu to a window button:

DestroyMenu MenuFvwmWindowGroupOps
AddToMenu MenuFvwmWindowGroupOps "Resource Group Ops" Title
+ "&Iconify%menu/window-iconify.xpm%" Pick All ($r) Iconify on
+ "De&Iconify%menu/window-iconify.xpm%" Pick All ($r) Iconify off
+ "&Shade%menu/window-shade.xpm%" Pick All ($r) WindowShade on
+ "Un&Shade%menu/window-shade.xpm%" Pick All ($r) WindowShade off
+ "R&aise%menu/window-raise.xpm%" Pick All ($r) Raise
+ "Lo&wer%menu/window-lower.xpm%" Pick All ($r) Lower
+ "" Nop
+ "&Delete%menu/window-delete.xpm%" Pick All ($r) Delete
+ "&Close%menu/window-close.xpm%" Pick All ($r) Close
+ "Destroy%menu/window-destroy.xpm%" Pick All ($r) Destroy
+ "" Nop
+ "Quick Move To ...%menu/window-move.xpm%" Popup MenuFvwmWindowGroupQuickMove

This menu is copied from the fvwm-themes package.
The "Pick" word is not needed, but it ensures that this menu is usable
outside a window button too, when the current resource $r is not defined.

BTW, how about to use a valid "From:" header?

Regards,
Mikhael.
--
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 Wed Feb 06 2002 - 12:38:03 GMT

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