прочесть pdf в консоли можно с помощью fbpdf, fbgs и fbida
но удобней - jfbview

jfbview /home/user/Библиотека/книга.pdf -p 285

открыть книгу на 285 стр.

247g - перейти на 247 страницу
+ увеличить
- уменьшить
q - выйти


NAME


JFBView - PDF and image viewer for the Linux framebuffer.

SYNOPSIS


jfbview [OPTIONS] FILE

DESCRIPTION


JFBView is a PDF and image viewer for the Linux framebuffer. It is very fast and has a number of advanced and unique features.

OPTIONS



--help, -h Shows help message.

--fb=/path/to/dev Specifies the path to the output framebuffer device. The default is /dev/fb0.

--page=n, -p n Go to page n on start up.

--zoom=n, -z n Set initial zoom to be n percent. For example, "-z 75" sets zoom to 75%.

--zoom_to_fit Start in zoom-to-fit mode.

--zoom_to_width Start in zoom-to-width mode. This is the default.

--rotation=n, -r n Set initial rotation to n degrees clockwise.

--format=image Forces the program to treat the input file as an image.

--format=pdf Forces the program to treat the input file as a PDF. By default, the file format is detected based on its extension. If the file does not have a ".pdf" (case is ignored) extension, this will force JFBView to load it as a PDF.

--cache_size=n Selects the number of pages to cache. JFBView has a in-memory cache of pages rendered at a particular zoom and rotation setting. However, you may wish to adjust the cache size down if this cache is consuming too much memory, or you may wish to adjust the cache size up for increased performance. If you have an older machine with limited RAM you may want to set it close to zero.

KEY BINDINGS - MAIN VIEW


JFBView has a set of vi-like key bindings and many commands can be prefixed with a number. These are shown with a [n] prefix below.

q Quit.

Tab Open OUTLINE VIEW (table of contents, i.e., TOC; see below).

/ Open SEARCH VIEW (see below).

[n]arrow keys, [n]h/l/k/j Move left/right/up/down.

[n]Space/^F Move n screens down. Default is 1.

[n]^B Move n screens up. Default is 1.

[n]PageDown/PageUp Go down / up n pages. Default is 1.

[n]=/+ Zoom in n times. Default is 1.

[n]- Zoom out n times. Default is 1.

s Zoom to screen width.

a Zoom to fit.

HOME/END Go to first / last page in document.

[n]G/g Go to page n. Default for G is last page; default for g is first page.

[n]m Save current position, zoom and rotation in document in bookmark n. The default is 0.

[n]` Restore saved position, zoom and rotation in bookmark n. The default is 0.

[n]r Set rotation to n degrees. Default is 0.

[n]>/. Rotate 90 degrees clockwise n times. Default is 1.

[n]</, Rotate 90 degrees counter-clockwise n times. Default is 1.

[n]z Set zoom to n percent.

e Reload current file from disk.

KEY BINDINGS - OUTLINE VIEW


The outline view is toggled by the Tab key.

Tab/q/Esc Toggle outline view.

j/Down, k/Up Move down or up.

PageDown/PageUp Go down / up one page.

Enter/g Go to selected item.

Space Fold/unfold selected item.

zR Unfold all.

zM Fold all.

KEY BINDINGS - SEARCH VIEW - SEARCH TEXT



Esc Toggle search view.

Enter Start search.

Tab/Down/PageDown Go to search results.

KEY BINDINGS - SEARCH VIEW - SEARCH RESULTS



q/Esc Toggle search view.

Space/Enter/g Go to selected item.

j/Down, k/Up Move down or up.

PageDown/PageUp Go down / up one page.

Tab// Go to search text.

http://seasonofcode.com/pages/jfbview.html
https://github.com/jichu4n/JFBView
http://seasonofcode.com/assets/files/jfbview.html

Date: 2018-01-19 12:16 am (UTC)From: [identity profile] romanych11.livejournal.com
Консольные вещи, это хорошо, но указать путь к файлам это мазохизм, особенно если там немерянное количество знаков или как в Виндоус файл расположен в профиле пользователя, профиль в папке документ энд сеттингс и всё это набирать ручками

Date: 2018-01-20 08:07 am (UTC)From: [identity profile] uzverss.livejournal.com
есть же автодополнение по табу

Profile

uzverss: (Default)
uzverss

December 2024

S M T W T F S
12345 67
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 22nd, 2026 02:48 am
Powered by Dreamwidth Studios