lucky13
Group: Members
Posts: 1478
Joined: Feb. 2007 |
|
Posted: July 07 2008,12:55 |
|
Just click your mouse on what you want to capture. If it's a particular window, click on that window. If you want the full desktop, find an empty space on it and click.
The option has been there before 4.4. It just dumps a file (raw x window dump) that you'll need to convert with another application if you want a standard file format like png or jpg. You can use imagemagick (which I use for my screenshots anyway) to do that with the convert command along with whatever options you desire.
$ convert name.xwd filename.png
Or use a wrapper script to do all of them at once either by command line in a directory or drag and drop in dfm:
Code Sample | #!/bin/sh for DUMPS in *.xwd; do convert $DUMPS ${DUMPS%.xwd}.png; rm $DUMPS; done |
You can edit out the rm $DUMPS command if you want to keep the xwd files but they take up lots of room.
edit: Sorry I didn't finish this thought earlier but had to get to a meeting. If you install imagemagick and want screenshots, there's no need to do xwd. Try this instead:
Quote | exec import -window root screenshot-$(date +%Y%m%d%H%M%S).png |
That can be added as an entry in your menu (.jwmrc) or as a keybinding (.jwmrc-keys) so it can be executed with some keystroke. You can also set it to a dfm icon (maybe add "sleep 5;" before "import") or as a menu button (.jwmrc-tray) if you want. Here's my entry in .jwmrc-keys ("W" for window -- use what you like, and remember it's case-sensitive).
Code Sample | <Key mask="SC" key="W">exec import -window root screenshot-$(date +%Y%m%d%H%M%S).png</Key> |
You can use png, gif, bmp, jpg, or whatever you want and imagemagick supports.
-------------- "It felt kind of like having a pitbull terrier on my rear end." -- meo (copyright(c)2008, all rights reserved)
|