Inkscape on Ubuntu works properly. However, if I try to open a .svg
that is located on another partition, I get an error:
Failed to load the requested file /media/path/to/file.svg
Any idea what causes the problem and how to solve it?
Bad walkaround: I copy the file on the main partition of the OS and I work with it. After I copy it back. This solution messes up a bit the git repo I have and it is time-consuming.
It would appear you've installed the snap version of inkscape which has no ability to use the removeable-media plugin so you're restricted to only opening files in $HOME. To check run this
If so either continue as you're presently doing if wanting to use the snap version, use the snap edge version or install the .deb version which has no restrictions.
The edge (dev) snap can be connected to removeable media though isn't by default. Maybe at some point the stable version will also get that possibility.. To do that,
Then connect to plugin
snap connect inkscape:removable-media
For the .deb version just,
You can keep both versions or remove the snap. The snap version is shown as Inkscape, the .deb as Inkscape Vector Graphics Editor though from context menu both are just inkscape..