HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

okular — View documents. More information: <https://docs.kde.org/stable_kf6/en/okular/okular/command-line-opt

Submitted by: @import:tldr-pages··
0
Viewed 0 times
httpscommandokularcliinformationdocumentsmoreview

Problem

How to use the okular command: View documents. More information: <https://docs.kde.org/stable_kf6/en/okular/okular/command-line-options.html>.

Solution

okular — View documents. More information: <https://docs.kde.org/stable_kf6/en/okular/okular/command-line-options.html>.

Launch document viewer:
okular


Open specific documents:
okular {{path/to/file1 path/to/file2 ...}}


Open a document at a specific page:
okular {{[-p|--page]}} {{page_number}} {{path/to/file}}


Open a specific document in presentation mode:
okular --presentation {{path/to/file}}


Open a specific document and start a print dialog:
okular --print {{path/to/file}}


Open a document and search for a specific string:
okular --find {{search_string}} {{path/to/file}}

Code Snippets

Launch document viewer

okular

Open specific documents

okular {{path/to/file1 path/to/file2 ...}}

Open a document at a specific page

okular {{[-p|--page]}} {{page_number}} {{path/to/file}}

Open a specific document in presentation mode

okular --presentation {{path/to/file}}

Open a specific document and start a print dialog

okular --print {{path/to/file}}

Context

tldr-pages: common/okular

Revisions (0)

No revisions yet.