Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-23-2016, 06:26 AM   #1
Registered: Sep 2016
Location: Webster MA USA
Posts: 241

Rep: Reputation: Disabled
A GIMP question that...

...according to what comes up for me on Google, has not been asked since 2010

And the answers then were for GIMP Windows, which, had I never used it myself, I would put in the same category as 70's punk on CD: an abomination.

So on to the question:

Does anyone know, short of building your GIMP from scratch, how to set its default save location? I have a directory in ~/Pictures called "gimpfiles" that my own install of GIMP sees as if it were a default folder after I've saved to it twice or thrice.

I have no LAN set up, and I'm not on any VPN. Is this one of those things where what you don't have (costing money) is worse than what you do have (an open-source free OS and a great image manipulator, likewise)?

I sure hope not.

Old 12-23-2016, 11:40 AM   #2
Senior Member
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,438

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386

You know, that's a damned good question. I searched here, there, GIMP manual, etc for the last 45 minutes and could not find anything about setting up a default save folder.

I'll be watching this thread. My guess is that this is going to require some sort of script to achieve.

Old 12-23-2016, 01:29 PM   #3
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,354
Blog Entries: 13

Rep: Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411
I don't see any settings, however I think there are a few options.

The first one is a possibility which I myself would not explore, it is to try using Gimp's theme capability. I have no idea if this is just style and view of the tool or other items, versus actual application settings. Low confidence from me on this one.

The second one is use of the application case, more applicable, as well as having been tested by me:
  1. When you first enter Gimp, you can do a New image file, this is just a new image file, not saved anywhere. Gimp actually uses the defined temp directory (shown in your Preferences) for interim saving of this file. (And note that this is not a destination for saving files, it is merely Gimp's scratch location for unsaved files, which you can actually configure in the Preferences)
  2. You can perform a Save or Save As action, the result is the same because the file has no name, thus Gimp will allow you to name your file and locate it in a directory of your choosing.
  3. Then exit Gimp:
    1. Upon re-entering I've seen that if you go to Open a file, it will use the same directory where you last saved a file. (I tested this exactly once)
    2. If instead you create a New image file and then later go to Save it, Gimp will go to it's default directory; however in the left side of the Save/Save As window, you'll see Places where you should have a Recently Used link which brings you to your list of recently used directories, thus allowing you to re-select the former destination directory more rapidly.
    3. The next part of this is that you can drag the destination directory as shown from the Recently Used list into your Places bar and add it to your Places list. This paradigm is a bit flawed because sorting of the Places is seemingly not allowed and also removal of items from the Places list is not allowed, with the exception of recently used places you have added. Gimp appears to sort the list of Recently Used Places however it sorts by default.
Although this is not precisely what you wanted, it may offer you an interim solution where you don't have to rebuild gimp.

As far as themes, I genuinely feel that this option is potentially a bottomless pit of frustration. Anytime I've messed with playing with themes it's complex and beyond my tolerance. Fact is if it's really important I web search and may find someone or some one's who have done things like custom themes, and hope they provide an example, copy that verbatim, see the result, and then try to tweak it, finally leaving it alone if I succeed. I don't prefer this because I would have "landed" on a solution, by chance and there's little chance that I'll be able to replicate it in the far future. Note that I have low confidence that they have specifically added any attribute about the default save location to the theme concept. Instead theme seems more to be how someone tunes the "look" of the application.

Another thing I should note is that under Edit->Preferences there is a preference category called Tool Options and in my initial exploration of Gimp preferences I choose to say Save tool options on exit. I do not know if that does or doesn't do anything I selected it before I started this testing and left it that way. This may have impacted the situation where I saved to a directory, exited, and upon re-entering Gimp when I did a File->Open action it went to that former Save To directory automatically.

Next to note is I did run Mint Cinnamon 18.1 Serena, just grabbed today, and my version of Gimp is 2.8.16.

Last edited by rtmistler; 12-23-2016 at 01:30 PM.
1 members found this post helpful.
Old 12-23-2016, 03:25 PM   #4
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,649
Blog Entries: 11

Rep: Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685
I think that rtmistler has summarized the options pretty well.

I had not ever considered the question before as the "default to last used location" paradigm suits my own organizing and work habits pretty well for most applications.

As rtmistler says, in the file dialog left pane, Places, there are three sections separated by a horizontal bar and you can drag directories from the right pane into the left pane, where it will be added to the bottom section.

The only thing that I will add is that you can in fact, order the items in the bottom section by dragging them around, so that you can put your Gimp directory near the top if it is a long list. You can also delete items from the bottom section (right click or use the +/- arrows below the Places list).

The file dialog is a common GTK widget so you may be able to find more insight searching for "GTK file dialog" rather than limiting your question specifically to the Gimp implementation.

Hope this helps.

Last edited by astrogeek; 12-23-2016 at 03:37 PM. Reason: Added delete functionality
1 members found this post helpful.
Old 12-24-2016, 09:10 AM   #5
Registered: Dec 2016
Posts: 61

Rep: Reputation: 18
Not just Gimp!

Audacity (2.0.5) on my OS X also doesn't have a straight-forward way to set up a default save least none that I've found. I think it counts on the OS remembering the last folder used. It used to work that way, but the last upgrade (or two) lost that behavior. Working through many mp3 files now involves a couple extra clicks when opening or saving.
Old 12-24-2016, 12:32 PM   #6
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Probably not what you're looking for, but IME the default is the PWD aka primary working directory. If you launch it from the command line in a path, that is the path it saves to. Although audacity seemed to have a memory and kept it's last saved location as the default. I couldn't find an option in the procedure browser in gimp, so that's probably as good as it gets. Perhaps the "menu" item could be changed to something like $(cd ~/default/gimp/location/ && gimp) instead of just $(gimp). Or maybe there's an environment variable? Although I don't know much about the inner workings of GTK to help you there.
Old 12-24-2016, 02:37 PM   #7
Registered: Sep 2016
Location: Webster MA USA
Posts: 241

Original Poster
Rep: Reputation: Disabled
Originally Posted by rtmistler
}As far as themes, I genuinely feel that this option is potentially a bottomless pit of frustration.
Thank the gods I didn't mention themes, then. I doubt I've brought up (whatever you like) to do with that word in any of my posts so far.

I'm trying rmtmislter's suggestions, As for Audacity for OS X, I don't have the problem dlb101010 talked about. But I am annoyed with the Linux versions' consistently adding an aif extension on any file I export when the settings at the bottom of the Save dialog are already set for saving as mp3.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: GIMP Painter And GIMP Paint Studio Transform GIMP Into The Ultimate Painting Tool LXer Syndicated Linux News 0 02-08-2011 05:40 PM
A Question about Gimp jolphil Linux - Software 8 02-29-2008 11:09 AM
GIMP question Beju Linux - Newbie 2 06-09-2005 12:56 PM
Gimp Question mykrob Linux - Software 4 08-07-2004 05:20 PM
GIMP question objorkum Linux - Software 5 01-08-2004 07:31 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration