Flameshot - ArchWiki

Jump to content

# Flameshot

1 language

- 日本語

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 #3039, with a potential fix in PR #3059. 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 the 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

### Flameshot does not work on all monitors of a multi-monitor setup in KDE Plasma on wayland

The flameshot overlay only shows on one of several monitors. A workaround has been suggested in the flameshot github repository.

Basically, KDE plasma needs to be configured to overwrite the initial position of the flameshot overlay window in order for the flameshot overlay to show up on all connected monitors. For this, start the "Window Rules" application and create a new window rule with the following settings:

- "Window Class": flameshot
- "Window Types": normal window
- "Window Title": Exact Match: flameshot
- "Position": Force 0 0
- "Fullscreen": Force No
- "Obey geometry restrictions": Force Yes
- "Keep above other windows": Force Yes

### Flameshot does not work on all monitors of a multi-monitor setup in Sway

The flameshot overlay only shows on one of several monitors. A workaround has been suggested in the flameshot github repository.

The workaround consists of forcing the flameshot window/overlay to launch in floating mode and not in full screen, by adding the following line to your Sway configuration:

    for_window [app_id="flameshot"] border pixel 0, floating enable, fullscreen disable, move absolute position 0 0

Alternatively, you can force Flameshot to run under xWayland with `QT_QPA_PLATFORM=xcb flameshot gui` but note that, while it fixes the multi-monitor issue, it breaks keyboard shortcuts so Flameshot have to be controlled entirely with the mouse.

## See also

- Official website
- Claims that using dbus-launch fixes sub-command problems: `xmonad`, `i3`

Category:

- Multimedia