Tip: Flameshot won't run from a flatpak but does from AppImage

After a fresh installation of Bluefin, and then switching to Bluefin-DX, you may find that Flameshot installed via flatpak (screenshot, anotator app) will not run or throw error.

After some trial and error, I found that Flameshot works after installing it via AppImage.

Download link here: Release v12.1.0 · flameshot-org/flameshot · GitHub

The reason it is giving problems in several operating systems - according to the Flameshot developers - is because Gnome made changes and only Gnome Screenshot gets to work.

EDIT 1

  1. Couple of things that do not work wit the AppImage are: (i) A shortcut will not be able to invoke Flameshot in gui mode; (ii) icon on the panel will not show

EDIT 2
2. Removing AppImage. Trying installing Flameshot in a fresh Ubuntu 22.04 distrobox with sudo apt install flameshot. distrobox quits couple of times but finally get flameshot to work. Now, shortcut works but no icon in the panel yet only three dots, which is workable enough.

In Shortcut settings add this to command:
/usr/bin/distrobox-enter -n u2204 -- flameshot gui

to call the GUI.

hey @f0nzie, thanks for sharing!
I love Flameshot and was bummed when I ran into those crashes…
so you just use it in a Ubuntu distrobox now? when I try that way back then it was crashing as well. Will give it a new try
thanks

Yes. I created an Ubuntu 22.04 distrobox, and it runs well from there. The only annoyance is that its system tray icon only shows after a new login, then it’s gone. It’s replaced by three dots. Completely usable though under Bluefin-DX.

Hello there!

I can report that from my Fedora Linux 38.20240418.0 (Bluefin-dx):

  • Flameshot Flatpak did not work, even giving it wide permissions from flatseal

  • Flameshot AppImage is working well (tray icon app and related menu displaying ok; AppImage icon in launcher also ok) and for GNOME integration I’m using GearLever flatpak

Basically:

  • to manage flatpaks —> Warehouse and FlatSeal
  • to manage AppImages -----> AppImagePool and GearLever

Flameshot appimage kind of work for me but I’m getting this error icon instead of the flameshot’s one…
image

Have you tried a right-click on the icon?
If you see the Flameshot options, then it’s okay.
The icon ( / ) means that an icon has not been associated with the application. This is something that can be fixed via ~/.local/share/applications

yes right click works!
thanks for the icon’s tip @f0nzie
cheers :slightly_smiling_face:

1 Like

Finally it doesn’t work.
I download a new icon, copy it to .icons and change the icon’s path/name in ~/.local/share/applicationsgearlever_flameshot_757212.desktop
when I launch flameshot the icon appears correctly but after 2 seconds it turns red like before (before changing the icon it was the same problem)… strange!

The problem with Flameshot is related to xdg.desktop.Portals and can be remidied in 2 ways.

or

thanks @hamrheadcorvette, will look into it this weekend :+1: