what does adding this to env do ??
‘’ HOME: “$SNAP_USER_COMMON” ‘’
what does adding this to env do ??
‘’ HOME: “$SNAP_USER_COMMON” ‘’
You could consider using dbus-monitor
, running it in the background as you use the Flatpak build, and checking the output provided. If the Flatpak is using portals, you’d see references to them appear in the output as you operate with the UI. My suspicion though is that you wouldn’t see any.
It would attempt to change the default $HOME
variable in your snap to what’s likely going to be $HOME/snap/thonny-ide/common
. But changing it in this manner might not actually work. If you wanted to experiment with that, I’d recommend:
snap run --shell thonny-ide
export HOME=${SNAP_USER_COMMON}
$SNAP/bin/thonny
Though I imagine you might be intending $SNAP_REAL_HOME
instead.
Ditching dbus idea for now, i will move on to snap mate-apps like atril, pluma and engrampa, dbus can surely be implemented in them