Re: FVWM: How to make Screenshoots with xwd from a fullscreen with open menus ?

From: Michelle Konzack <linux4michelle_at_freenet.de>
Date: Thu, 15 May 2003 15:14:12 +0200

Hello Mikhael,

Am 10:10 2003-05-15 +0000 hat Mikhael Goikhman geschrieben:
>
>On 14 May 2003 21:43:37 -0400, Dan Espen wrote:

>> If you want to use xwd, do something like:
>>
>> key Print Exec /bin/sh -c 'sleep 10;xwd -root -out /tmp/xwd.out'
>>
>> bind it to the printscreen key, hit the key, then activate the
>> menu.
>
>If you have ImageMagick installed, I really suggest to use "import
>-window root screenshot.png". It supports dozens of image formats
>including PNG/JPG/GIF, xwd only supports huge XWD files.

Do you know netpbm ?

I pipe my Dumpscreen trough netpbm:

*ButtonBar: (Frame 1, Title "xwd", Icon 32x32.xwd.xpm, Action \
        "Exec exec xwd |xwdtopnm |pnmtojpeg --quality 100 \
>~/.fvwm/dumps/`date +%Y%m%d%H%M%S`.jpg")

It works fine for me and I have the dumps timestamed.

Thanks for the suggestions but I have a question:

key Print Exec /bin/sh...

I was thinking, 'Key' has three values and the Action...
Is this right ???

After exiting the xsession, deleting the .xsession-errors I get the Error:

[FVWM][GetFontSetOrFixed]: WARNING -- can't get fontset 'fixed', trying
'-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*'
find_context: bad context or modifier e
find_context: bad context or modifier x
find_context: bad context or modifier e
find_context: bad context or modifier c
[FVWM][ParseBinding]: <<WARNING>> Illegal context in line Print Exec
/bin/bash -c 'sleep 5;xwd -root |xwdtopnm |pnmtojpeg --quality 100
>~/.fvwm/dumps/`date +%Y%m%d%H%M%S`.jpg'
find_context: bad context or modifier /
find_context: bad context or modifier b
find_context: bad context or modifier i
find_context: bad context or modifier /
find_context: bad context or modifier b
find_context: bad context or modifier h
[FVWM][ParseBinding]: <<WARNING>> Illegal modifier in line Print Exec
/bin/bash -c 'sleep 5;xwd -root |xwdtopnm |pnmtojpeg --quality 100
>~/.fvwm/dumps/`date +%Y%m%d%H%M%S`.jpg'
/home/michelle/.fvwm/wall/1024x768.veronika-tux.2.jpg is a 1024x768
JPEG image, color space YCbCr, 3 comps, Huffman coding.
  Merging...done
  Building XImage...done

Now I have added two 'A' for context 'ALL' and modifier 'ALL' and now
it works...

Question: I can not open the Menus and press 'Print'. - WHY ???
            Ther is no reaction. (the nenus are not closed)

Many Thanks
Michelle

-- 
Registered Linux-User #280138 with the Linux Counter, http://counter.li.org.
+--------------------------------------------------------------------------+
| Michelle's Internet-Service                    Inh.  Michelle Konzack    |
| FunkLAN-Providerin                                                       |
+--------------------------------------------------------------------------+
--
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 May 19 2003 - 09:55:39 BST

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