Linux

Where Does Okular Store Config Files?

Okular on Linux stores interface and annotation tool settings in the user config folder. Annotations themselves are saved in the PDF or in an Okular archive.

Last updated

Main settings live in okularrc and okularpartrc under the XDG config home, normally ~/.config. Toolbar and stamp definitions are part of those files.

Document specific data such as view position uses local share. For portable annotations use File Save to embed them in the PDF or File Save As to create an Okular archive.

Where Okular stores this, by platform

Linux
~/.config/okularrc

~ is the user home. Holds general Okular preferences. Edit only while Okular is closed, then restart to apply.

Linux
~/.config/okularpartrc

Part and shell UI state including annotation tool setup. If toolbar changes do not appear, also check the snap specific config path on snap installs.

Linux
~/snap/okular/<revision>/.config/okularpartrc

Snap install override. <revision> is the snap revision number. Native deb and rpm installs use ~/.config directly.

Frequently asked questions

Where are my annotations stored?

They stay in memory until saved. Choose File Save to write them into the PDF or File Save As Okular document archive with extension okular to share them with other Okular users.

Why did old XML annotation files stop working?

Separate annotation XML storage is deprecated. Current versions embed annotations in the PDF, so other viewers can at least display them even if editing needs Okular.

Notice an outdated path? Let us know.