Add "quiet" option to command line version of Inkscape

Bug #437366 reported by Benjamin Drung
50
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Wishlist
Unassigned
Nominated for 0.91.x by Ruud van Eeghem
inkscape (Debian)
Confirmed
Unknown
inkscape (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: inkscape

When running inkscape with a command like "cat foo.svg | inkscape --without-gui -f /dev/stdin -e /home/skipper/Desktop/foo.png", it will output following:

** (inkscape:2996): WARNING **: Format autodetect failed. The file is being opened as SVG.
Background RRGGBBAA: ffffff00
Area 0:0:16:16 exported to 16 x 16 pixels (90 dpi)
Bitmap saved as: /home/skipper/Desktop/gnome-colors/gnome-brave/16x16/places/folder-documents.png

These are all information I do not want to see, because the command is part of a script. There should be an option to suppress all these output.

ProblemType: Bug
Architecture: amd64
Date: Sat Sep 26 22:53:58 2009
DistroRelease: Ubuntu 9.10
Package: inkscape 0.47~pre1-0ubuntu2
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: inkscape
Uname: Linux 2.6.31-11-generic x86_64

Tags: cli apport-bug
Revision history for this message
Benjamin Drung (bdrung) wrote :
Changed in inkscape (Ubuntu):
importance: Undecided → Wishlist
summary: - inkscape is too verbose
+ Add "quiet" option to command line version of Inkscape
Changed in inkscape:
importance: Undecided → Wishlist
tags: removed: amd64
tags: added: cli
Changed in inkscape (Ubuntu):
status: New → Confirmed
Changed in inkscape:
status: New → Confirmed
Changed in inkscape (Debian):
status: Unknown → Confirmed
Changed in inkscape:
status: Confirmed → Triaged
Changed in inkscape (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Pander (pander) wrote :

Has this been fixed meanwhile?

Revision history for this message
Jacob Scheib (jrscheib) wrote :

If you modify your preferences.xml (http://wiki.inkscape.org/wiki/index.php/Preferences_subsystem) to <group
 id="svgoutput"
 usenamedcolors="0"
 numericprecision="2"
 minimumexponent="-2"
 inlineattrs="0"
 indent="0"
 pathstring_format="2"
 forcerepeatcommands="0"
 incorrect_attributes_warn="0"
 incorrect_attributes_remove="0"
 incorrect_style_properties_warn="0"
 incorrect_style_properties_remove="0"
 style_defaults_warn="0"
 style_defaults_remove="0"
 check_on_reading="0"
 check_on_editing="0"
 check_on_writing="0"
 sort_attributes="0" />
this will suppress the warnings in the command line. Ones to note are the _warn attributes. This can also be done in the GUI, but GUI uses ENV variables and command-line does not.

Revision history for this message
Lebostein (lebostein) wrote :

Any news after 12 years?
It is possible to use the command line inkscape without any output (quiet)?
In my case inkscape prints while exporting:

>> Exporting only object with id="layer2"; all other objects hidden.
>> Background RRGGBBAA: ffffff00
>> Area 0:0:448:328 exported to 448 x 328 pixels (96 dpi)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.