Another win for snaps
Sam Varshavchik
mrsam at courier-mta.com
Fri Sep 13 12:13:25 UTC 2024
It's been known since 22 that the Firefox snap is broken in VNC session. It
fails to start. If you search around you'll find plenty of gripes and
mentions for the standard workaround of using a wrapper to set the
DBUS_SESSION_BUS_ADDRESS environment variable. It has something to do with
the cgroup that snaps run under.
I was hoping that this would get fixed in 24, alas it's not. There's no
apparent rush to fix this. And now, as I'm using Firefox more extensively, I
discovered another awesome snap feature: attempting to open a link to a
document file that should open in libreoffice does …absolutely nothing. No
response. But not only that, this leaves libreoffice semi-permanently
borked. It would no longer open when run on its own, going forward.
After some searching around I figured out the problem. The failed attempt to
launch libreoffice from Firefox results in a junk file
/tmp/OSL_PIPE_100_SingleOfficeIPC* left behind, and that prevents
libreoffice from starting on its own, going forward. Manually removing it
allows to libreoffice to start on its own. Apparently this is a relatively
new development, the breadcrumbs in Google led me to a different issue where
this was the issue, and I confirmed this myself, so leaving this here for
the search engine gods to find, and help other happy snap users to find out
this awesome feature of snap, the one where you now must save the link
separately, then open the saved document in libreoffice, manually.
Although I haven't verified this, I'm pretty sure that this also exists only
when running Firefox in a VNC session. Otherwise, I would expect that this
awesome feature would also be more widely known.
I can't wait for libreoffice itself getting snapified. Who knows what
awesome features will that bring to the table…
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240913/d44c25d1/attachment.sig>
More information about the ubuntu-users
mailing list