Skip to content

Instantly share code, notes, and snippets.

@zenozeng
Created January 17, 2014 16:39
Show Gist options
  • Save zenozeng/8476615 to your computer and use it in GitHub Desktop.
Save zenozeng/8476615 to your computer and use it in GitHub Desktop.
gtk-update-icon-cache
#!/bin/bash
locates=`locate index.theme`
dirs=(${locates//\\n/ })
for i in ${dirs[@]}
do
echo $i
gtk-update-icon-cache `dirname $i`
gtk-update-icon-cache-3.0 `dirname $i`
done
echo "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment