{"id":2258,"date":"2009-06-29T19:57:56","date_gmt":"2009-06-29T19:57:56","guid":{"rendered":"http:\/\/t.motd.kr\/articles\/2258\/regenerating-gnome-icon-cache"},"modified":"2022-12-28T01:45:00","modified_gmt":"2022-12-27T16:45:00","slug":"regenerating-gnome-icon-cache","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/2258\/regenerating-gnome-icon-cache\/","title":{"rendered":"Regenerating GNOME Icon Cache"},"content":{"rendered":"\n
When a new GTK<\/span>+ application is installed, the newly added launcher item sometimes does not have its icon. It\u2019s mostly because the icon cache is not up-to-date. You can fix this problem by regenerating or rebuilding the GTK<\/span>+ icon cache using the following command:<\/p>\n\n\n\n However, we can simply update the whole cache without thinking much because updating the cache take not much time. I just put the following script into \/etc\/cron.daily<\/tt> so that the cache is fixed and the missing icon appears overnight:<\/p>\n\n\n\n When a new GTK+ application is installed, the newly added launcher item sometimes does not have its icon. It\u2019s mostly because the icon cache is not up-to-date. You can fix this problem by regenerating or rebuilding the GTK+ icon cache using the following command: However, we can simply update the whole cache without thinking much… Continue reading gtk-update-icon-cache -f '\/usr\/share\/icons\/<THEME_NAME>'<\/code><\/pre>\n\n\n\n
#!\/bin\/sh\nfind \/usr\/share\/icons -mindepth 1 -maxdepth 1 -type d | while read -r THEME; do\n if [ -f \"$THEME\/index.theme\" ]; then\n gtk-update-icon-cache -f -q \"$THEME\"\n fi\ndone<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"