7

Is it possible to enable an autosave after any operation I do in InkScape?

This would be really handy because sometimes it crashes, and pressing CTRL + S is annoying.

  • Is it really that annoying to repeat the work of one minute? How often does it crash per hour? – user unknown Dec 21 '15 at 09:34
  • @userunknown Since I posted the question Inkscape got some nice updates and got stable. It's a pleasure to use it now. :) And yes, it's annoying to repeat the work, even I do it faster than first time, but it's terrible. :D – Ionică Bizău Dec 21 '15 at 10:44

2 Answers2

15

No. You can have an autosave but it is based on an interval with a 1 minute minumum, not on an action.

  • Click on the Edit menu > Inkscape Preferences > Input/Output >
  • Check "Enable autosave".

enter image description here

By the way, in case you did not know: Inkscape does an emergency save when it crashes so you should be able to retrieve the file that was active while it crashed.

When Inkscape crashes, it tries to save the document as a backup with following name:

<filename>.<datetime>.#

If the document has not been saved yet, the name is:

inkscape-emergency.<datetime>.#

Note, that there is no .svg file name ending.

On Unix (Linux, Mac OS X, *BSD, etc.) Inkscape tries to save in the following paths:

  • Home directory (~/, $HOME, /home//)
  • /tmp/
  • In the current working directory

(in that order).

Rinzwind
  • 299,756
  • That's also fine, but would it be possible to autosave the document each 5 seconds? I know the emergency save, but for some reason it didn't work for me. – Ionică Bizău Jan 17 '15 at 18:19
  • Probably no.. 1 minute minimum :( The emergency save: I think I saw a problem with non-english versions. Yours is Iberian probably? – Rinzwind Jan 17 '15 at 18:21
  • I'm Romanian, having the Romanian keyboard layout, but the language is set to English, also the version is English... – Ionică Bizău Jan 17 '15 at 18:27
  • 1
    The auto save got introduced in 0.47. Have not found the actual part that does this in the code yet; still have a look around the tar file and the web for it (maybe it is easy to change ;) ) – Rinzwind Jan 17 '15 at 18:29
  • 1
    There is a really simple code change if you're into hacking the source.

    Given that you have the source and can build inkscape, you need to edit src/inkscape.cpp and remove the * 60 from the method Application::autosave_init().

    – stanm Jul 07 '15 at 22:39
  • It should probably be saving on action, attached to the undo. And that property option needs more information about what it's doing. – Martin Owens -doctormo- Jun 01 '16 at 15:55
  • The emergency save saved me! – KhoPhi Apr 21 '17 at 19:49
0

I'm using Inkscape 0.92 on Ubuntu 16.04 LTS and I noticed it's slightly different to Rinzwind's accepted answer.

You can find the same option by going to:

Edit -> Preferences

Then in the popup window go to:

Input/Ouput -> Autosave

enter image description here

CoalaWeb
  • 3,195