The Chakra Project

How to take screenshots

From The Chakra Project - Wiki

Jump to: navigation, search

There are several ways to take screenshots in Chakra GNU/Linux or any other GNU/Linux system.

Contents

Command Line Applications

Scrot

First, install the package called "scrot":

sudo pacman -S scrot

Run Scrot with PrintScreen key

Now it's time to set up the PrintScreen key. In the action tab type "scrot '%s.png' -e 'mv $f ~/Desktop/'", without the DOUBLE quotes. Printscreens that are taken will now appear on the Desktop folder.

This can be changed by renaming /Desktop/ to whetever you please. The images are saved with the unix current timestamp as there name. For example, 1253383519.


Credits to ign0ramus for this, he showed me this way a long time ago on a distant irc channel :)

Run Scrot from Yakuake

Another method is using Yakuake, and setting a delay for the screenshot.

So, if Yakuake is not installed yet:

sudo pacman -S yakuake

Start Yakuake ─from now on you can use F12 to show/minimize Yakuake─. Now, at any screen, you can hit F12 and type:

scrot -d 5 screenshot.jpg

Then hit F12 again and wait for 5 or more seconds. This will take a screenshot, with a 5 second delay, saved to your personal folder.

Graphical Applications

KSnapshot

Install the package ksnapshot (already installed in Chakra GNU/Linux by default):

sudo pacman -S ksnapshot

Now it's time to set up the PrintScreen key. In the action tab type ksnapshot.

How to set up the PrintScreen key

Open up the menu (click or hold down ALT and press F1). Go to "System Settings", next click on "Input Actions".

Input Actions.
Input Actions.

The image at the right should appear, although it will probably look slightly different. Press the image to see it larger.

Now, right click the left hand column (Edit), then select "New → Global Shortcut → Command/Url". Call this action "Printscreen" (or whatever you wish).

Move to the "Trigger" tab and click on the keyboard modifier button. Now press the PrintScreen button. This will bind the PrintScreen key to this command. Move to the action tab and type whatever command you want the PrintScreen key to call, which in most cases will be the name of the screenshot program in lowercaps.