I am trying to use Inkscape for format conversion in a shell script, on a WSL (Windows Subsystem for Linux). Even the simplest command gives this error:
$ inkscape --version (inkscape:11139): Gdk-CRITICAL **: 08:13:16.337: gdk_seat_get_keyboard: assertion 'GDK_IS_SEAT (seat)' failed Inkscape 1.1.2 (0a00cf5339, 2022-02-04)
It does not seem to be a fatail error though, since it actually does print the version and then terminates properly. .
Here is what I actually want to do:
$ inkscape --export-type=dxf --export-filename foo.dxf minimal.svg (inkscape:11455): Gdk-CRITICAL **: 08:48:17.015: gdk_seat_get_keyboard: assertion 'GDK_IS_SEAT (seat)' failed
Again, it does the job and creates the file.
Am I using the tool correctly?
I don't think my WSL is set up to run GUIs. Can someone confirm that the error is related to that?
Is there anything I can do to avoid this critical error, which will show up in my logs?
Sincerely
I am trying to use Inkscape for format conversion in a shell script, on a WSL (Windows Subsystem for Linux). Even the simplest command gives this error:
$ inkscape --version
(inkscape:11139): Gdk-CRITICAL **: 08:13:16.337: gdk_seat_get_keyboard: assertion 'GDK_IS_SEAT (seat)' failed
Inkscape 1.1.2 (0a00cf5339, 2022-02-04)
It does not seem to be a fatail error though, since it actually does print the version and then terminates properly. .
Here is what I actually want to do:
$ inkscape --export-type=dxf --export-filename foo.dxf minimal.svg
(inkscape:11455): Gdk-CRITICAL **: 08:48:17.015: gdk_seat_get_keyboard: assertion 'GDK_IS_SEAT (seat)' failed
Again, it does the job and creates the file.
Am I using the tool correctly?
I don't think my WSL is set up to run GUIs. Can someone confirm that the error is related to that?
Is there anything I can do to avoid this critical error, which will show up in my logs?
Sincerely