← 返回命令列表

Linux command

okular 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Open document

okular [document.pdf]

Open at specific page

okular -p [5] [document.pdf]

Open in presentation mode

okular --presentation [document.pdf]

Open with specific backend

okular --backend [poppler] [document.pdf]

Print document

okular --print [document.pdf]

Unique instance

okular --unique [document.pdf]

Start without plugins

okular --no-plugins [document.pdf]

说明

okular is KDE's universal document viewer. It supports PDF, EPUB, DjVu, PostScript, images, and many other formats through plugins. PDF viewing includes annotations, form filling, and digital signature verification. Documents can be annotated with highlights, notes, and drawings. Annotations save separately or embed in the file. Presentation mode provides fullscreen display for slideshows. Transitions and notes support make it suitable for presentations. Text selection and search work across supported formats. Continuous and multi-column layouts adapt to reading preferences. The editor integration enables clicking source locations in PDFs to open corresponding positions in LaTeX editors. This supports the SyncTeX workflow. Printing includes advanced options like booklet printing and page scaling. Print preview shows the exact output.

参数

-p _PAGE_
Start at page number.
--presentation
Start in presentation mode.
--unique
Use single instance.
--print
Print and exit.
--backend _NAME_
Use specific backend.
--no-plugins
Disable plugins.
--editor-cmd _CMD_
Editor for source links.
--find _TEXT_
Search for text on open.
--noraise
Don't raise window.

FAQ

What is the okular command used for?

okular is KDE's universal document viewer. It supports PDF, EPUB, DjVu, PostScript, images, and many other formats through plugins. PDF viewing includes annotations, form filling, and digital signature verification. Documents can be annotated with highlights, notes, and drawings. Annotations save separately or embed in the file. Presentation mode provides fullscreen display for slideshows. Transitions and notes support make it suitable for presentations. Text selection and search work across supported formats. Continuous and multi-column layouts adapt to reading preferences. The editor integration enables clicking source locations in PDFs to open corresponding positions in LaTeX editors. This supports the SyncTeX workflow. Printing includes advanced options like booklet printing and page scaling. Print preview shows the exact output.

How do I run a basic okular example?

Run `okular [document.pdf]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p _PAGE_ do in okular?

Start at page number.