Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
XFCE Small Utlities
# Remove a XFCE generated thumbnail
# Put this file in a safe place (I use ~/bin)
# Open Thunar, then navigate to Edit >> Create custom actions.
# Create a new action ("Remove Thumbnail")
# Command is: /path/to/this-file %f
# Doesn't handle groups.
# If there's more sizes, I don't know about them.
s=`echo -n "file://$1" | md5sum | cut -d ' ' -f 1`
rm ~/.cache/thumbnails/normal/$s.png
rm ~/.cache/thumbnails/large/$s.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.