How to Install Flameshot Screenshot Tool in Linux

Flameshot is an open-source screenshot tool available for Linux, Mac, and Windows. It is created with C++ and QT5 language. Every popular Linux distribution comes with a screenshot tool but they lack few functionalities that flameshot offers.

Some of the popular features include.

  • Supports graphical and CLI mode.
  • Edit images instantly.
  • Image uploads to Imgur.
  • Export and import configuration.
  • Easy to use and customizable.

In this article, you will learn how to install and use Flameshot screenshot software in Linux desktop systems. For the purpose of demonstration, I am using Linux Mint 20.04.

How to Install Flameshot in Linux

Flameshot can be installed using package managers. Before installing through this method make sure you verify the version that ships with your OS.

$ sudo dnf install flameshot  # Rhel, Centos, Fedora
$ sudo apt install flameshot  # Debian, Ubuntu-based distro 

The second method would be to download the flameshot package (.rpm or .deb) from GitHub based upon your distribution and install it locally. This is the method I prefer since I can install the new version irrespective of what ships with my distribution.

# Ubuntu based distribution
$ wget https://github.com/flameshot-org/flameshot/releases/download/v0.9.0/flameshot-0.9.0-1.ubuntu-20.04.amd64.deb
$ dpkg -i flameshot-0.9.0-1.ubuntu-20.04.amd64.deb

# Rhel based distribution
$ wget https://github.com/flameshot-org/flameshot/releases/download/v0.9.0/flameshot-0.9.0-1.fc32.x86_64.rpm
$ rpm -i flameshot-0.9.0-1.fc32.x86_64.rpm

You can also install the most latest version of Flameshot from the snap store or flathub.

How to Use Flameshot in Linux Desktop

Flameshot can be started manually or we can make it auto start when the system boots up. Go to “Menu → Type flameshot → Selectflameshot” will be launched and on the system tray. To access from the system tray make sure you have a systray installed in your OS. Since I am running Linux Mint, by default it has a system tray.

Flameshot System Tray
Flameshot System Tray

Right-click on the flameshot icon from the system tray. This will show various options you can work with. We will see what each option is and how to use it.

Flameshot Options
Flameshot Options

Press “Information“ and it will display shortcuts and license/version information.

Flameshot Shortcut Keys
Flameshot Shortcut Keys

To take the screenshot all you have to do is press “Take screenshot”. Select the area you want to capture and you will get few options to work with like highlighting, drawing lines and pointers, adding text, uploading to Imgur, save locally, etc. You can press the “Esc” key to discard the selection or press the “Enter” key to save the image to the clipboard.

Take Linux Desktop Screenshot
Take Linux Desktop Screenshot

You can take a snapshot of your full screen by clicking “Open Launcher”. Here you can choose on which monitor you have to take the screenshot and you can also set delay time and press “Take new screenshot”.

Take Full Desktop Screenshot
Take Full Desktop Screenshot

Open “Configuration” by pressing the configuration option. Under the “Interface” tab you can choose what buttons to be displayed when you take a screenshot. You can also control the opacity of the non selected areas.

Flameshot Configurations
Flameshot Configurations

When you save a snapshot by default it will create a filename in date format. You can manually change the name and save it or there is a way to change the default name.

Default File Name
Default File Name

From the “Filename Editor” tab you can set the default file name under “Edit bar”.

Set Default Filename
Set Default Filename

Under the “General” tab you can choose options like show tray icon, launch flameshot at system startup, copy URL after uploading to Imgur, Desktop notifications and help messages.

Flameshot General Settings
Flameshot General Settings

All the configurations are stored in “/home/<user>/.config/Dharkael/flameshot.ini”. You can import or export this file using the import and export option. It is recommended to set parameters via GUI instead of editing the .ini file directly.

Flameshot Configuration File
Flameshot Configuration File

How to Use Flameshot from Command Line

Till now we have seen how to use flameshot in GUI mode. You can do all the things that you do in GUI mode with CLI mode too. To launch flameshot simply run “flameshot” from the terminal.

$ flameshot &

To get help type “flameshot -h” in the terminal.

$ flameshot -h
Flameshot Help
Flameshot Help

To take a screenshot type “flameshot gui” which will open Gui mode. This is the same as we have seen in the Gui section.

$ flameshot gui

To store the screenshot in the custom path use the -p flag and pass the location as an argument.

$ flameshot gui -p /home/tecmint/images

To add a delay in taking screenshot use -d flag and add time as an argument.

$ flameshot gui -d 2000

To take a full-screen snapshot use the “full” option.

$ flameshot full  -p /home/tecmint/images -d 1500

To copy the screenshot to the clipboard using the -c flag without saving location.

$ flameshot full -c -p -p /home/tecmint/images

To capture the screen where the mouse is use -r flag.

$ flameshot -r

You can open the configuration bypassing the “config” option.

$ flameshot config

That’s it for this article. Play with flameshot and share your feedback with us.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Karthick
A passionate software engineer who loves to explore new technologies. He is a public speaker and loves writing about technology, especially about Linux and open source.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.