Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Gimp and Inkscape No Longer load icons (Read 1409 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Gimp and Inkscape No Longer load icons

I'm not sure what caused this or when, but recently the icons in Gimp and Inkscape just show a generic exclamation point icon for the majority of it's icons. Here is a picture of Gimp on my system:

https://files.catbox.moe/4f76tt.png

And also Inkscape:

https://files.catbox.moe/ier6hu.png

Any help in potentially resolving this issue would be greatly appreciated. I have already installed a new icon theme (was using papirus-icon-theme, which was not loading, installed arc-icon theme and that worked for other applcations, but not these two).

I also attempted to change where gimp looked for icons from it's own preferences menu, but to no avail.

Lastly, I also attempted to revert back GTK themes as that MIGHT be related, but that also did nothing.

Again, I'm not sure if this is the appropriate place to bring this up as I might need to reach out to the developers of these apps directly, but I haven't run into this issue on a family member's device that I maintain that runs Gimp on Fedora, so I'm not sure what is going on here.

Thanks in advance for any advice and help.

Re: Gimp and Inkscape No Longer load icons

Reply #1
Perhaps a useful hint :
Code: [Select]
pactree gimp|grep icon
│ │ ├─adwaita-icon-theme
│ │ │ ├─adwaita-icon-theme-legacy
│ │ │ │ └─hicolor-icon-theme
│ │ │ ├─hicolor-icon-theme
│ │ └─gtk-update-icon-cache
│ │   ├─hicolor-icon-theme

Code: [Select]
pactree inkscape|grep icon
│ │ ├─adwaita-icon-theme
│ │ │ ├─adwaita-icon-theme-legacy
│ │ │ │ └─hicolor-icon-theme
│ │ │ ├─hicolor-icon-theme
│ │ └─gtk-update-icon-cache
│ │   ├─hicolor-icon-theme
├─hicolor-icon-theme

Re: Gimp and Inkscape No Longer load icons

Reply #2
Perhaps a useful hint :
Code: [Select]
pactree gimp|grep icon
│ │ ├─adwaita-icon-theme
│ │ │ ├─adwaita-icon-theme-legacy
│ │ │ │ └─hicolor-icon-theme
│ │ │ ├─hicolor-icon-theme
│ │ └─gtk-update-icon-cache
│ │   ├─hicolor-icon-theme

Code: [Select]
pactree inkscape|grep icon
│ │ ├─adwaita-icon-theme
│ │ │ ├─adwaita-icon-theme-legacy
│ │ │ │ └─hicolor-icon-theme
│ │ │ ├─hicolor-icon-theme
│ │ └─gtk-update-icon-cache
│ │   ├─hicolor-icon-theme
├─hicolor-icon-theme


Thank you. Yeah, my output is the same for those commands. I'm afraid I'm still a little dense and never was one very good at puzzles. Care to lead me a bit further?

 

Re: Gimp and Inkscape No Longer load icons

Reply #3

Thank you. Yeah, my output is the same for those commands.
This is normal: pactree tells you the required dependencies.

Code: [Select]
 I'm afraid I'm still a little dense and never was one very good at puzzles. Care to lead me a bit further?
Try installing these packages to see:
Code: [Select]
sudo pacman -Sy adwaita-icon-theme adwaita-icon-theme-legacy hicolor-icon-theme 
My two cents. :)

Re: Gimp and Inkscape No Longer load icons

Reply #4

Thank you. Yeah, my output is the same for those commands.
This is normal: pactree tells you the required dependencies.

Code: [Select]
 I'm afraid I'm still a little dense and never was one very good at puzzles. Care to lead me a bit further?
Try installing these packages to see:
Code: [Select]
sudo pacman -Sy adwaita-icon-theme adwaita-icon-theme-legacy hicolor-icon-theme 
My two cents. :)


I have double checked and it looks like I have all those packages already. If you have any other suggestions I'm all ears! And thank you so much for your help thus far. I really appreciate it. Here are my current versions as grepped from pacman -Q:

