Re: FVWM: taking screenshot of multiple / all desks / pages

From: xavier <list.fvwm_at_natch.dyndns.org>
Date: Fri, 3 Sep 2004 10:15:53 -0400

On Sat, Aug 28, 2004 at 09:36:30AM +0100, Tavis Ormandy wrote:
> On Fri, Aug 27, 2004 at 10:48:02AM -0400, xavier wrote:
> >
> > works great.
> >
> > takes 1 mins for 10x7 on one desk.
>
> Try this, might be a bit faster:
>
> AddToFunc Screenshot I PipeRead `for ((x=0;x<$[desk.pagesx];x++)); do \
> for ((y=0;y<$[desk.pagesy];y++)); \
> do echo GotoPage ${x} ${y}; \
> xwd -root -silent -out $[FVWM_USERDIR]/page_${x}_${y}.xwd;\
> done; done;\
> montage -geometry $[vp.width]x$[vp.height] -tile \
> $[desk.pagesx]x$[desk.pagesy] $[FVWM_USERDIR]/page_*_*.xwd \
> png:$[HOME]/screenshot.png; rm -f $[FVWM_USERDIR]/page_*_*.xwd`


xwd is fast ! works really great.
however montage, trying to glue 70 1280x1024 images together, almost
killed my box. but that's fine, i can deal with that.

>
> (makes a screenshot.png in your home dir)
>
> > however, there is desks where there is nothing ;
> > is there a fvwm way to know that ? so that i don't take
> > empty and useless screenshots.
> >
>
> Sure, use Any (CurrentPage) DoStuff..
>

hummm, errr, could you be more specific ?
(urls, pointers to doc ?)


i'm lost.

thanks

-- 
xavier
--
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 Fri Sep 03 2004 - 09:16:18 BST

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