Inkscape file paths are relative to home folder | pressku.com

Trending 3 months ago

I person installed inkscape connected Ubuntu 20.04.

The type of inkscape is

inkscape -V Gtk-Message: 20:38:33.029: Failed to load module "canberra-gtk-module" Gtk-Message: 20:38:33.030: Failed to load module "canberra-gtk-module" Inkscape 1.3.2 (9e3d6414e7, 2024-01-14, custom)

I want to person an svg record into png. The problem is erstwhile I springiness a comparative way to inkscape, alternatively of interpreting nan way arsenic relative, it is interpreted arsenic comparative to nan location folder:

inkscape ./mydrawing.svg --export-area-drawing --batch-process --export-type=pdf

gives

Gtk-Message: 20:42:58.054: Failed to load module "canberra-gtk-module" Gtk-Message: 20:42:58.056: Failed to load module "canberra-gtk-module" ** (org.inkscape.Inkscape:175089): WARNING **: 20:42:58.388: Can't unfastened file: /home/myhome/mydrawing.svg (doesn't exist) ** (org.inkscape.Inkscape:175089): WARNING **: 20:42:58.388: Can't unfastened file: /home/myhome/mydrawing.svg (doesn't exist) ink_file_open: '/home/myhome/mydrawing.svg' cannot beryllium opened! InkscapeApplication::document_open: Failed to open: /home/myhome/mydrawing.svg ConcreteInkscapeApplication::on_open: grounded to create document!

hence, it cannot unfastened nan file.

Regarding to nan error:

Failed to load module "canberra-gtk-module"

I tried these solution

sudo apt-get instal libcanberra-gtk-module:i386 sudo apt instal -s --reinstall libcanberra-gtk-module sudo apt instal libcanberra-gtk-module libcanberra-gtk3-module

as good arsenic each solutions provided astatine this mobility and nary of them worked. I americium not judge if this informing is causing this problem.

More
close