Flameshot won't copy to clipboard if started from CLI
Author: samrocketmanCreated Sep 6, 2023Updated Sep 17, 2026
LabelsUnconfirmed Bug
Flameshot Version
$ flameshot --version
Flameshot v12.1.0 ()
Compiled with Qt 5.15.3Installation Type
Snap from Ubuntu software center
Operating System type and version
Ubuntu 22.04.3 LTS
Description
If you open flameshot gui without the flameshot daemon running (system tray icon), then copying to clipboard via CTRL+C fails. If the daemon is open, then copying to clipboard works.
This issue was created from a comment on a closed issue https://github.com/flameshot-org/flameshot/issues/635#issuecomment-1693404726
There's new information and repeatable steps.
Steps to reproduce
- Ensure flameshot is completely closed (no system tray icon).
- Start flameshot directly from the terminal via
flameshot guiwhile there's not flameshot system tray icon. - Use CTRL+C to copy to clipboard.
Note following the above steps copying to clipboard fails. If you open flameshot GUI from application menu and the system tray icon is open, then flameshot will copy to clipboard successfully.
Screenshots or screen recordings
No response
System Information
# Ubuntu 22.04.3 LTS
# Linux 6.2.0-31-generic x86_64
# GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
# Flameshot v12.1.0 ()
# snap 2.60.3Using X11 for display instead of wayland.
Source: flameshot-org/flameshot