Ubuntu Linux and eBook Readers - Crop your PDFs

This is post is now quite old and the the information it contains may be out of date or innacurate.

If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub

I’ve just taken delivery of a nice new eBook reader

here’s my must have info for the moment:

  1. Calibre - FOSS eBook management

http://calibre-ebook.com/download_linux

  1. Stripping the margins out of PDF files You will quickly notice when reading PDF files that you are wasting valuable screen space with large margins designed for printed paper. You want to strip these away completely.

Luckily we have an excellent app to take care of it.


sudo aptitude install texlive-extra-utils

now if you want to strip a PDF of its pointless margins, just run in the shell:


pdfcrop filename.pdf

that’s it!

Warning though, it does use a lot of processing power and isn’t particularly fast. It’s a heavy operation so maybe leave it running over night or something.

If you wanted to run it on a few pdfs at a time, you might try this.


find /path/to/pdfs -type f -name '*.pdf' -execdir pdfcrop {} \;

definitely an over night one though!


Tags: linuxebookpdfcrop