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

From: Tavis Ormandy <taviso_at_sdf.lonestar.org>
Date: Sat, 28 Aug 2004 09:36:30 +0100

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

-- 
-------------------------------------
taviso_at_sdf.lonestar.org | 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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Aug 28 2004 - 03:36:56 BST

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