Martin Gisser wrote:
>
> Hi there!
>
> I'd like to put a screenshot of my FvwmPager (which is swallowed by FvwmButtons)
> on my machine's homepage using some SSI or CGI.
> http://www.gisser.de - only when box & ISDN are up.
xwd -id $(xlswins | grep "Fvwm Pager" | awk '{print $1}') | xwdtopnm |
ppmtogif > pager.gif
(all on one line) will give you a pager.gif from a ksh/bash script. You
could run this from cron to give a snapshot at regular intervals. If
you're worried about being sued for using GIF software you could use
ppmtojpeg or even pnmtopng.
It would be nice to set a short expiry date on the picture so that
clients don't use an old cached copy but I don't know how to do that.
Cheers,
Tim.
--
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 Tue Apr 20 1999 - 06:49:39 BST