#1144571 flameshot: Flameshot doesn't work under Forky X11

Package:
flameshot
Source:
flameshot
Description:
Powerful yet simple-to-use screenshot software
Submitter:
Ron Murray
Date:
2026-10-21 14:37:03 UTC
Severity:
normal
#1144571#5
Date:
2026-08-16 19:15:52 UTC
From:
To:
Dear Maintainer,

For some time now, I've noticed that flameshot doesn't do anything
when started from the tray icon (I don't know whether PrintScreen
works, because my Bluetooth keyboard doesn't have a PrntScn key).

When I press the icon, nothing happens: I can't select a rectangle
(trying to select with the mouse just selects text from current
windows), and around 30 seconds later, I get two messages: one saying
"Screenshot portal timed out after 30 seconds", and one saying "Unable
to capture screen".

I'm running Debian Forky under X11, with XFCE desktop. I've tried
re-installing flameshot, with no improvement.

I am aware of bugs #910970 and #1051179, but they only seem to affect
Wayland installations.

Thanks,

 .....Ron

- -- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.1.8.khufu (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages flameshot depends on:
ii  hicolor-icon-theme              0.18-2
ii  libc6                           2.42-17
ii  libgcc-s1                       16.2.0-1
ii  libkdsingleapplication-qt6-1.0  1.2.1-1
ii  libkf6guiaddons6                6.28.0-1
ii  libqt-color-widgets2            3.0.0-2+b1
ii  libqt6core6t64                  6.10.2+dfsg-15
ii  libqt6dbus6                     6.10.2+dfsg-15
ii  libqt6gui6                      6.10.2+dfsg-15
ii  libqt6network6                  6.10.2+dfsg-15
ii  libqt6widgets6                  6.10.2+dfsg-15
ii  libstdc++6                      16.2.0-1
ii  qt6-svg-plugins                 6.10.2-9

Versions of packages flameshot recommends:
ii  grim                    1.5.0+ds-1
ii  xdg-desktop-portal-gtk  1.15.3-2
ii  xdg-desktop-portal-kde  6.7.2-1

Versions of packages flameshot suggests:
ii  ca-certificates            20260601
ii  openssl                    3.6.3-1
ii  qt6-image-formats-plugins  6.10.2-3

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEETZlw4yMXM0sUHntjEvfoZbXi52EFAmqCDFUOHHJqbXhAcmpt
eC5uZXQACgkQEvfoZbXi52EqgQ/9HqWTAu8xtalqG+lORPht7BBIxSkFo0VnBVtj
II1URHolSErUHdeIlXWwEDjoVv6snJd1NZtmCA4qy1J64LXjXSXfHs4FKPlwZpY8
soje5CkMACK03bIUYbipewCXYj86do0GBa1/GMv7WXp1dMJcar5Hbk5Nu8LCdhLo
1sLt4NX8hFociFwiKoI3N7OOTQTqVTS2xiXGG28fWtPYc9+3fjNWDeGHepFVMpbq
P0PH3Nv/iJqdR/oqHE/KGQTlvBbu3/7KNwwdgz9ObkRqfTKf1gs7h98M3xSy0ELv
n1RmbhWE7/YG+zyKGsV4ZBaAZEgpEobSkg1/gTNUyILGUfiL9xErdBvZVeSNyzZ1
ceiLhL2tMiccp6jJ/8WizHGFYX9im5ur/Vh05XT0oyv0/JK1r7e53SaHqi/grzT7
VqbAQwhdKLEAp0WoFcSHs5Dmuw34eFGNtGKCTkMtzUu3LxcvWuzL3nlljJjpN/Lt
tucCUbpIINyi8SVN6V4U8gtF1OTgHLE8l6gYIfseyKLC9Uj4Wv1NFh05wBptuLW1
R06EKUqqc490tfTeXaNituztBFPv2mnS5N3XblFMdBe7MkhKGTGA9xNmy/tK9TGk
DwyxCXNaUSzV+nnobjyQfrnX6TA5uqzthH3TImSSmqAfIADDhIxEt6UZ9Fc22DyZ
G0Y0sLA=
=m14J
-----END PGP SIGNATURE-----

#1144571#10
Date:
2026-10-09 08:52:23 UTC
From:
To:
Hi

I have exactly the same problem with my PC under testing/X11 updated today.

Regards,
Jean-Philippe

#1144571#15
Date:
2026-10-19 08:15:51 UTC
From:
To:
flameshot has switched to xdg-desktop-portal as a means of grabbing
screenshots, which means you'll need to install a portal that works with
your desktop environment/window manager.

Unfortunately, I don't think there's any valid screenshot portal backend
for XFCE/X11 any longer (xdg-desktop-portal-gnome now relies on
gnome-shell's dbus interface, and xdg-dedsktop-portal-gtk has no
screenshot portal backend).

So for now, you can enable the "Use legacy X11 screenshot method
(deprecated)" option in `flameshot config`, which will let flameashot
bypass the portals implementation and just grab it using the X11 API
directly. Note that it's near the bottom of the checkboxes in the
`General` section, so you'll need to scroll down.

This is a deprecated setting, so while the option currently exists in
flameshot v14, there's no guarantee that it will continue to exist
moving forward. The rest of the world is moving away from X11 and has
been moving for a long time now, which means that more and more things
are going to stop being able to grab screenshots on X11 unless someone
builds an `org.freedesktop.impl.portal.Screenshot` implementation that
supports grabbing screenshots from X11.

#1144571#16
Date:
2026-10-20 00:32:01 UTC
From:
To:
Thanks. I'll check it out.
#1144571#17
Date:
2026-10-21 09:41:57 UTC
From:
To:
I was mistaken about the lack of a working screneshot portal for XFCE.
Looks like `xdg-desktop-portal-xapp` supports using
`xfce4-screenshooter` as a backend[1], so you can try installing both
packages and seeing if that works.

[1] https://sources.debian.org/src/xdg-desktop-portal-xapp/1.1.3-1/src/screenshot.c#L284

#1144571#18
Date:
2026-10-21 14:33:26 UTC
From:
To:
Thanks again. I'll look.