Skip to content

Instantly share code, notes, and snippets.

@VolMi
Last active December 17, 2015 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VolMi/5595867 to your computer and use it in GitHub Desktop.
Save VolMi/5595867 to your computer and use it in GitHub Desktop.
Nemo action "Optimize PNG files"
[Nemo Action]
Active=true
Name=Optimize PNG files
Name[de]=PNG-Dateien optimieren
Comment=Reduce size of selected PNG files
Comment[de]=Die Dateigröße der gewählten PNG-Dateien reduzieren
Exec=optipng %F
Icon-Name=image-png
Selection=NotNone
Extensions=png;PNG;
@VolMi
Copy link
Author

VolMi commented May 16, 2013

This little nemo action allows to minimize selected png-files' size using optipng.

Using latest nemo, put this either into your local folder

~/.local/share/nemo/actions/

or to use it system-wide:

/usr/share/nemo/actions/

Of course, optipng is required. It is usually available in your distribution's repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment