Nemo

Custom Actions

To create custom actions for Nemo, do the following

# Go to the custom actions directory:
cd $HOME/.local/share/nemo/actions/
# Copy the sample action
cp /usr/share/nemo/actions/sample.nemo_action ./my_action.nemo_action
# Edit the resulting file as needed following the documentation in the comments.

Resize Images Action

[Nemo Action]
Active=true
Name=Reduce Image Size
Comment=Reduces Images to 1000px
Exec=mogrify -resize 1000x1000\> %F 
Icon-Name=folder
Selection=any
Mimetypes=image/*;
EscapeSpaces=true