Command Line Options

Though Okular may most often be started from the KDE program menu, or a desktop icon, it can also be opened at the command line prompt of a terminal window. There are a few useful options that are available when doing this.

Specify a File

By specifying the path and name of a particular file the user can have Okular open that file immediately upon startup. This option might look something like the following:

% okular /home/myhome/docs/mydoc.pdf  


For PDF documents, the name can be given as document_name#named_destination where named_destination is a particular named destination embedded in the document.

Other Command Line Options

The following command line help options are available

okular -p --page number

Open a page with a given number in the document. Also available through okular -p number

okular --presentation

Start the document in presentation mode.

okular --print

Start with print dialog.

okular --print-and-exit

Start with print dialog and exit after printing.

okular --unique

Unique instance control.

okular --noraise

Allows to prevent Okular window raising after the start.