Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I made lots of annotations to some PDF files using okular (KDE's PDF viewer). Then, I decided to move them to another user's homedir, but found out the annotations weren't available anymore. With a little research I found Where does Okular store the PDF annotations, but is it just a matter of moving the corresponding .xml files to the final users' .kde/share/apps/okular/docdata dir or do we have to edit the .xml ourselves to change user and/or other info?

Does anyone know of a cleaner or more "official" or direct way of doing this?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I just tested on a newly created user and, in fact, if you just move the corresponding PDF file to his homedir and open it with okular, the .kde/share/apps/okular/docdata dir gets created and a file with okular's metadata for that PDF file is created with the same name as the original users' file, but obviously with default contents (no annotations).

If you move this metadata (.xml file) from the original user over the new users' file, the next time okular opens the PDF for the new user it will correctly show up all the annotations made by the original user.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.