Flameshot 14.0.0-1 failing to work

My wife and I just tried to do a screenshot since the last major upgrade and Flameshot fails to allow us to select the screen or any rectangle portion of a screen. It seems to be broke since the last major upgrade.

Any help or pointers to get it to work?

Thank you,
Ray

Same problem here …
While running flameshot from Terminal :

flameshot
QVariant::load: unknown user type with name QList<CaptureTool::Type>.
flameshot: error: Impossible de localiser le service `org.freedesktop.portal.Desktop`
flameshot: error: Impossible de capturer l'écran

Same here

Known bug :

Solution as described in github “use deprecated version” :
sudo downgrade flameshot
I chose flameshot-13.3.0-2 version
You may need to install downgrade package !

4 Likes

Well, even if that works, it’s worth the time to mention where the problem comes from, because that solution doesn’t seem to be a temporal one. From the page you linked:

The issue arises from the way Flameshot will work starting from v14, as it is utilises portals for screenshotting To quote:

Additionally, on Linux the primary way to take a screenshot is using the xdg-desktop-portal calls. This is the only way to screenshot on Wayland, and many X11 DE’s also support this. I reccomend looking at this Arch Wiki page to see if your DE supports it. If not there is a “deprecated” option that can be enabled that will fall back to the legacy method for capturing. (See below)

So, if the user’s desktop environment doesn’t support these “portals”, the program is not going to work. The legacy method that is mentioned can be seen in the release notes for this version:

For users on minimal window managers (i3, xmonad, etc.) without xdg-desktop-portal, there is now a Settings → General → “Use legacy X11 screenshot method” option that bypasses the portal. This is marked as deprecated but ensures Flameshot works in more environments.

To summarize, this “error” is not present in all installations (I don’t have problems in KDE Plasma). It is not even an error itself, so it is not going to be fixed in the future. As Flameshot v14 uses a new way to take screentshots that depends on xdg-desktop-portal to support it. If the user’s graphical environment doesn’t support it, the best action is to enable the legacy X11 screenshot method.

The alternative is to be stuck in v13, without any new features, until some point in the future it doesn’t work anymore (but for now is going to work). This last option also requires to block updates for flameshot. If not, every time the system updates, this program is also to be updated.

4 Likes

From: [SOLVED] After update flameshot is now not taking screenshots. / Applications & Desktop Environments / Arch Linux Forums

In ~/.config/flameshot/flameshot.ini under [General] adding useX11LegacyScreenshot=true got it working for me.

1 Like

The option in the settings I mentioned just do that:

3 Likes

Here is what I see when I open the config settings:

What version do you have installed? That only appears in the new version: 14.X

If you downgraded the package, then is not going to be there.

The “legacy X11” option is further down! Did you scroll down to see the other options?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.