← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 437366] Re: Add "quiet" option to command line version of Inkscape

 

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.

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to inkscape in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/437366

Title:
  Add "quiet" option to command line version of Inkscape

Status in Inkscape:
  Triaged
Status in inkscape package in Ubuntu:
  Triaged
Status in inkscape package in Debian:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/437366/+subscriptions