How to Annotate PDFs in Linux [Beginner’s Guide]
Reading something interesting in PDF format and feel the need of adding a comment or highlight certain text? Perhaps you want to provide feedback on the PDF document?
There are several PDF editors available for Linux users. But you don’t need a dedicated PDF editor just for this simple task.
Most PDF readers have built-in annotation features and you can use it to quickly and easily highlight text and add comments.
I recently ‘discovered’ it when I was reviewing the upcoming 4th edition of the Linux Pocket Guide book by O’Reilly. The publisher requested suggestions on the PDF file itself.
Let me share how you can annotate PDFs in Linux using Evince (the default PDF reader in GNOME). The same can be achieved with Okular (the default PDF reader in KDE) too.
Most Linux distributions should come with either of the above tools. If not, you can easily install them. I am not going into the installation process. Please look for them in your distribution’s software manager.
Annotating PDFs with Evince Document Viewer
Open the desired PDF file with Evince (also known as Document Viewer in GNOME).
You’ll see an edit option in the top left side of the Document Viewer application. Click on it and the following two options will appear:
- Note text (for adding comments)
- Highlight text (for highlighting selected text)
Let me share their workings in detail.
Adding comments in PDF
To add a comment, click on Note text option.
You’ll notice that the cursor gets changed into a + sign. You can click anywhere in the document and it will immediately add a note icon and open another window for adding your notes.
I suggest clicking at the end of the line so that the note icon is on the white space and doesn’t obstruct the actual text of the file.
Once you have added the desired note, you can click the x button on the note field to close the note text window.
Highlight text in PDF
Similarly, you can choose the Highlight text option to highlight specific text in the PDF file.
After that, just select the text you want to highlight. It will start highlighting as soon as you start moving the cursor.
Saving the annotated file
You might have added the note on the PDF but the changes are not saved yet.
Saving the change is simple. Press the Ctrl+S
keys and it will give you the option of where you want to save the file.
You can overwrite the existing PDF file or save it as a new one.
Reading the annotations
To read a text note or comment, just hover over the note icon or highlighted text. It will show the notes immediately.
Don’t click the icons to read the text. Clicking will open it for editing.
Edit an existing annotation
Let’s say you noticed that you need to add more details to an existing note. All you have to do is to click the Note icon.
It will open the added text. You can read it and you can also edit it if you like. The same works for the notes in the highlighted text section.
However, it won’t work completely for editing the highlighted text. It will work if you think you have to highlight more text around an existing one. But if you want to shorten the highlighted text, it won’t work.
For that, you have to delete the highlight and add it again.
Delete an existing annotation
Deleting annotations is as simple as right-clicking on the annotation and selecting the ‘Remove Annotation’ option.
The same is valid for highlighted text too.
Modifying the look and feel of the annotations
Don’t like the default yellow color or the notes icon? All this can be changed.
Right-click on an existing annotation and select the ‘Annotation Properties…’ option.
You can change the author of the comment, color and opacity of the annotation. You can also change the icons for the notes and markup type for highlights (strikeout, underline etc).
This is for existing annotations only. I could not find a way to change the properties by default for all future annotations.
More PDF edition options
Dedicated PDF editors are available if you need more than simple text notes and highlighting.
These tools may allow you to rearrange or merge PDF files.
You can also compress the PDF files if you want.
There is no end to PDF editing. I hope you liked this beginner’s tip on PDF annotation in Linux.
KDE’s Okular also provides PDF annotation options. Perhaps I could do a similar article on Okular some other day.
Please provide your feedback in the comment section.