SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Unable to open a test swap file. To avoid data loss please check the location and permissions of the swap directory defined in your Preferences (currently "/tmp/.gimp-2.2").
The only problem that there could be is, perhaps, the sticky bit, whose meaning I never fully realized. But no cli program or GUI program has ever had an issue with the /tmp directory. If, in File>Preferences>Folders I change the swap path to ~/.gimp-2.2/swap and create that directory then gimp does not complain at start up. Can somebody explain?
1. You need to go into your tmp (as root) and remove the old directory, there will be one and it wont be owned by your user account.
2. The sticky bit on the tmp directory means that whoever creates a file or directory can delete it but no one else can touch it (hence it's usage on tmp and your current problem)
3. The usage of /tmp/program-version is a bad idea for what gimp is trying to do so your better off changing it to your home directory.
Gimp needs two directories, a temporary directory and a swap directory, as I see. Up to now those dirs were ~/.gimp-2.2/tmp and /tmp/.gimp-2.2. I mkdired ~/.gimp-2.2/swap and told gimp to use this dir as swap dir.
@John VV: No, this is slackware 12.0. When I ran gimp for the first time I was a regular user, not root, and however it setup the swap dir to /tmp/.gimp-2.2.
@wildwizard:
Quote:
1. You need to go into your tmp (as root) and remove the old directory, there will be one and it wont be owned by your user account.
If I remove /tmp and recreate it as root, it will be owned by root.
Quote:
2. The sticky bit on the tmp directory means that whoever creates a file or directory can delete it but no one else can touch it (hence it's usage on tmp and your current problem)
Thanks for this explanation. But then, why couldn't gimp create its swap dir in /tmp/, when it has write permissions for everybody? And why is it a bad idea to use /tmp for the swap dir?
the reason i thought that it was a old version of RHEL5 ( or a os like it)
is that Gimp2.2 is old , VERY OLD .
and 2.2 is in the old rhel5 repo
the current version is gimp-2.8
so Slackware
how did you install the old 2.2 version ?
if from source , then it will not build in gcc 4.7 ( the old libpng issue with png12 )
gcc 3.4 ( or 4.1 - with some hacking) is going to be needed
or
is this a old slack prebuilt binary on the current Slack?
PS.
most ( almost ALL) new plugins for ginp 2.4 ,2.6 , and 2.8 will not run on 2.2 .
A thought ?
is /tmp it's OWN partition????
if so that might be a issue with the read / write
if so , then
edit HOW the partition is mounted
even on Slack there IS going to be a hidden "." dot folder in your user home folder
gimptool INSTALLS plugins there when you run "make install" AS A NORMAL user ( one of the exceptions for "make" as root)
gimptool can install to just you
or
system wide
If I remove /tmp and recreate it as root, it will be owned by root.
I think wildwizard meant for you to remove the /tmp/.gimp-2.2 directory if it exists, in case it was owned by another user -- do not remove /tmp itself.
I think wildwizard meant for you to remove the /tmp/.gimp-2.2 directory if it exists, in case it was owned by another user -- do not remove /tmp itself.
Ahhh... /tmp/.gimp-2.2 never existed, because gimp cannot create it, for some unknown reason. The /tmp directory has these permissions:
Anyways, after having set ~/.gimp-2.2/swap as the gimp swap directory, I have had no more problems. One thing, however, although a little off topic, is that, in spite of having 256MB of RAM, a mere 1.2MB .jpeg file takes over 15 secs in being displayed. Instead Nero, under windows xp, displays it almost instantly.
gimp2.2 is OLD ,very old
gtk is also a KNOWN roadblock in loading images
it is SINGLE threaded
the old gimp 2.2 also can only use ONE cpu ( single threaded)
gimp2.6 and 2.8 can use ALL of your CPU's
so gimp2.2 IS going to be DEAD slow ,it always was very slow
this issue has been fixed in newer versions
I am using Gimp ver. 2.8. After recently updating my Ubuntu to 14.04, I started getting the permission denied message whenever I tried to edit pictures using GIMP. The problem was .gimp-2.8 folder located inside home folder was owned by root. So, I changed the owner and group of the folder to respective user and it worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.