env | grep THONNY Returns nothing, the command exits
can you explain in detail how to add the environment part for core22, i will also check this out
this is not a solution, it is even sheer luck that it starts at all, you circumvent confinement and all setup scripts of the snap and run it natively … which will now have again polluted your system in ~/.cache i guess …
you simply add it to your apps:
entry just like the plugs and command:
https://snapcraft.io/docs/snapcraft-app-and-service-metadata
it takes a list of keys and values…
Understood with this --> Declaratively defining environment variables
Hey there yes after successfully adding it the app runs but its interpreter wont run i mean py programs wont run due to --:
OSError: [Errno 30] Read-only file system: ‘SNAP_USER_DATA’
I think some extra work is needed to allow it run files also the cursor it uses isnt of system i mean we should also add a gtk-common-themes plug ??
it is a variable … you want a leading dollar sign there to have it expanded to a path …
ok changing it, in the yaml
The app is working fine but wont open from menu, i think its due to snap being thonny-ide but desktop file being thonny, changed it building again
(FIXED SUCCESSFULLY)
Any idea building the snap with gnome-3.38 ext gives the following error :
- duplicate entries in 'plugs' not permitted in 'apps.thonny-ide' configuration
But nothing is duplicate in plugs also in extensions it wont allow me to use [gnome-38], it will only work if i use [gnome], i want to use gnome-extension to let my snap use xdg-portals to work in a much better way
Successfully packaged snap with gnome 42 base to make it possible to use gtk portal…
Successfully added Dbus slot and registered app with gtk or dbus whatever