How do I change the default 'Save as type' selection.

Post questions on how to use or achieve an effect in Inkscape.
TokyoDan
Posts: 2
Joined: Thu Nov 12, 2015 11:31 am

How do I change the default 'Save as type' selection.

Postby TokyoDan » Sun Jan 17, 2016 4:06 pm

How do I change the default 'Save as type' selection.

In Inkscape I need to open and save a whole lot of SVG files that were created in another SVG editor. I need to save them as Optimized SVG. The default Save as type is Inkscape SVG, which is 1st in the drop-down list. But I'd like to do this without having to chose Save as->Save as type-> and look in that drop-down list to find and click on Optimized SVG every time.

How can I move optimized SVG to the top of that drop-down list so it is the default selection?

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: How do I change the default 'Save as type' selection.

Postby Polygon » Sun Jan 17, 2016 8:43 pm

Here at least under MacOSX Inkscape remembers the last saved option - but will ask when you overwrite the existing file - you try to replace it.

Cheers
P.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: How do I change the default 'Save as type' selection.

Postby Moini » Sun Jan 17, 2016 9:51 pm

If this is about converting a batch of files, you might like to use the commandline for this, to get it done quickly.

I wasn't able to find the extension that does optimizing available for Inkscape's command line options, though (I believe it should have been available as org.inkscape.output.scour - but wasn't in the verb list for some reason).

But: The extension that does the saving in Inkscape (yes, it is an extension, even if it works from the save dialog) uses scour, which is a python program that does the actual cleanup.
Scour is available as a standalone program: http://codedread.com/scour/ - so if there are lots of files you want to optimize, this would be a fast way to do it.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tm america
Posts: 6
Joined: Tue Sep 15, 2015 2:26 pm

Re: How do I change the default 'Save as type' selection.

Postby tm america » Sun Feb 14, 2016 3:42 am

I am needing help with this as well.. I save my files as dxf14 and need to do so on all of them i create is there a way to make this change invthe default side of things?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How do I change the default 'Save as type' selection.

Postby brynn » Sun Feb 14, 2016 7:55 pm

So you mean when you click Save As, you want DXF to always be the Save as Type value?

Unless you mean for a batch kind of job, as Moini suggested above, there's no way to do that.

I suppose, if you wanted it bad enough, for a new feature request, there might be a way for the Save As Type field to automatically offer the last format/extension that was saved. So that once you save one DXF file, then next time you go to Save As, it will offer DXF. However, I'm not a programmer and I have no idea if that's possible. It seems reasonable, but I really don't know.

If you wanted it bad enough, you could ask developers on the mailing list or IRC channel, if it's possible. https://inkscape.org/en/community/mailing-lists/
https://inkscape.org/en/community/discussion/

But even if it is, and you submit a feature request, who knows how long before a developer decides to do the work. (That's why I say "if you wanted it bad enough ;))


Return to “Help with using Inkscape”