Hi
In GIMP's Preferences->Folders there are 2 options to let the user set the temp folder and the swap folder. Obviously, setting those to your somewhere on your USB stick is not a good idea in terms of speed. Ideally, this should be the temp folder in the local filesystem, like C:\WINDOWS\TEMP or C:\WINNT\TEMP or even the temp folder within the user profile. Since this may change from one computer to another, the best option would be to specify in GIMP that you want to use the %temp% folder (%temp% is a windows system variable that always points to the user's temp folder). However, specifying %temp% in those GIMP fields yields an error on startup.
Would there be any possibility for the portable launcher (GIMPPortable.exe) to handle this?
It could have an option to let the user choose the temp folders for GIMP, and allowing %temp% would be great.
Any thoughts?
You are here
GIMPL and temporal folder
      July 14, 2007 - 9:58am
                
    
    
        
    #1
  
          GIMPL and temporal folder        
      
       
      
 Visit the Community page
 Visit the Community page Join our forums
 Join our forums Subscribe to our email newsletter
 Subscribe to our email newsletter Subscribe with RSS
 Subscribe with RSS Follow us on BlueSky
 Follow us on BlueSky Follow us on Facebook
 Follow us on Facebook Follow us on LinkedIn
 Follow us on LinkedIn Follow us on Mastodon
 Follow us on Mastodon
of that. So the temp folder is always:
GIMPPortable\Data\settings\tmp
“Science is the belief in the ignorance of the experts” - Richard P. Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Ok, but that folder is *still* pointing to the removable/portable drive.
That's what I want to avoid.
What I tried to say in my first post is that I'd like the GIMP temp folder to be in the *local* (fixed) drive of any machine where I plug my USB stick. Since different machines (with different operating systems) use different folder names, the ideal situation would be to use the %temp% system variable (which exists in any Windows machine) as the GIMP temp folder.
I guess the GIMPPortable.ini could have an option like:
setGIMPtemp2WINtemp=1
(set GIMP temp folder to Windows temp folder, for example)
If that option is enabled, GIMPortable.exe should find out what directory the %temp% variable is pointing to in that particular machine and finally set the GIMP temporal folders to the previously retrieved folder.
In theory it is quite straightforward, any thoughts?
It will never be the default setting, since there are privacy implications (you'd be leaving bits of your images on every PC you use... deleted files can be undeleted). To add it as an option would probably be an INI switch. I'll consider it for the next release.
Sometimes, the impossible can become possible, if you're awesome!
Sure, I never thought that should be the default setting, but an option in the INI would be greatly appreciated.
Thanks for considering!
could somebody please tell me how to make current gimp portable work with windows %temp%? it really is urgent because i'm travelling, using gimp (on different computers) from cd and thus cannot edit large images. thx a lot!
ps: and please do not tell me to use an usb-stick instead of a cd.^^
When gimp is pointed to the temp folder on the cd, it cannot use the temp folder because of it being a cd.
On a thumb drive, GIMP is able to save to the temp folder, but it is trying to run through the small hole that all thumb drives seem to have. This makes it run a little slower.
Am I getting this right?
right, but i found a better alternative.
to clean the generated gimp-folders i created winapp2.ini with following content and put it in ccleaner portable-dir.
Sounds like that would work. The only possible problem would be CCleaner deleting other temp files that the computer's owner might want.
Another solution would be to use the Portidy Portable that is in beta [or was it alpha?].
EDIT: Here is Portidy's link: https://portableapps.com/node/9851. And, it is in beta.
portidy seems to become a very nice app but unfortunately (right now) it does not work from cd (i changed folder-settings to %tempdir%). furthermore i did not find a gimp-appini and i do think that it will not work with my skype portable.
anyway aljacom's gimp portable 2.4.1 does work perfectly from cd and ccleaner is enough security for the moment.^^