"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
--
calmar
(o_ GNU/Linux is GREAT
//\
V_/_ http://www.calmar.ws
--
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 - 04:21:34 GMT