You are not logged in.

#1 2020-08-21 12:38:29

E3LDDfrK
Member
Registered: 2019-10-24
Posts: 63

[SOLVED] Missing icons in XFCE

I recently installed Arch on another laptop. And I noticed a lot of the icons in the applications menu are missing. Both the default XFCE apps and newly-installed programs. From AUR or otherwise.   
The XFCE desktop entries in /usr/share/applications simply don't have icons.

Full list:

  1. Task Manager (came included with XFCE, I believe)

  2. Document Viewer (Evince)

  3. ghostwriter

  4. MComix

  5. Xarchiver

  6. Redshift (also no icon in the panel's "Notification Area")

  7. Minetime (from AUR)

It's not all newly-installed programs don't have icons, only some of them.
For what it's worth, the task manager doesn't have a working icon on my other Arch laptop too.

Any idea how to diagnose the problem?

Last edited by E3LDDfrK (2020-08-21 19:47:03)

Offline

#2 2020-08-21 13:31:47

Anchorman
Member
Registered: 2020-07-26
Posts: 49
Website

Re: [SOLVED] Missing icons in XFCE

Perhaps you need to install a couple of icon theme packages? https://wiki.archlinux.org/index.php/Icons

Offline

#3 2020-08-21 14:32:34

E3LDDfrK
Member
Registered: 2019-10-24
Posts: 63

Re: [SOLVED] Missing icons in XFCE

XFCE comes with the default Adwaita and HighContrast icons. Plus don't these software bring their own icons?

Offline

#4 2020-08-21 15:21:40

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] Missing icons in XFCE

About your idea that programs come with their own icon, I tried to check that and you are right. I checked like this:

pacman -Ql redshift | grep icon

I looked into redshift, mcomix, evince, and those all had icons in their package. I couldn't find out where the XFCE Task Manager tool's icon comes from, there is an image in the xfce4-taskmanager package but it's not the application icon.

Thinking about what to do, I would first reboot and see what happens. Then next I'd try wiping the ~/.cache folder in my home, and I'd do that while not at the desktop, instead logged in through the text console without Xorg running.

Offline

#5 2020-08-21 15:32:40

E3LDDfrK
Member
Registered: 2019-10-24
Posts: 63

Re: [SOLVED] Missing icons in XFCE

I did it. Wiping the ~/.cache and also reboot. It didn't help unfortunately.

Offline

#6 2020-08-21 17:53:34

Anchorman
Member
Registered: 2020-07-26
Posts: 49
Website

Re: [SOLVED] Missing icons in XFCE

If i look at /usr/share/applications/xfce4-taskmanager.desktop i see: Icon=utilities-system-monitor

Now search /usr/share/icons for utilities-system-monitor

I have these:

./HighContrast/22x22/apps/utilities-system-monitor.png
./HighContrast/32x32/apps/utilities-system-monitor.png
./HighContrast/scalable/apps/utilities-system-monitor.svg
./HighContrast/16x16/apps/utilities-system-monitor.png
./HighContrast/48x48/apps/utilities-system-monitor.png
./HighContrast/24x24/apps/utilities-system-monitor.png
./HighContrast/256x256/apps/utilities-system-monitor.png
./gnome/22x22/apps/utilities-system-monitor.png
./gnome/32x32/apps/utilities-system-monitor.png
./gnome/scalable/apps/utilities-system-monitor-symbolic.svg
./gnome/16x16/apps/utilities-system-monitor.png
./gnome/48x48/apps/utilities-system-monitor.png
./gnome/24x24/apps/utilities-system-monitor.png
./gnome/256x256/apps/utilities-system-monitor.png

Do you have some installed?

Also, if you look at xfce4 - settings - appearance - icons
what theme is selected? I have gnome.

Offline

#7 2020-08-21 19:46:48

E3LDDfrK
Member
Registered: 2019-10-24
Posts: 63

Re: [SOLVED] Missing icons in XFCE

I just checked it. Same result, but just the high contrast ones. It's a fresh install. So it only has the default themes and icons, Adwaita and High Contrast.
So that solves it for Task Manager. Well, to be fair, the task manager comes from xfce4-goodies. I guess it makes sense that the default icons Adwaita doesn't include it.
edit: Turns out it was removed. I don't understand the reasoning. Seems silly. https://gitlab.gnome.org/GNOME/adwaita- … de69432dd9 It seems they added it back along with other missing icons. https://gitlab.xfce.org/apps/xfce4-task … #note_4695 So, just wait I guess.


I checked for the other ones and they actually have their icons in /usr/share/icons/hicolor, for various sizes. 
I googled and found this on reddit:

# gtk-update-icon-cache --force /usr/share/icons/hicolor

I ran the command and solved my problem. Just gtk-update-icon-cache probably suffices. The command creates an icon-theme.cache inside the icon directory. 
The relevant stuffs are just not in ~/.cache, so deleting that didn't help. 

Thanks for the help, Anchorman and Ropid.

Last edited by E3LDDfrK (2020-08-21 22:06:57)

Offline

Board footer

Powered by FluxBB