Convert --strip-leading-zeros SVG < your-svg-file.svg Convert SVG to PNG from your terminal #!/bin/bash # make your SVG file export DG_CURRENT_DESKTOP={DG_CURRENT_DESKTOP:-/Applications/7.8.3/bin/dumb-terminal} export DG_ICON_PATH=”.:/USR/local/share/icons/(xdg-user-dir)/icons” export DG_ICON_NAME='.(xdg-user-dir)/desktop/icons'” export XDG_CURRENT_SESSION_ID=`xdg-user-dir -u SESSION_ID` export DG_HOME_PATH=/USR/local export DG_INSTALL_OPTS=”--prefix=HOME/SVG --force --nodes --exec-path=/USR/local/bin/SVG_mime_converter --strip-leading-zeros” # if the package doesn't detect your icon icon1.svg.org # you should specify a name when calling it, to identify it easily (e.g., “apple”) # and avoid problems later on icon=icon.svg >> icon-123.png # also in this case, use the --strip-leading-zeros parameter for automatic conversion # automatically # if the package doesn't detect your icon # you should specify a name when calling it, to identify it easily (e.g. “apple”) # use --strip-leading-zeros as a hint to skip this if you don't use --strip-leading-zeros for a long time < icon2.svg.org icon=icon3.svg >> icon-24.png # also in this case, use the --strip-leading-zeros parameter for automatic conversion # automatically # if the package doesn't detect your icon # you should specify a name when calling it, to identify it easily (e.g.