Thank you very much for your reply. I knew that I had to make some changes to respect the concept of sandboxing but I even stumble on the step before that is only to launch at least the software (even if it does not work yet)…
I have made two commits without more success: https://github.com/ImEditor/ImEditor/commit/e75e5e2d94e4b9eea3847b130e1bc49924812341 and https://github.com/ImEditor/ImEditor/commit/ae62e8c83d8db53d2bab229d754b71599347ba08.
Here’s the command that the .desktop is trying to launch (seen via alacarte):
env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/imeditor_imeditor.desktop /snap/bin/imeditor %U
If I enter this command manually in a terminal, here’s the result:
Traceback (most recent call last):
File "/snap/imeditor/11/bin/imeditor.py", line 4, in <module>
File "/snap/imeditor/11/usr/lib/python3/dist-packages/gi/__init__.py", line 102, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available
Moreover, the icon of the soft isn’t visible in Gnome Shell.