I'm not sure this should be done in kio-extras. As I mentioned in https://bugs.kde.org/show_bug.cgi?id=79943, the thumbnails are part of a cross-desktop spec, so it seems inappropriate for any particular desktop environment to do the cleanup on its own.
My suggestion is for it do be done in a DE-agnostic manner at the distro level. ** Bug watch added: KDE Bug Tracking System #79943 https://bugs.kde.org/show_bug.cgi?id=79943 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1782613 Title: Periodically remove very old thumbnails or cap thumbnail cache size to avoid filling up disk with thumbnails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kio-extras/+bug/1782613/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs