Flameshot

From ArchWiki
Jump to navigation Jump to search

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

Option 1: Use dbus-launch

Some X clients (dwm, i3, xmonad, possibly others) must be started with dbus-launch in order for Flameshot to start when using its sub-commands (e.g., flameshot gui, flameshot config).

For example, using xinit:

~/.xinitrc
...

exec dbus-launch dwm

See dbus-launch(1) for more information.

Option 2: Run as background process

Alternatively, 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.

Need to download the gnome shell extensions topicons plus

$ yay -S gnome-shell-extension-topicons-plus

Then in the gnome tweaks application (may also need to download if you don't 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!

See also