How to uninstall all instances of Gimp/PhotoGimp to start fresh? Neither will launch

I installed Gimp, but was interested in Photogimp, so I followed the directions to install, but now Gimp doesn’t launch at all, it shows the photogimp cursor bouncing as if its going to launch, but it never does.

I installed through flatpack, and uninstalled through flatpack, but nothing changes when I try to install gimp again. Apparently the photogimp files are still there, and installing gimp again still sees photogimp and is attempting to launch photogimp, and its a rinse and repeat process.

How do I uninstall everything, photogimp, and gimp so that I can start fresh? No instructions that I can find work.

bash -c 'mv ~/.config/GIMP ~/.config/GIMP.bak'

That will move/backup the existing conf directory.

Starting GIMP afterwards should do so with defaults (and recreate the now missing conf folder).

Uninstalling GIMP should not be necessary.

Unfortunately that didn’t really do anything, its still the same, the photogimp icon still bounces when I try to launch reg gimp. I even tried going back to a snapshot from a couple of days ago, still the same as if I didn’t revert the snapshot.

How exactly was photogimp installed/applied?

It should have just augmented your ~/.config/GIMP contents from what I can find.

Maybe we can look at your directories?

find ~/.config -type d -name *GIMP*

And also how is GIMP being started? Regular launcher? Nothing special in ~/.local/share/applications/?

The standard could also be initialized from terminal;

gimp

Thank you for you help.

Gimp was installed through Discover/Flatpack. The install instructions for photogimp were very simple - extract to home directory, when prompted, use overwrite or replace, but I never got the prompt. Launching gimp just brought up reg gimp, so I looked up the issue here GitHub - Diolinux/PhotoGIMP: A Patch for GIMP 3+ for Photoshop Users · GitHub

it says to make sure both folders were in the home directory so I moved them from the extracted folder within the ‘PhotoGIMP-linux’ directory to the home folder, at that point I did get an ‘add to’ prompt, chose it, all seemed to go well, then tried to launch gimp, then it wouldn’t launch.

Unfortunately using the above command does not bring up any results.

Does this mean it is a SNAP or Flatpak?

These would work a little different because they are ‘containerized’.

If it still means the ALPM package (such as through pacman) then we should change that habit as discover only handles those packages through packagekit - which is inherently unsecure and buggy.


Oh ok, sounds like its not the regular package .. hence why the instructions would not work for you originally - both mine and photogimps - as well as why the expected directory is missing.


Yup, dealing with some kind of container GIMP.

Where exactly it is will depend on that ..

If flatpak it could be in ~/.local/share/flatpak or /var/lib/flatpak.


Let us know where its located and/or some more of those details.

Though really the instruction is .. once you find it .. delete or move or back it up.

Then start gimp again.

I only see files/folders related to gimp or photogimp in these locations:

/home/r95900x/.local/share/icons/hicolor/
/home/r95900x/.config/GIMP.bak/
/home/r95900x/.config/GIMP.bak/3.2/
/home/r95900x/.config/GIMP/ - this directory is empty, I uninstalled gimp a
while ago, but I can see photpgimp in the menu and it still tries to launch if I
click it, it does the same as before, expectedly, whether gimp is installed or not.

I also tried using the uninstall option on the dev page, it does nothing as
well, so I’m really stumped here.

rm -rf ~/.config/GIMP/3.0

We already established that you do not have a GIMP folder in .config .. there is no reason to keep trying to rm it when it does not exist.

Also please stop sharing screenshots of text - Its a waste and less legible.

Copy text here and use the formatted text </> button.

This was the original we moved.

But the GIMP you are launching now does not seem to be using that.

Otherwise it would have been recreated. (the non-“.bak” version).

Well we never did anything with it so that is expected.

It probably has an extra launcher in ~/.local/share/applications/.


As to the rest .. I downloaded and inspected the photogimp stuff .. and found we were right originally - it should only augment ~/.local and ~/.config.

So unless you were only having trouble because of that extra launcher then I am not sure where else to look.

If its a flatpak then we have covered the common paths besides what should normally be expected in $HOME.

Ok, no worries, I do see the launcher in /home/r95900x/.local/share/applications/ as a desktop entry: org.gimp.GIMP

Can I delete the launcher in that directory so it stops using it? And if I do then install gimp again maybe it’ll try to launch reg gimp instead? Hence the reason I was asking if it was ok to find the files themselves and blow them out and not have to worry about registry errors like in windows.

Yeah get rid of that launcher.

I dont know if it would be getting in the way of your regular one as its name does not match.

In any case its a foreign extra launcher - its safe (and desirable [for now?]) to remove.

I deleted the launcher and reinstalled Gimp, its working as normal. Thank you for the help, I’m going to mark this as resolved. I was really more interested in getting Gimp to work again with or without photogimp working, in case I needed it any time in the future.

Thanks again!

I am a bit confused about if you got Photogimp installed, but here’s what I did. Install GIMP through shelly/pacman. Download Photogimp. Simply copy and paste them to the corresponding directories, and your done. Simple as pie. The directions in the redme overcomplicate it imo.

No, I didn’t try to install it again. I might try again tomorrow.

Drop me a PM if you want; if I’m online, I can walk you through it.