Okular – How to Add a Signature Stamp to Okular

okularpdf

I'd like to have my own signature as a stamp for Okular.

In folder /usr/share/okular there is a config file drawingtools.xml and in folder /usr/share/okular/pic the is a stamps.svg containing some pictures with stamps. But it seems not to be made for adding more pictures.

Is there a easy, lean and clean way to insert my own graphic?

Edit:

I found this:

source: https://wiki.ubuntuusers.de/Okular/

Eigene Stempel definieren

Okular bietet die Möglichkeit, eigene Stempel zu definieren, die dann
als Markierung ins Dokumment einfügt werden können.

Dazu muss man zuerst den gewünschten Text oder das gewünschte Bild als
.png oder .svg Datei im Homeverzeichnis unter .kde/share/icons
speichern, Dateinamen und Dateiendung dürfen ausschließlich aus
Kleinbuchstaben bestehen. Sollte das Verzeichnis nicht existieren,
dann muss man es vorher noch anlegen.

Danach wählt man das Menü "Einstellungen -> Anmerkungen einrichten"
und dort "Hinzufügen -> Typ:Stempel". Im oberen Feld kann man einen
eigenen, frei wählbaren Namen eingeben, im unteren Feld unter "Stempel
Symbol" gibt man den Namen der zuvor gespeichert Stempeldatei ein.
Findet Okular diese, wird eine Vorschau rechts neben der Eingabe
angezeigt. Mit einem Klick auf "Ok" ist der eigene Stempel angelegt
und einsatzbereit. Im Menü mit den Werkzeugen wird der Stempel jetzt
angezeigt.

And the Google Translate version:

Define your own stamps

Okular offers the possibility to define own stamps, which can then be inserted as a marking in the document.

To do this you must first save the desired text or image as .png or .svg file in the home directory under .kde / share / icons,
filenames and file extensions may only consist of lowercase letters.
If the directory does not exist, you have to create it first.

Then select the menu "Settings -> Set up notes" and there "Add -> Type: Stamp". In the upper field you can enter your own, freely
selectable name, in the lower field under "Stamp Symbol" you enter the
name of the previously saved stamp file. If eyepiece finds this, a
preview will be displayed to the right of the input. With a click on
"Ok" your own stamp is created and ready for use. In the menu with the
tools, the stamp is now displayed.

But putting a sig.png in .kde/share/icons didn't helped. It's not shown if entering the name as Stamp-Symbol.

I use Xubuntu 18.04

Best Answer

First, please place your image in ~/.kde/share/icons, creating the icons folder if need be. (To be on the safe side, please use lowercase for the image name and avoid spaces).

Adding your own stamp in Okular

Then, as shown in the image above, you need to type or paste in the entire path and filename like

/home/rundekugel/.kde/share/icons/mysignature.png

assuming that your username is rundekugel and that mysignature.png is the relevant image.

This is a recognized usability issue in Okular version 1.3.3 that ships in Bionic and is being addressed in Make custom stamp image support more discoverable.

Related Question