I’ve discovered that, when putting an image file on the desktop, and then using either XnView, GIMP or GrafX2 (possibly many other programs aswell), the image thumbnail on the Plasma desktop does not update, regardless of how long you wait. However, when doing the exact same thing in either Krita, Gwenview or KolourPaint (probably many others as well), it does instantly update the image’s thumbnail.
It seems to me as if KDE-developed programs do some sort of extra task after saving the image, so that the desktop knows to update. GIMP is not a KDE program but a famous classic on Linux, and I can reproduce it every time I try with that program.
All the online search results talk about how to “restart Plasma”, which is definitely not what I’m trying to do. I merely want to do what happens when you press F5 while on the desktop, or when you right-click anywhere on the desktop and click “Refresh Desktop”.
ChatGPT told me to use qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.refresh
, which looked promising but only results in this error:
Error: org.freedesktop.DBus.Error.UnknownMethod
No such method 'refresh' in interface 'org.kde.PlasmaShell' at object path '/PlasmaShell' (signature '')
Questions:
- Is there some command to do this from the terminal (a script)? If so, I can bypass this annoyance by repeatedly calling that command, or right after I have performed some automatic operation where I know that an image is on the desktop and has been modified.
- Are programs on Linux expected to do something besides “saving the file” for the desktop/GUI to learn about this? In other words: is GIMP etc. violating some protocol? It seems strange to me that they should have to think about this.
- Does it happen for you with one of the programs mentioned? If so, how do you deal with it?
I don’t believe that this is in any way related to Debian. Since my other issues with the desktop’s icons are gone, I can only assume that this happens regardless of the distro (Plasma 5.x). Maybe it does happen for everyone but only on Plasma 5.x?