6

I have latest Inkscape 1.2.1 (2ed6d7ae0b, 2022-08-22, custom), installed via snap, on up-to-date fresh install of Ubuntu 22.04

Open Inkscape and then menu 'File / Open...' works fine. But if in Ubuntu File manager I right-click a SVG file and select Inkscape via "Open with another application" nothing at all happens. Selecting other apps instead (e.g. Gedit) no problem.

Anyone know how to fix this?

And whether this is an Ubuntu-related issues or rather an Inkscape bug? In the latter case I will search their issue tracker and file a bug if I can't find anything related.

1 Answers1

7

This is (yet another) limitation of the current implementation of Snap. The connectors are set properly, so Inkscape, once loaded, has access to visible files in your home directory. However, the confined shell in which the application is started does not see your home directory. Thus, the path to your file passed to the program points to file that does not exist in that shell.

There is nothing you can do thus far. An issue about this has been filed with Inkscape.

Either you have to adapt your workflow for the time being. Alternatively:

  • You can replace the Snap version by the regular APT version. The APT version may be less recent than the Snap version.
  • You can install the AppImage
  • You can enable Flatpak on your system and install the Flatpak, which does not have the issue (but then, it has by default access to all your system files, so there goes the sandbox).
vanadium
  • 97,564