Code: [Select]
$ pacman -Q | grep adwaita
adwaita-cursors 48.0-1
adwaita-fonts 48.2-1
adwaita-icon-theme 48.0-1
adwaita-icon-theme-legacy 46.2-3
adwaita-qt6-git 1.4.1.r29.g0a77436-1
libadwaita 1:1.7.2-1

Code: [Select]
$ pacman -Q | grep hicolor
hicolor-icon-theme 0.18-1

Re: Gimp and Inkscape No Longer load icons

Reply #5
Here is what I have:
Code: [Select]
pacman -Q | grep adwaita
adwaita-cursors 48.0-1
adwaita-fonts 48.2-1
adwaita-icon-theme 48.0-1
adwaita-icon-theme-legacy 46.2-3
libadwaita 1:1.7.2-1

Code: [Select]
pacman -Q | grep hicolor
hicolor-icon-theme 0.18-1
jp-artix-Acer ~ $
I use x11 and OpenRC

And here are some more details:
Spoiler (click to show/hide)

Could adwaita-qt6-git 1.4.1.r29.g0a77436-1 be the culprit?
I don't know, and I'll leave that to the experts.



Re: Gimp and Inkscape No Longer load icons

Reply #6
Here is what I have:
Code: [Select]
pacman -Q | grep adwaita
adwaita-cursors 48.0-1
adwaita-fonts 48.2-1
adwaita-icon-theme 48.0-1
adwaita-icon-theme-legacy 46.2-3
libadwaita 1:1.7.2-1

Code: [Select]
pacman -Q | grep hicolor
hicolor-icon-theme 0.18-1
jp-artix-Acer ~ $
I use x11 and OpenRC

And here are some more details:
Spoiler (click to show/hide)

Could adwaita-qt6-git 1.4.1.r29.g0a77436-1 be the culprit?
I don't know, and I'll leave that to the experts.



Thank you. I uninstalled adwaita-qt6-git as it looks like I wasn't using it on any of my applications. Unfortunately that still didn't address the issue. Do you have Gimp and if so, are you seeing icons? I wonder now if this is an issue with Gimp and Inkscape...but again, I'm not sure why that would be, I'm just grasping at straws at this point.

Re: Gimp and Inkscape No Longer load icons

Reply #7
Do you have Gimp and if so, are you seeing icons?
Yes, I have the tool icons in both Gimp and Inkscape.

Have you tried playing around with:
Edit / Preferences / Interface / Theme and Icon Theme?
http://gimpchat.com/viewtopic.php?f=8&t=21498

Have you tried:
- closing Gimp
- deleting or renaming the /home/<username>/.config/GIMP/3.0/ directory to "3.0_save"?
You need to show hidden folders to access them.

I read that the Linux kernel version may be related to this issue:
https://forums.fedoraforum.org/showthread.php?314382-GIMP-toolbox-no-icons

What Linux kernel are you using?
Code: [Select]
uname -r
6.12.27-1-lts


Below is my version of Gimp that I use; you can run the same command and compare:
Spoiler (click to show/hide)


Have you tried the Appimage version of Gimp?
https://download.gimp.org/gimp/v3.0/linux/GIMP-3.0.0-RC3-x86_64.AppImage
https://www.gimp.org/downloads/devel/

You must make the file executable before you can use it (right click / Properties / Access rights / Allow execution) :
https://appimage.github.io/GIMP/


I use x11 and you ?
x11 or wayland  ?
Code: [Select]
env|grep XDG_SESSION_TYPE

Re: Gimp and Inkscape No Longer load icons

Reply #8
Have you tried playing around with:
Edit / Preferences / Interface / Theme and Icon Theme?
http://gimpchat.com/viewtopic.php?f=8&t=21498

