You Are Here: Home » How-To » Linux » OS

How To Launch KSnapshot with the “Print Screen” key in Kubuntu 9.04

By Ricky on September 18th, 2009 
Advertisement

kdelogoIn KDE 4.x, by default when we press the Print Screen key, the screenshot is taken and the image is copied to the clipboard. If we want to us this image we have to open an image editor program and past the picture and then save it. To launch KSnapshot instead of just copying the picture to the clipboard saves a lot of time. From KSnapshot we can save the picture anywhere we want and we don't have to open an image editor. Moreover, KSnapshot has some nifty little features like taking a screen shot of only a portion of the screen or the current window or without the mouse cursor.

Here we give to you step-by-step how to launch KSnapshot with the PrintScreen key.

  1. Launch KRunner by pressing Alt+F2. Then type "input actions" and press Enter. Or you can follow the long way by clicking on Kickoff Application Launcher. Then goto Computer -> System Settings. In System Settings, you will find Input Actions under the heading Computer Administration. Click on Input Actions.
    Using KRunner

    Using KRunner. You actually need only 3 characters to get KRunner to work

    The other way

    The other way - first this

    ... and then this

    ... and then this

  2. In Input Actions, click on Edit -> New -> Command/URL. Give the new entry a proper name and make sure that the checkbox is checked.
    Choose Command/URL

    Choose Command/URL

    .... and name the new entry

    .... and name the new entry

  3. Under Comment tab, you can enter anything you want.

    It doesn't matter what you enter or do not enter here

    It doesn't matter what you enter or do not enter here

  4. Under Trigger tab, there will be a field Shortcut. Click on that, now it will say Input, and press the PrintScreen Key on your keyboard. If there is any conflict, there will be a warning. Resolve it by changing your input key or the conflicting shortcut's to something else.
    Define your shortcut key

    Define your shortcut key

    Error!!

    Error!! This will come up only if there is a conflict.

  5. Under the tab Action, there will be a field, Command/URL. Type "ksnapshot" (without the quotes) in the field.

    And define the application

    And define the application

  6. Click on Apply and its done.

    Apply!

    Apply!

You can use this same method to define shortcuts for any applications you want. All that you have to do is enter the proper Command/URL for that application.

Advertisement







How To Launch KSnapshot with the “Print Screen” key in Kubuntu 9.04 was originally published on Digitizor.com on September 18, 2009 - 10:10 am (Indian Standard Time)