Re: FVWM: desktop snapshot

From: Stephen R Dennison <srd_at_seekerof.info>
Date: Mon, 01 Mar 2004 09:34:05 -0500

Anyone else think it would be cool to use something like this in
conjunction with FvwmEvent to modify pager icons? Or has anyone already
done this?

I only ask because I think I lack the understanding to do it (atm).
I think it's possible... guess I'll find out.

On Mon, 2004-03-01 at 05:19, calmar wrote:
> "George \"Nephrite\" Potapov" <nephrite_at_inbox.ru> writes:
>
> >
> > How do you make mini screenshot icons? I know the principle how to make
> > them but lack a program to take window screenshots. xwd files has strange
> > format which xv doesn't process correctly and other screenshot takers requre
> > user to click on a window which is not acceptable.
> >
> I guess they use ImageMagick --> (convert) .. or
> something like this:
>
> from taviso:
>
> ,---- http://dev.gentoo.org/~taviso/fvwm2rc.html
> | DestroyFunc Thumbnail
> | AddToFunc Thumbnail
> | + I Raise
> | + I SetEnv Icon-$[w.id] $[w.iconfile]
> | + I ThisWindow (!Shaded Iconifiable !Iconic) PipeRead \
> | "xwd -silent -id $[w.id] | convert -scale $[fvwm_icon_size] -frame 1x1 \
> | -mattecolor black -quality 0 xwd:- png:$[FVWM_USERDIR]/icon.tmp.$[w.id].png \
> | && echo WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
> | || echo Nop"
> | + I TestRc (Match) Test (f $[HOME]/icons/$[w.miniiconfile]) PipeRead "composite -geometry +2+4 \
> | $[HOME]/icons/$[w.miniiconfile] $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
> | $[FVWM_USERDIR]/icon.tmp.$[w.id].png && echo Nop \
> | || echo Beep"
> | + I Iconify,
> `----
>
> Greetings
> marco

--
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 Mon Mar 01 2004 - 08:36:10 GMT

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