Yes! I have actually stumbled across that direct forum post in my attempts to fix this and sadly, while the changing of the theme itself works as expected (my theme colors display correctly), the icons do not change. Also changing the Icon Theme to Legacy fixes some icons, but not the tools (which imho are the most important icons for navigating GIMP).

Have you tried:
- closing Gimp
- deleting or renaming the /home/<username>/.config/GIMP/3.0/ directory to "3.0_save"?
You need to show hidden folders to access them.

I have definitely tried closing GIMP quite a few times now.

I have renamed the directory to 3.0 to 3.0_save as well as simply removed the 3.0 directory. This simply resets my preferences to the default, but sadly, the icons still do not show.

I read that the Linux kernel version may be related to this issue:
https://forums.fedoraforum.org/showthread.php?314382-GIMP-toolbox-no-icons

What Linux kernel are you using?
Code: [Select]
uname -r
6.12.27-1-lts

My kernel is

Code: [Select]
6.14.4-zen1-2-zen

I have multiple kernel installed and also tried kernels:

Code: [Select]
6.14.5.artix1-1

And also:

Code: [Select]
6.12.27-1-lts

Sadly, the icon issue persisted in these other two current kernel versions as well.

Below is my version of Gimp that I use; you can run the same command and compare:
Spoiler (click to show/hide)

Thanks so much! Yeah, mine looks more or less the same save for my output being in English.


Have you tried the Appimage version of Gimp?
https://download.gimp.org/gimp/v3.0/linux/GIMP-3.0.0-RC3-x86_64.AppImage
https://www.gimp.org/downloads/devel/

You must make the file executable before you can use it (right click / Properties / Access rights / Allow execution) :
https://appimage.github.io/GIMP/

I'd rather not use Appimage if I can help it, as I'd prefer to keep the standard repos and just the AUR. I'll consider this option if the problem persists past a couple updates. Thanks, but as this isn't essential for my work, I won't necessarily go this route right now.

I use x11 and you ?
x11 or wayland  ?
Code: [Select]
env|grep XDG_SESSION_TYPE

Yep, also x11, though I do have wayland as well, and have tried using GIMP in wayland and again, the problem persists!

Thanks so much. These are all fine suggestions and have helped me think through the problem further. Sadly, none of these have worked, but hey, these were great!

If you have any other thoughts, I'm all ears. Like I said earlier, I'd really prefer not to have to use AppImage, but it's a good idea should all else fail.

I really appreciate your help here.

Re: Gimp and Inkscape No Longer load icons

Reply #9
I'd really prefer not to have to use AppImage, but it's a good idea should all else fail.
There's no risk in trying the Appimage version, and this is just to see if the problem persists.

Have you tried it on a different user account ?

What video card and driver are you using ?
Code: [Select]
lspci | grep VGA 
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c7)
Quote
I really appreciate your help here.
Avec plaisir *
* You are wecome



Re: Gimp and Inkscape No Longer load icons

Reply #10
Do you get any error messages if you run gimp from a terminal?
I get:
Code: [Select]
$ gimp
set device 'Logitech USB Optical Mouse' to mode: disabled
set device 'Virtual core XTEST pointer' to mode: disabled
/usr/lib/gimp/3.0/plug-ins/file-fits/file-fits: error while loading shared libraries: libcfitsio.so.10: cannot open shared object file: No such file or directory
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): unexpected EOF
env: ‘gjs’: No such file or directory
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): unexpected EOF
(and my gimp seemingly works correctly)

If there's nothing helpful in the terminal output, an strace would almost certainly contain clues, but that's a rocky road.

Re: Gimp and Inkscape No Longer load icons

Reply #11
I figured it out. Sadly, I had to use ChatGPT for this one, but it turns out that this line in my .xinitrc:

Code: [Select]
export GTK_ICON_THEME=Papirus-Dark

Somehow got my system to "see" the Papirus icon pack. I don't know why, it was definitely installed, but I guess this environment variable either got unset or now needs to be set somewhere. I'm sure this isn't the best solution, but heck, it works.

Thanks to all for the support and help!