--verb actions not possible in --shell mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
For gnome-icon-theme I had written a script that executes inkscape in --shell mode, and then renders all the icons with this instance into PNG files. This is working great, however, we also wanted this faster method for gnome-icon-
Now, here is the issue. The current script runs the following inkscape command:
inkscape -f #{icon[:file]} --select #{icon[:id]} --verb=
Most of these can be done with --verb (deleting by modifying the xml, and the reset with non --verb commands in inkscape). However, the StrokeToPath (and FitCanvasToSele
I have though of different solutions, but all seem to not work (properly):
1. Starting one inkscape instance with the command line repeated for the different icons (this causes multiple windows to open up)
2. Use an extension to save/load a document. This does not work because --verb cannot execute extensions (and would be problematic because one would need to load an extension outside $HOME likely)
3. Remote controlling inkscape using a11y methods. I have not looked into this closer as the a11y stack currently crashes here.
No idea what a good solution might look like. I guess that a way to close the a file, and open a new file in between other --verb options, might work pretty well.
tags: | added: cli |
Changed in inkscape: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Verbs have been removed in favor of actions in Inkscape 1.2.
Closed by https:/ /gitlab. com/jhofinger