Okular

Install Okular

Okular is the managed document and PDF viewer. It supports PDF viewing, annotations, bookmarks and document navigation, PDF forms, and a broader range of document formats useful in academic reading and review workflows.

ansible-playbook -i inventory -K playbooks/lab-stack.yml --tags okular

The role installs Okular and the default-applications role makes it the preferred viewer for PDF files.

✅ Check

okular --version
xdg-mime query default application/pdf

The MIME query should return org.kde.okular.desktop.