How to regenerate icon cache on linux ?

A GTK configuration screen complaining about a missing icon cache file on Peppermint Linux
A GTK configuration screen complaining about a missing icon cache file on Peppermint Linux

If you see some widget or configuration dialog in Linux,  complaining about the fact that your icon cache files are missing, here’s how you can easily fix it.

Using the manual method, or folder-by-folder method that is displayed in the small tooltip on the image, is cumbersome, and if you have a lot of icons that have missing cache files, it can take up a lot of time and would force you to do a lot of unnecessary typing.

*see update at the end*

Read more