Linux - SoftwareThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was wondering if anyone could help me with this problem. I want The GIMP to show a splash screen when I launch it, which it's supposed to do automatically, but for some reason mine doesn't.
When I do gimp --verbose, I get the following messages:
The problem is that there is a file called gimp-splash.png at all of those locations. It is a valid picture file which I can easily open inside the program, so I know it isn't a problem with the png libraries or anything like that.
So, how can I get the GIMP to find and load the file that it says it can't find, even though it's looking in exactly the correct place?
a few things
what operating system is this ?
and HOW was gimp installed ?
i have been building the source for 14 years and use a source install MOST users should use what is in there OS's repo
most distros have a DISTRO specific THEME
opensuse has a SUSE themed and a UPSTREAM themed version
also what version is it ?
the current 2.8.14 ?
from your post it looks like the rather OLD 2.6 version
Gimp 2.6.0 is from 2008 and is 7 YEARS out of date
and the very last of the old 2.6 was 2.6.12
2.6.11 was released in Oct. of 2010 5 years ago!!!
2.6.12 and that was released in Jan of 2012 3 years ago!!!
In my case I have the splash images on my /usr/share/gimp/images , if you put an .png file named with gimp-splash.png the splash screen can work or you can customize the splash-screen directly on your /home user create a splashes directory on your personal GIMP folder /home/user_name/.gimp
You may have clicked something at first launch. If you haven't done much in terms of customizations, you could remove the ~/.gimp-2.8 directory and contents and it should resort to system defaults, which should include the splash screen.
$ mv .gimp-2.8 .timp-2.8
or
$ rm -rf .gimp-2.8
Or whatever version / variant applies for your system. Assuming that your distros defaults include the splash screen. That splash image is in gimp-data on debian. It looks like ~/.gimp-2.8/gimp-splash.png is another option if that is the image you want as the splash or a link to one.
Okay. I know my username is SUSESailor, but this system happens to be Slackware. I was using the 2.6.11 that originally came with the Slackware 14.0 on this system, but I went ahead and upgraded to the 2.8.2 which was later provided as an update. Neither version loads a splash screen.
I am using the package provided by Slackware, but that's only because I can't get any version of The GIMP to compile successfully from source on this computer. I always get errors on gimpstock.c and it won't finish compiling.
Seeing as how it says it's trying to load the file and failing tells me that it is not a problem with the directories of where the splash screens are located. It simply will not load the picture for some reason.
I was thinking that maybe compiling it locally would fix the problem, but as I stated that doesn't work either.
I tried the suggestion of wiping out the .gimp-2.8 directory and launching the program, but still no splash screen.
There is a file named gimp-splash.png in all of the locations it's looking in, and I can open them and edit them in the program, so I know it can load them.
Is there some tool that The GIMP uses to load the splash screen before the program is fully loaded? Like some other library or renderer that might not be installed? I remember when I first installed this system I was pretty stingy when it came to installing extra libraries and applications that I didn't think I'd need. Maybe one of those things that I didn't install is what handles the pre-loading of the splash screen.
Looking at the gimp source, gimpstock.c is in libgimpwidgets. Although in debian. The libgimp2.0 and libgimp2.0-dev might be missing. Or whatever the equivalent package names are in slackware. I have a 14.1 slack install archived off this machine atm. If there is a tool for the png splash image, it's probably the same one that it uses to edit it, so that's not likely to be missing. But if it is, then it's probably libpng12-0 or something similar. The gimpstock.c seems to be dependent on gtk and libgimp, perhaps you're missing one of those, or the -dev part of those.
For missing sources, approximate package names might be:
libgtk-dev
libgimp-dev
For missing parts of the packaged gimp the names might be:
libgimp
libpng
Plus or minus version numbers depending on how your distro packages things. Just guesses, hopefully something works. For the sources, take note of the first *error* as warnings don't prevent things from compiling in most cases. Most errors seem to be not installed includes, or enabled features that your system isn't setup to have, which is basically also not installed includes.
Well, it's hard to see the first error because it scrolls through pages and pages of them before it stops. Basically, it's like every line in the the gimpstock.c file causes an error.
I think the problem is outside of The GIMP, because I was just trying to compile another program, and it was erroring out on a portion of code that loads a graphic, just like GIMP's splash screen.
When I first began researching this problem, someone said somewhere that it was a problem with gdk-pixbuf. So, to solve that I recompiled gdk-pixbuf locally. I started getting different errors in other places, so I went back to the default Slackware binary package.
Last edited by SUSESailor; 07-28-2015 at 12:36 PM.
Reason: Clarify some information.
When I recompiled gdk-pixbuf before, I just used the same version that originally came with the Slackware 14.0, which was 2.24.1. Apparently that version has something wrong with it, because when I downloaded and compiled 2.24.5 this morning, it worked. The GIMP now loads the splash screen, and I also recompiled the other program that was complaining, and it works fine now too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.