3

Is there some way I can make Okular store metadata (specifically annotations) in Dropbox, so it is read by Okular regardless of which computer I am using.

For example, I have a Linux laptop with lots of Okular annotated PDFs, but when I read them with Okular on my university computer which is Windows, I do not get the annotations because they are stored in a location outside Dropbox on the Linux laptop. I know from a previous post where this stored location is. I would like to move this location to Dropbox, and make Okular recognise it on both operating systems.

Sav-econ
  • 181

2 Answers2

1

The question is not necessary for newer versions of Okular. From FAQs section of the Okular website

  • Why the newly added annotations are not in my PDF document?

  • How can I annotate a document and send it to a friend/colleague/etc?

They explain that in newer versions of Okular, annotations can be saved directly into the PDF so not in separate metadata files. Some of these annotations can also be read by other PDF readers. The FAQs also explain that Okular PDFs can be saved as .okular files, for other Okular users to edit. (Although I do not see the need if annotations can just be saved into the PDF.)

Importantly previous annotations made with metadata method can be saved into the PDF. Open the PDF with metadata annotations, then 'save as' and the document will have the annotations saved into it. Therefore the annotations are viewable to anyone who can access the PDF via Dropbox that you have saved it in.

Sav-econ
  • 181
0

I have half an answer that I found on a blog post here. It suggests creating a symlink to a folder in Dropbox

ln -s $HOME/.kde/share/apps/okular/docdata ~/Dropbox/folder/name

This will go as far as backing up my annotations, but it will not link to my Windows Okular installations. From here I need help getting Windows Okular to read the annotations from Dropbox and also allowing annotations I make in Windows to be added to those in Dropbox, so that when opening the PDF in Linux again I also have the Windows annotations.

Sav-econ
  • 181