Created
May 7, 2014 11:22
-
-
Save queeup/d02864511c5c31e74f81 to your computer and use it in GitHub Desktop.
Shrink PDF files with ghostscript command.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Nemo Action] | |
################################### | |
#### DEBUGGING: | |
#### | |
#### Run Nemo with the environment | |
#### variable NEMO_ACTION_VERBOSE | |
#### set to get useful log output | |
#### for debugging your actions | |
#### Sample file: | |
#### https://github.com/linuxmint/nemo/blob/master/files/usr/share/nemo/actions/sample.nemo_action | |
################################### | |
Active=true | |
Name=Shrink PDF | |
Comment=Shrink PDF files with ghostscript command. | |
Exec=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=%P/%N_shrinked.pdf %F | |
Icon-Name=pdf | |
Selection=s | |
Extensions=pdf; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment