Desktop Icons not shown as SVG, but OK as PNG

After today’s update my desktop icons are not shown, if they are provided as SVG-file. It’s fine, if a PNG-file is defined for that. Just to be sure, I already cleared the Plasma SVG cache
rm ~/.cache/*plasma* ; killall plasmashell && kstart5 plasmashell
but this did not help. Any chance to get the icons back, without redefining all .desktop-files, e.g. change

Icon=/path/Akregator.svg  
Icon=/path/Akregator.png

assuming, that all files exist.

Please change the Title as this is not a announcement thread.

Try removing .svg for any one .desktop file:

Icon=/path/Akregator

If the first method worked then you can remove .svg from all the files in your ~/Desktop directory:

cd ~/Desktop
sed -i 's/.svg//g' *.desktop
Comparision

Screenshot_20220124_161132

2 Likes

Thank you @ishaan2479, it works fine.
Do you know anything about the differences before / after today’s update: I swear, before that the naming
Icon=/path/Application.Extension
worked for the SVGs. Now it works for PNG, not for SVG.
Anyway I’ll modify all my .desktop-files.
Thanks sgain!

Please change the Title as this is not a announcement thread.

I guess, you or somebody else did already?. If not, plese let me know what to change …

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.