x window snapshotForum: Apps Topic: x window snapshot started by: ajburch Posted by ajburch on July 07 2008,12:19
I take a bunch of screenshots and was happy to see the 'x window snapshot' app in dsl 4.4 (it may have been there earlier, but I never noticed it). The problem is that I don't know how it works. When you click on this x window snapshot in the menu listing, it turns the cursor into a + sign. Now what? I have tried clicking and dragging, shift clicking, etc. What are the steps and where is the picture saved?Thanks. <--AJ Posted by chaostic on July 07 2008,12:48
http://damnsmalllinux.org/static/act-ST/f-12/t-20212/hl-screenshot
Posted by lucky13 on 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:
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:
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).
You can use png, gif, bmp, jpg, or whatever you want and imagemagick supports. |