Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature request
#1
From my limited experience so far, gimp overwrites the on disk file as soon as it begins the export process, resulting in an empty file for the length of the export. I would prefer it to only delete the on disk file once the export process has completed. If there already exists a way to change this behavior I would welcome the information.
Reply
#2
CorelDraw used to do that too and it often resulted in broken files.
Reply
#3
No Gimp developers on this forum. The place for feature requests is https://gitlab.gnome.org/GNOME/gimp/-/issues

No setting that I know of. An automatic backup at timed intervals has been requested and might be in Gimp 3 (sometime)

There is a plugin that will make incremental backups in case of accidents. I know - not what you are requesting Wink
Reply
#4
This plugin that does backups at 10 min intervals has been working for me:
https://gist.github.com/rbrito/e57c87d53...utosave-py
Just stick the gimp-autosave.py file in this folder:
C:\Users\(your user folder)\AppData\Roaming\GIMP\2.10\plug-ins
It saves the backups to the Temp file.
Reply
#5
(04-07-2021, 09:03 PM)Beachscriber Wrote: This plugin that does backups at 10 min intervals has been working for me:
https://gist.github.com/rbrito/e57c87d53...utosave-py
Just stick the gimp-autosave.py file in this folder:
C:\Users\(your user folder)\AppData\Roaming\GIMP\2.10\plug-ins
It saves the backups to the Temp file.

Thanks for the link, sounds like just the thing I needed.
Reply
#6
(04-07-2021, 09:03 PM)Beachscriber Wrote: This plugin that does backups at 10 min intervals has been working for me:
https://gist.github.com/rbrito/e57c87d53...utosave-py
Just stick the gimp-autosave.py file in this folder:
C:\Users\(your user folder)\AppData\Roaming\GIMP\2.10\plug-ins
It saves the backups to the Temp file.

This doesn't work in 2.10.32. There are two plugin folders, one in c:\program files\GIMP 2\lib\gimp\2.0\plug-ins and the other in the %user id% one. Both of those folders were set in edit>preferences>folders>plug-ins. I made the autosave file executable. I tried the .py file in both. I even deleted the pluginrc file to let Gimp regenerate it. Nothing.

Any suggestions about how to get it to work?
Reply
#7
Quote:This doesn't work in 2.10.32.

yes, it does work

Quote:There are two plugin folders, one in c:\program files\GIMP 2\lib\gimp\2.0\plug-ins and the other in the %user id% one. Both of those folders were set in edit>preferences>folders>plug-ins.

Never a good idea to keep duplicate plugins although the plugin in the User plugins folder will supercede the Gimp system plugin

Quote:I made the autosave file executable. I tried the .py file in both. I even deleted the pluginrc file to let Gimp regenerate it. Nothing.

Since you are using Windows, it is not necessary to make a plugin 'executable' Anything file.exe (+ any associated .dll files) or file.py goes in the plugins folder, usually  C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins

Quote:Any suggestions about how to get it to work?

First of all check the plugin script. If you have the line numbers down the left side you need the RAW version.
https://gist.github.com/rbrito/e57c87d53...utosave.py

It is as described, a bit of a hack. If you want to change the save interval you need to edit the script.

The plugin starts from bottom of the File menu File -> Activate Autosave and in Windows there is no message that it has started. Also no way that I can see to stop it.

Where does it put the saved file(s): 
For Windows C:\Users\"yourname"\AppData\Local\Temp  
For linux usr/tmp

This plugin does not make separate incremental saves, Any open image is saved and will overwrite the previous save, but that might be enough to restore your lost work.

Really it is up to the user to save their work as they go along

However, a 3 minute demo of the plugin in action Win 10 / Gimp 2.10.32 https://youtu.be/CE0-gay3dcw



Reply
#8
(01-10-2023, 11:49 AM)rich2005 Wrote:
Quote:This doesn't work in 2.10.32.
Quote:yes, it does work

Still doesn't.

Quote:There are two plugin folders, one in c:\program files\GIMP 2\lib\gimp\2.0\plug-ins and the other in the %user id% one. Both of those folders were set in edit>preferences>folders>plug-ins.

Quote:Never a good idea to keep duplicate plugins although the plugin in the User plugins folder will supercede the Gimp system plugin


I currently have it only in the user plug-in folder. Doesn't work.

Quote:I made the autosave file executable. I tried the .py file in both. I even deleted the pluginrc file to let Gimp regenerate it. Nothing.

Quote:Since you are using Windows, it is not necessary to make a plugin 'executable' Anything file.exe (+ any associated .dll files) or file.py goes in the plugins folder, usually  C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins

The is where it is.

Quote:Any suggestions about how to get it to work?

Quote:First of all check the plugin script. If you have the line numbers down the left side you need the RAW version.
https://gist.github.com/rbrito/e57c87d53...utosave.py

I am using the "raw" version.


Quote:It is as described, a bit of a hack. If you want to change the save interval you need to edit the script.

The plugin starts from bottom of the File menu File -> Activate Autosave and in Windows there is no message that it has started. Also no way that I can see to stop it.

There is nothing at the bottom of the File menu list. I looked at the video and everything on my system looks the same. It still doesn't work.

Any suggestions?
Reply
#9
Can't help you, only you know what you are going wrong. 

That is a python plugin, do you have other python plugins that work ?  There is a stock python plugin that comes with Gimp.  Filters -> Decor -> Fog Does that work ? Remember you do need an open image for plugins to work.


Attached Files
.zip   autosave_a.zip (Size: 12.25 KB / Downloads: 46)
Reply
#10
(01-10-2023, 06:36 PM)rich2005 Wrote: Can't help you, only you know what you are going wrong. 

That is a python plugin, do you have other python plugins that work ?  There is a stock python plugin that comes with Gimp.  Filters -> Decor -> Fog Does that work ? Remember you do need an open image for plugins to work.

Your python comment made me think a bit. When I first installed Gimp, I noticed that there was a Python choice for plug-ins but never gave that option a second thought. I went back and reinstalled Gimp (saving my customizations files) and saw that the Python choice was not checked. I ticked it and continued.

Now the plug-in works. Thanks for jogging my memory.
Reply


Forum Jump: