Flameshot

From ArchWiki

Flameshot is a program for taking screenshots. It has an interactive GUI with controls to select the desired capture region, move and resize the capture window, make edits with common drawing tools (pencil, line, rectangle, circle, blur, undo/redo), and choose the output destination (copy to clipboard, save to disk, upload to Imgur, open with another program).

Installation

Install the flameshot package, or flameshot-gitAUR for the development version.

Troubleshooting

Sub-commands exit immediately with no output

You can start Flameshot as a background process at any time during your X session:

$ flameshot &

No tray icon

There are probably other ways to do this. Here is just one way.

Install gnome-shell-extension-topicons-plusAUR

Then in the gnome tweaks application (may also need to download if you do not have it installed):

  1. Click on the Extensions tab
  2. Enable "Topicons plus" so it moves the legacy tray icons to the top panel
  3. Done!

Flameshot does not use currently visible windows

You may encounter this issue if you have installed xf86-video-intel.

Simply remove the xf86-video-intel package and make sure there is no dangling X11 configuration for the package under /etc/X11/xorg.conf.d/.

Then reboot the system.

This was discussed in an issue on the Flameshot Github repository: https://github.com/flameshot-org/flameshot/issues/1677.

Flameshot selection area selects very slowly in Wayland

PR #2766 has made selecting an area to screenshot very slow. It's being tracked in issue #3069, with a potential fix in PR #3039. Another work around is to use version 12.1.0-1 which does not have this issue.

Flameshot starts with an error on Sway / wlroots

When trying to take a screenshot, Flameshot will display the following error:

flameshot: error: Unable to capture screen
flameshot: error: Unable to capture screen
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
flameshot: info: Screenshot aborted.

Flameshot requires then following packages to be installed to work correctly on Wayland:

xdg-desktop-portal xdg-desktop-portal-wlr grim

Once these are installed, you should be able to start Flameshot.

More information can be found on the Sway wiki page

See also