How to install and use Flameshot on Linux

Flameshot is a free and open source Screenshot Tool. It is simple, yet powerful feature-rich ,easy to use. And also, Flameshot has a CLI version, so you can take screenshots from commandline as well.

In this article,we will show you how to install Flameshot and how to take screenshots using it in Linux.

Step 1、Install Flamesshot

On Arch Linux:

Make sure you have enabled community repository and typing the following command:

sudo pacman install -S flameshot

On Ubuntu 18.04+ / Debian 10+

On Ubuntu 18.04+ and Debian 10+, install it using APT package manager, typing the following command:

sudo apt install flameshot

On Fedora

On Fedora , typing the following command:

sudo dnf install flameshot

On openSUSE

On openSUSE , Typing the following command:

sudo zypper install flameshot

On Void Linux

On Void Linux , Typing the following command:

sudo xbps-install flameshot

On Solus

On Solus , Typing the following command:

sudo eopkg it flameshot

On other distributions, compile and install it from source code. The compilation requires Qt version 5.9* or higher and GCC 7.4 or higher and CMake 3.13 or higher.

 

Step 2、Use Flameshot

Once the installation is complete,You can find flameshot from menu or application launcher. for example, On MATE desktop environment, It usually found under Applications -> Graphics.

When you opened it, you will see Flameshot systray icon in your system’s panel.

Now, you can use Flameshot to capturing screenshots .

Keyboard shortcuts

Frameshot supports keyboard shortcuts. Right click on Flameshot tray icon and click Information window to see all the available shortcuts in the graphical capture mode. Here is the list of available keyboard shortcuts in GUI mode.

These shortcuts are available in GUI mode:

Keys Description
P Set the Pencil as paint tool
D Set the Line as paint tool
A Set the Arrow as paint tool
S Set Selection as paint tool
R Set the Rectangle as paint tool
C Set the Circle as paint tool
M Set the Marker as paint tool
T Add text to your capture
B Set Pixalate as the paint tool
←, ↓, ↑, → Move selection 1px
Shift + ←, ↓, ↑, → Resize selection 1px
Esc Quit capture
Ctrl + M Move the selection area
Ctrl + C Copy to clipboard
Ctrl + S Save selection as a file
Ctrl + Z Undo the last modification
Ctrl + Shift + Z Redo the next modification
Ctrl + Q Leave the capture screen
Ctrl + O Choose an app to open the capture
Return Upload the selection to Imgur
Spacebar Toggle visibility of sidebar with options of the selected tool, color picker for the drawing color and history menu
Right Click Show the color wheel
Mouse Wheel Change the tool’s thickness
Print screen Capture Screen
Shift + Print Screenshot History

Shift + drag a handler of the selection area: mirror redimension in the opposite handler.

Step 3、Command line options

Flameshot also has a set of command line options to delay the screenshots and save images in custom paths.

CLI configuration

You can use the graphical menu to configure Flameshot, but alternatively you can use your terminal or scripts to do so.

  • Open the configuration menu:
    flameshot config
    
  • Show the initial help message in the capture mode:
    flameshot config --showhelp true
    
  • For more information about the available options use the help flag:
    flameshot config -h
    

Config file

You can also edit some of the settings (like overriding the default colors) in the configuration file located at ~/.config/flameshot/flameshot.ini.

Typing the following command to capture screen with Flameshot GUI:

flameshot gui

To capture screen with GUI and save it in a custom path of your choice:

flameshot gui -p ~/myStuff/captures

To open GUI with a delay of 2 seconds:

flameshot gui -d 2000

To capture fullscreen with custom save path (no GUI) with a delay of 2 seconds:

flameshot full -p ~/myStuff/captures -d 2000

To capture fullscreen with custom save path copying to clipboard:

flameshot full -c -p ~/myStuff/captures

To capture the screen containing the mouse and print the image (bytes) in PNG format:

flameshot screen -r

To capture the screen number 1 and copy it to the clipboard:

flameshot screen -n 1 -c

Conclusion

In this Article ,wo`ve shown you How to install and use Flameshot on Linux. Now you known that Flameshot has almost all features for capturing pictures, adding annotations, editing images, blur or highlight important points and a lot more.

If you want to learn more about flameshot, try installing it.

Leave a Reply