LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-23-2008, 01:49 AM   #1
taurusx5
Member
 
Registered: Jan 2008
Posts: 424

Rep: Reputation: 30
I Can't Load Gimp - I Get This Error...


I got ubuntu 8.04 and when I reinstalled Gimp, I get the following error message:


It appears that you are using GIMP for the first time. GIMP will now create a folder named '/root/.gimp-2.4' and copy some files to it.

Creating folder '/root/.gimp-2.4'...
Copying file '/root/.gimp-2.4/gtkrc' from '/etc/gimp/2.0/gtkrc'...
Could not open '/etc/gimp/2.0/gtkrc' for reading: No such file or directory



What must I do?

.
 
Old 09-23-2008, 03:28 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
From the error message it looks like some files are missing. I run the same version of Ubuntu, and I have gimp installed. This file does exist for me.
I checked to see what package owns this file using the dpkg command:
Code:
dpkg -S /etc/gimp/2.0/gtkrc
This command told me that the specified file is owned by the package "gimp-data". Maybe you don't have this package installed?

If you don't have this installed, it's weird - your package manager should pull it in automatically when you install the main gimp package. How did you install gimp?

Oh, once we've got the problem sorted out, I have a short lecture for you about running as root. Remind me later.

Last edited by matthewg42; 09-23-2008 at 03:29 AM.
 
Old 09-23-2008, 04:38 AM   #3
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
That's probably the root (pun intended) of the problem: as you shouldn't run the setup as root in this fashion of course there is no gimp directory in /root.

The package manager should be able to install a new version of gimp if you run the package manager providing your user password when prompted instead of becoming root; or in other words:

Code:
sudo apt-get install gimp
You might want to add the --reinstall option if your previous gimp needs replacing.

Robin
 
Old 09-23-2008, 10:52 AM   #4
taurusx5
Member
 
Registered: Jan 2008
Posts: 424

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by matthewg42 View Post
From the error message it looks like some files are missing. I run the same version of Ubuntu, and I have gimp installed. This file does exist for me.
I checked to see what package owns this file using the dpkg command:
Code:
dpkg -S /etc/gimp/2.0/gtkrc
This command told me that the specified file is owned by the package "gimp-data". Maybe you don't have this package installed?

If you don't have this installed, it's weird - your package manager should pull it in automatically when you install the main gimp package. How did you install gimp?

Oh, once we've got the problem sorted out, I have a short lecture for you about running as root. Remind me later.
Hi, Matt... Nice talking to you again. First off, gimp-data is installed. Secondly, I am now able to run Gimp from the menu. However, when I do run it, I get this error message:

Failed to open file '/etc/gimp/2.0/controllerrc': open() failed: No such file or directory

FInally, when I do try to snap a screenshot of my desktop through File > Acquire > Screenshot, the whole program closes.


Hopefully you guys can help.... thanks!

.
 
Old 09-23-2008, 11:11 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Does /etc/gimp/2.0/controllerrc exist?

If you find that some of the files are missing, you might want to verify all the files in the gimp-data package. ou can do that like this (in a terminal):

Code:
dpkg --listfiles gimp-data |xargs ls > /dev/null
If there is no output, then there are no missing files in the gimp-data package. You might also want to do this just to verify that the file which is not found is in fact owned by this package:
Code:
dpkg --listfiles gimp-data
One last thing, just to see if we are using the same version of the packages - please post the output of this command:
Code:
aptitude show gimp gimp-data
 
  


Reply


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
Gimp will not load! ningbojoe Mandriva 2 01-05-2007 01:47 AM
gimp error korotania Linux - Software 1 11-26-2005 02:44 AM
error with gimp vivek_nz76 Fedora 1 04-16-2005 05:10 AM
Gimp 2.0 Error LinuxBlackBox Linux - Software 3 04-23-2004 05:27 PM
Can I load GIMP in english ? (only gimp) Dark Carnival Linux - Software 4 09-17-2003 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:22 AM.

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