On Tue, 20 Oct 1998 12:35:13 -0700
John Benninghoff <johnb_at_netscape.com>
wrote concerning 'Re: FVWM: Hiding Icon images and Icon text seperately':
>
> I'm going to investigate FvwmIconMan, since it nearly does what I am looking
> for.
Here's the setup I use. I find it invaluable for managing very large
numbers of windows, especially multiple terminals running telnets
to other machines.
It is M4 preprocessed, but you can easily strip that stuff out.
----------------------------------------------------------------------
Mouse 3 R N Module FvwmIconMan Transient
m4_define(ICONFONT, `-adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*')
m4_define(XTERM_COLOUR, `CadetBlue')
m4_define(EMACS_COLOUR, `GoldenRod')
m4_define(DEFAULT_COLOUR, `SlateBlue3')
m4_define(NETWORK_COLOUR, `MediumAquamarine')
m4_define(CLASS_XTERM, `class=XTerm class=NXTerm class=XWsh')
m4_define(TITLE_ROOT, `title=root*')
m4_define(CLASS_EMACS, `class=Emacs')
m4_define(CLASS_NETWORK, `class=Netscape class=Mosaic class=Grail \
class=Xarchie class=Exmh')
m4_define(CLASS_FVWM, `class=Fvwm* icon=Fvwm*')
## 5 managers: 1 = all, 2 = root xterms, 3 = emacs, 4 = network clients,
## 5 = non-root xterms
*FvwmIconMan*nummanagers 5
*FvwmIconMan*resolution page
*FvwmIconMan*font ICONFONT
## can have (title), (icon), (class), (resource)
*FvwmIconMan*format %i
*FvwmIconMan*buttongeometry 150x0
*FvwmIconMan*shape True
*FvwmIconMan*usewinlist True
*FvwmIconMan*DrawIcons True
## buttons are: {flat,up,down,raisededge,sunkedge} [forecolor backcolor]
*FvwmIconMan*plainbutton Up
*FvwmIconMan*focusbutton Up Black PaleVioletRed
*FvwmIconMan*selectbutton down
*FvwmIconMan*focusandselectbutton down
*FvwmIconMan*followfocus true
*FvwmIconMan*sort true
#*FvwmIconMan*[id*]action {Key,Mouse,Select} binding
## args: SendCommand manager window command
*FvwmIconMan*action Mouse 1 N sendcommand Iconify
*FvwmIconMan*action Mouse 2 N sendcommand DeiconifyFocusAndWarp
*FvwmIconMan*action Mouse 2 S sendcommand "Menu Window-Ops2 Window-Ops2"
*FvwmIconMan*action Mouse 3 N sendcommand RaiseLower
*FvwmIconMan*action Mouse 3 S sendcommand "Module FvwmIdent"
## show all windows except xterms & emacs
*FvwmIconMan*1*managergeometry 1x0-450+0
*FvwmIconMan*1*title "FvwmIconMan: All windows"
*FvwmIconMan*1*iconname "FvwmIconMan: All windows"
*FvwmIconMan*1*dontshow resource=FvwmIconMan \
CLASS_XTERM \
CLASS_EMACS \
CLASS_NETWORK \
CLASS_FVWM
*FvwmIconMan*1*background DEFAULT_COLOUR
*FvwmIconMan*1*foreground White
## show just root xterms
*FvwmIconMan*2*managergeometry 1x0-0+0
*FvwmIconMan*2*show TITLE_ROOT
*FvwmIconMan*2*title "FvwmIconMan: Root XTerms"
*FvwmIconMan*2*iconname "FvwmIconMan: Root XTerms"
*FvwmIconMan*2*background XTERM_COLOUR
*FvwmIconMan*2*foreground DarkRed
## show just non-root xterms
*FvwmIconMan*5*managergeometry 1x0-150+0
*FvwmIconMan*5*show CLASS_XTERM
*FvwmIconMan*5*title "FvwmIconMan: XTerms"
*FvwmIconMan*5*iconname "FvwmIconMan: XTerms"
*FvwmIconMan*5*background XTERM_COLOUR
*FvwmIconMan*5*foreground Black
## show just emacs
*FvwmIconMan*3*managergeometry 1x0-300+0
*FvwmIconMan*3*show CLASS_EMACS
*FvwmIconMan*3*title "FvwmIconMan: Emacs"
*FvwmIconMan*3*iconname "FvwmIconMan: Emacs"
*FvwmIconMan*3*background EMACS_COLOUR
*FvwmIconMan*3*foreground Black
## just show network clients
*FvwmIconMan*4*managergeometry 1x0-600+0
*FvwmIconMan*4*show CLASS_NETWORK
*FvwmIconMan*4*title "FvwmIconMan: Network"
*FvwmIconMan*4*iconname "FvwmIconMan: Network"
*FvwmIconMan*4*background NETWORK_COLOUR
*FvwmIconMan*4*foreground Black
## transient window to pop up
*FvwmIconMan*transient*title "Global FvwmIconMan"
*FvwmIconMan*transient*Shape False
*FvwmIconMan*transient*plainbutton Flat
*FvwmIconMan*transient*focusbutton Flat LimeGreen PaleVioletRed
*FvwmIconMan*transient*resolution global
*FvwmIconMan*transient*managergeometry 1x0
*FvwmIconMan*transient*buttongeometry 300x0
*FvwmIconMan*transient*action Mouse 0 A sendcommand DeiconifyRaiseAndFocus
*FvwmIconMan*transient*background Gray25
*FvwmIconMan*transient*foreground LimeGreen
*FvwmIconMan*transient*selectbutton Up
----------------------------------------------------------------------
Cheers
Ric
Richard J Lister, Georgetown Institute for Cognitive and Computational Sciences
Georgetown University Medical Center, Washington, DC 20007, USA
Phone: +1 202-687 2878
Email: ric_at_giccs.georgetown.edu
Web:
http://www.giccs.georgetown.edu/~ric/
--
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 Tue Oct 20 1998 - 15:30:52 BST