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`

(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..

-- 
-------------------------------------
[EMAIL PROTECTED] | finger me for my gpg key.
-------------------------------------------------------
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to