This is possibly a Kubuntu-only problem, but I would like to know more about it.

I want to make some desktop icons behave like the Trash-icon, ie.e. that it changes color (or displays a different icon) depending on the status of the underlying application. I find in the trash.desktop file an entry for EmptyIcon and 'link= trash:/', but that does not help.

The goal is to check the status of say, Windscribe VPN and make the icon green if connected or red if not connected.

Thanks

Paai