Customize the folder where Okular saves annotations
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I know that Okular saves the annotations made in a PDF document in ~/.kde/share/apps/okular/docdata
. I would like to change this directory into the same one where the PDF document is. I cannot seem to find this possibility
The purpose is moving around the base document and the annotations in tandem by copying just one directory, and still keep them separate in case I want to distribute the non-annotated PDF alone.
Can I customize the folder where annotations are stored? If so, how should I code the directory where the current document is?
Note: I run on Ubuntu 14.04 LTS, and the supported version of Okular is 0.19.3 (Using KDE Development Platform 4.13.3)
pdf okular
add a comment |Â
up vote
1
down vote
favorite
I know that Okular saves the annotations made in a PDF document in ~/.kde/share/apps/okular/docdata
. I would like to change this directory into the same one where the PDF document is. I cannot seem to find this possibility
The purpose is moving around the base document and the annotations in tandem by copying just one directory, and still keep them separate in case I want to distribute the non-annotated PDF alone.
Can I customize the folder where annotations are stored? If so, how should I code the directory where the current document is?
Note: I run on Ubuntu 14.04 LTS, and the supported version of Okular is 0.19.3 (Using KDE Development Platform 4.13.3)
pdf okular
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I know that Okular saves the annotations made in a PDF document in ~/.kde/share/apps/okular/docdata
. I would like to change this directory into the same one where the PDF document is. I cannot seem to find this possibility
The purpose is moving around the base document and the annotations in tandem by copying just one directory, and still keep them separate in case I want to distribute the non-annotated PDF alone.
Can I customize the folder where annotations are stored? If so, how should I code the directory where the current document is?
Note: I run on Ubuntu 14.04 LTS, and the supported version of Okular is 0.19.3 (Using KDE Development Platform 4.13.3)
pdf okular
I know that Okular saves the annotations made in a PDF document in ~/.kde/share/apps/okular/docdata
. I would like to change this directory into the same one where the PDF document is. I cannot seem to find this possibility
The purpose is moving around the base document and the annotations in tandem by copying just one directory, and still keep them separate in case I want to distribute the non-annotated PDF alone.
Can I customize the folder where annotations are stored? If so, how should I code the directory where the current document is?
Note: I run on Ubuntu 14.04 LTS, and the supported version of Okular is 0.19.3 (Using KDE Development Platform 4.13.3)
pdf okular
pdf okular
asked Oct 2 '17 at 8:52
XavierStuvw
3391822
3391822
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
The short answer is that you canâÂÂt.
As indicated in the documentation,
Annotations created in Okular are automatically saved in the internal local data folder for each user.
(as you determined). Looking at the source code, this isnâÂÂt externally customisable; to change this behaviour, youâÂÂd need to change the program itself.
There are two supported ways of storing annotations with the PDF file:
- exporting a document archive, which is a single file storing both the PDF file and its annotations;
- saving the PDF as a new PDF, which will contain the annotations too.
Neither of these address your requirement to be able to provide the un-annotated PDF; there doesnâÂÂt seem to be a way of doing that easily, short of providing a copy of the original PDF yourself.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
The short answer is that you canâÂÂt.
As indicated in the documentation,
Annotations created in Okular are automatically saved in the internal local data folder for each user.
(as you determined). Looking at the source code, this isnâÂÂt externally customisable; to change this behaviour, youâÂÂd need to change the program itself.
There are two supported ways of storing annotations with the PDF file:
- exporting a document archive, which is a single file storing both the PDF file and its annotations;
- saving the PDF as a new PDF, which will contain the annotations too.
Neither of these address your requirement to be able to provide the un-annotated PDF; there doesnâÂÂt seem to be a way of doing that easily, short of providing a copy of the original PDF yourself.
add a comment |Â
up vote
2
down vote
accepted
The short answer is that you canâÂÂt.
As indicated in the documentation,
Annotations created in Okular are automatically saved in the internal local data folder for each user.
(as you determined). Looking at the source code, this isnâÂÂt externally customisable; to change this behaviour, youâÂÂd need to change the program itself.
There are two supported ways of storing annotations with the PDF file:
- exporting a document archive, which is a single file storing both the PDF file and its annotations;
- saving the PDF as a new PDF, which will contain the annotations too.
Neither of these address your requirement to be able to provide the un-annotated PDF; there doesnâÂÂt seem to be a way of doing that easily, short of providing a copy of the original PDF yourself.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
The short answer is that you canâÂÂt.
As indicated in the documentation,
Annotations created in Okular are automatically saved in the internal local data folder for each user.
(as you determined). Looking at the source code, this isnâÂÂt externally customisable; to change this behaviour, youâÂÂd need to change the program itself.
There are two supported ways of storing annotations with the PDF file:
- exporting a document archive, which is a single file storing both the PDF file and its annotations;
- saving the PDF as a new PDF, which will contain the annotations too.
Neither of these address your requirement to be able to provide the un-annotated PDF; there doesnâÂÂt seem to be a way of doing that easily, short of providing a copy of the original PDF yourself.
The short answer is that you canâÂÂt.
As indicated in the documentation,
Annotations created in Okular are automatically saved in the internal local data folder for each user.
(as you determined). Looking at the source code, this isnâÂÂt externally customisable; to change this behaviour, youâÂÂd need to change the program itself.
There are two supported ways of storing annotations with the PDF file:
- exporting a document archive, which is a single file storing both the PDF file and its annotations;
- saving the PDF as a new PDF, which will contain the annotations too.
Neither of these address your requirement to be able to provide the un-annotated PDF; there doesnâÂÂt seem to be a way of doing that easily, short of providing a copy of the original PDF yourself.
answered Oct 2 '17 at 9:02
Stephen Kitt
145k22317382
145k22317382
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f395599%2fcustomize-the-folder-where-okular-saves-annotations%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password