Using select and other verbs from the shell or with -z

Post questions on how to use or achieve an effect in Inkscape.
rtega
Posts: 2
Joined: Thu Dec 12, 2013 6:54 pm

Using select and other verbs from the shell or with -z

Postby rtega » Thu Dec 12, 2013 6:59 pm

I noticed that inkscape doesn't work when used from the shell or with the -z option.

Code: Select all

inkscape boe.svg -z --select=text3134  --select=text3135  --verb=SelectionCombine --verb=FileSave --verb=FileClose


If I drop the -z option in this command it works without any problem but is very slow as it has to open the Gui, do work, and then close. Is there a solution to this or am I missing something?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Using select and other verbs from the shell or with -z

Postby ~suv » Thu Dec 12, 2013 8:34 pm

With current stable Inkscape, using verbs via command line requires the GUI (i.e. the GUI cannot be disabled, otherwise the verbs are not executed) - there is no workaround for that (except that with X11-based inkscape builds you can hide the GUI by using to a display server like e.g. Xvfb (X virtual frame buffer)).

With trunk (aka current development version), this was changed for some but not all verbs (AFAIU).

rtega
Posts: 2
Joined: Thu Dec 12, 2013 6:54 pm

Re: Using select and other verbs from the shell or with -z

Postby rtega » Thu Dec 12, 2013 10:14 pm

Thanks for the quick reply. Unfortunately most of the verbs I need don't seem to work. Are there any plans in the future to change this?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Using select and other verbs from the shell or with -z

Postby ~suv » Fri Dec 13, 2013 2:18 am



Return to “Help with using Inkscape”