Fedora gnome wayland,flameshot screen recording permission

I installed Flameshot and found that it launches but can’t capture screenshots. I checked the troubleshooting guide https://flameshot.org/docs/guide/troubleshooting/ and ran this command:

env QT_AUTO_SCREEN_SCALE_FACTOR=1.5 QT_SCREEN_SCALE_FACTORS="" flameshot gui

A window popped up asking permission for screen recording, but I accidentally clicked Deny. Now when I run the same command, I get the error shown in the screenshot.

How can I get the screen recording permission prompt to show up again? Any ideas would be appreciated!"

An easy GUI tool to manage flatpak permissions is Flatseal:

flatpak install flathub com.github.tchx84.Flatseal
flatpak run com.github.tchx84.Flatseal

This seems to be software for managing flatpak applications, but my flameshot is rpm package installed with dnf.

Thank you for your answer, this method is useful, but I can’t set all apps to allow screenshots. So what if I just want to set up flameshot alone? Thank you for your teaching.

You can delete the incorrect permission like this:

busctl --user call \
    org.freedesktop.impl.portal.PermissionStore \
    /org/freedesktop/impl/portal/PermissionStore \
    org.freedesktop.impl.portal.PermissionStore \
    Delete ss screenshot screenshot

Then let the app create it properly.

3 Likes

This method is really perfect, you are really amazing, thank you for your help!!!

1 Like

I have an additional question. What should I do if it is related to screen recording permissions? Is it enough to change the two “screenshot” in the command?