Flameshot

From ArchWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

$ sudo pacman -Q xf86-video-intel

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

$ ls -la /etc/X11/xorg.conf.d/20-*
$ sudo pacman -R xf86-video-intel

Then reboot the system.

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

See also