Hidden Linux : KSnapshot

KSnapshot is KDE's in-built screenshot grabber. Just hit the PrtScr key and you can save a screenshot in a wide range of formats. How wide? Here's the list!
| BMP | Windows Bitmap |
| EPS | Encapsulated Postscript |
| JPEG / JPG |
Joinit Experts Photographic Group |
| MNG | Multi-image Network Graphics |
| PBM | Portable Bitmap |
| PCX | Personal Computer eXchange |
| PGM | Portable Grey Map |
| PNG | Portable Network Graphics |
| PPM | Portable Pixmap |
| RGB | Red Green Blue |
| TARGA / TGA | Truevision Advanced Raster
Graphics Adapter |
| TIFF | Tagged Image File Format |
| XBM | X Bitmap |
| XPM | X Pixmap |
But there's more to KSnapshot than just formats.

Capture Mode has five snapshot options. Each hides the KSnapshot applicaton window and turns the cursor into a crosshair (+) but how you actually capture the shot depends on which mode you've selected.
- Full Screen : left-click to snap the whole screen.
- Window Under Cursor :
left-click to snap the window you're pointing at.
- Region : left-click and
drag with the mouse to select any area you like. Resizing handles
around the sides of the selection enable further adjustment, or you can
reposition the selection area by clicking and dragging it about. Press
ENTER to actually make the snapshot or ESC to quit.
- Section of Window : move
the cursor over an open window and you'll find it's individual sections
highlighted by a red boundary box. Left-click to snap the one you want.
- Current Screen : is for
multiple monitor users. Move the cursor on to the screen you want to
snap and left-click to capture only what's on that monitor.
Snapshot Delay gives you time to position things before the picture's taken. Say for example you want a shot of an application showing the contents of its File menu. Selecting a delay of five seconds will give you time to position things after you click New Snapshot.
Include Window Decorations gives you the option of including the Title Bar, Maximise, Minimise and Close buttons along the top of the window if you're shooting in Window Under Cursor mode.
Save As obviously allows you to save in any of the above formats. One neat "hidden" feature is that it automatically indexes subsequent saves. If you call your first save "MyPic1.png", the next time you use KSnapshot it'll offer the name "MyPic2.png", then "MyPic3.png" and so on.
Open With presents a drop-down list of applications to open the snapshot immediately. No need to save it to an intermediate file!

Copy to Clipboard is similar. It puts the image in the PC's clipboard, allowing you to paste the image directly into any other applications as many times as you like.
(And in case you're wondering, I made the snapshots in this blog using KSnapshot. But how? As soon as you click New Snapshot the application hides itself. Solution: I hit PrtScr twice so the second instance of the program captured pictures of the first!)
![]() |
![]() |



PC World is New Zealand’s top selling computing and technology magazine.