Friday 1 January 2010

TIP: Screenshot grabbing

How to make a screenshot of your desktop or an application


In Windows, to take a screenshot you simply press the "prtscn" key and you're good to go. What about Linux? Is taking screenshots as easy?

Gnome
Gnome has what is probably the easiest method of taking screenshots. You simply press the "prtscn" key and a window will pop up.

KDE
In KDE if you press the "prtscn" key, nothing happens. I'll give instructions on how to program the Print Screen (prtscrn) button below.

KDE comes with a handy program called ksnapshot that lets you with ease grab a screenshot of your desktop or a single window.

Press ALT-F2 and enter "ksnapshot" in the space provided.

Program the Print Screen (prtscrn) button in KDE
In KDE4 on my Kubuntu 9.10 the prtscrn button did not work. Here's how to program it to open ksnapshot.

Go to the System Settings, Input Actions, right-click in the left pane and select "New Global Shortcut > Command/URL". Give the new entry a name: "KSnapshot", a comment "Print screen key to open ksnapshot" and an action: "ksnapshot". In the trigger pane, click on the button and press "PrintScreen" on the keyboard to assign the key. Click "Apply".

If you cannot find Input Actions utility as mentioned above, then launch KRunner by pressing Alt+F2 and type 'Input Actions' to find it and then click upon the icon.

GIMP
To grab an image of the screen or a program in Gimp:
File -> Acquire -> Screen shot

GIMP - The GNU Image Manipulation Program, for X Windows systems.
www.gimp.org



Categories: How-To, Linux, OS
Tags: kde, KScreenshot, Kubuntu, Linux, print, screen, screenshot, shortcut

No comments: