Skip to content

A utility to compress PDF documentas based on Ghostscript and YAD.

License

Notifications You must be signed in to change notification settings

moonline/Utility.PdfCompress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF compress utility

A simple utility to compress PDF files, based on YAD and Ghostscript.

Application interface

Installation

Linux (Appimage)

Download installation package of the latest release.

Create application launcher

  1. Copy AppImage file to .local/bin/pdfcompress.AppImage in your home directory.
cp pdfcompress-*.AppImage ~/.local/bin/pdfcompress.AppImage
  1. Make it executable
sudo chmod+x ~/.local/bin/pdfcompress.AppImageS
  1. Copy the launcher pdfcompress.desktop to .local/share/applications/.
cp pdfcompress.desktop ~/.local/share/applications/

Uninstall

Remove appimage and launcher:

rm ~/.local/share/applications/pdfcompress.desktop
rm ~/.local/bin/pdfcompress.AppImage

Development

Environment

  • Install yad: sudo apt install yad
  • Install ghostscript: sudo apt install ghostscript

Start

chmod+x pdfcompress.sh
pdfcompress.sh

Package

Build appimage on Ubuntu/Mint

appimage-builder --recipe appimage/appimage-amd64.yml