Questions tagged [zathura]
A keyboard-friendly customizable document viewer with plugins for different document types.
45
questions
0
votes
0answers
34 views
Error when excecuting firejail from zathura: cannot create /run/firejail/profile/14844
In zathura, I use :exec firejail firefox to start firefox with firejail. There is an error "cannot create /run/firejail/profile/14844" and firefox does not start. When I type firejail ...
0
votes
1answer
104 views
Setting default browser for zathura
So I have trouble setting the default browser for opening links in zathura.
I would like to use chrome however Palemoon is always used instead.
I am on Manjaro with i3.
First of all xdg-open "...
0
votes
0answers
27 views
zathura shortcut for backward sync (ctrl+click) [duplicate]
I have zathura set up with vim for forward backward search. In zathura, I need to Ctrl+click with the mouse to jump to the corresponding place in vim.
Is there a keyboard shortcut for this?
0
votes
2answers
99 views
How to create an alias that launches zathura with tabbed
So tabbed outputs it's xid when you run it. How could I put this into an alias dynamically?
I'm looking to do something like:
alias zathura = tabbed -c zathura -e ${tabbed Xid goes here} & disown
0
votes
1answer
100 views
Bare-bones pdf viewer that works with Amethyst tiling (macOS)
I want to have a bare-bones pdf viewer like zathura or mupdf-gl which can display a pdf, tile successfully with the window manager Amethyst, and be navigable with vim bindings.
I'm not wedded to any ...
0
votes
1answer
129 views
Trouble piping output of command into zathura
The zathura man page states
zathura displays the given files. If a single hyphen-minus (-) is given as file name, the content will be read from standard input. If no files are given, an empty ...
1
vote
0answers
81 views
Search in zathura bookmarks
Is it possible to search in bookmarks and "subookmarks" created from table of contents?
I need to read 1200 pages MCU datasheet and fast orientation in bookmarks is necessary. This feature is for me ...
2
votes
2answers
876 views
Regex search in PDF reader
I am using zathura, as I enjoy its minimalist approach, but I would also switch to mupdf or anything else if this would solve my problem.
I need to highlight every word (in PDF and epub documents) ...
2
votes
1answer
2k views
How to change white background color of zathura?
I want to change the white background color in zathura pdf reader.
I've tried for example
:set default-bg \#6db46
but only the corners change into green.
0
votes
2answers
54 views
Make cat interpret input as file (not string)
cat has two different behaviours depending on if its input is a string of file. I need to use cat to pipe a file to my PDF viewer (Zathura). The file name is based on a modified string with sed as ...
0
votes
1answer
73 views
How to bind a command to the # symbol in zathura
I want to customize my Zathura to allow me to type #name_of_a_bookmark, hit Enter and get sent to this bookmark.
Based on the answer of another question on this site I figured out that this can be ...
2
votes
0answers
110 views
Start Zathura at Specific Location on Screen
I would like to edit my zathurarc so that zathura opens at a specific location on my screen every time I open a pdf. What command do I need to put into the zathurarc file to achieve this? I have set ...
1
vote
1answer
482 views
how to pipe output of ps2pdf to zathura
I want to view manpages as pdf.
I tried the following:
man -t awk | ps2pdf - - | zathura (combination of this and the last example in the manpage of ps2pdf)
However, zathura just shows me a black ...
2
votes
2answers
311 views
Copying the filename to clipboard in zathura
I am trying to map a key in Zathura that copies the path of the currently opened path to the clipboard. I did this in my zathurarc
map <C-c> feedkeys ":exec xclip -i -selection clipboard `...
0
votes
1answer
422 views
How can I disable Zathura's statusbar by default?
I'd like to hide the statusbar by default when opening Zathura (Which is normally done with ^n)
1
vote
0answers
181 views
embedding zathura with xembed not working
I'm trying to open pdf files with zathura. When running zathura I'm passing the -e option to embed it in suckless' tabbed utility. This works initially, but while any subsequent zathura instances ...
0
votes
1answer
247 views
Scrolling down a whole page in Zathura
I have a problem in Zathura, namely that, if I read something where the text only uses some of the page, and zoom in on the text, then, when I press ctrl+f, I do not get the corresponding section of ...
5
votes
1answer
408 views
Can I retain quickmarks (not bookmarks) in Zathura after closing?
I recently discovered Zathura, and like it quite a bit. In particular, I like that I can use "quickmarks" as in vim. That is, by just pressing e.g. ma, I can create the quickmark a, to which I can ...
3
votes
1answer
1k views
Zathura pdf viewer Go back after following an internal link
I follow the link to the Appendix in my document, and I want to back to the previous spot of the document. How can I do this in Zathura pdf reader?
I cannot find a hotkey defined in the man page.
2
votes
1answer
286 views
Maximizing zathura window, scrambled display
With zathura 0.4, I get a scrambled display when I maximize the window; it then looks like this (zooms the content of the page, but doesn't adjust page borders. It also freezes navigation):
This ...
6
votes
0answers
983 views
Zathura's best-fit command ('a') for documents with varying page size
I'm usually using the wonderful document viewer 'zathura' for reading PDF-files. Typically, for some documents, the first page of the document is slightly larger than the rest (for example, a ...
1
vote
2answers
1k views
Open file from history in Zathura
Is this possible using a built-in command? AFAIK, it is not, so I am trying to define a mapping that uses the exec Zathura command to achieve this. In bash,
cat ~/.local/share/zathura/history | grep ...
3
votes
2answers
1k views
Zathura shortcut/feedkeys configuration for recolouring
I used to have the following in my .zathurarc config, which used to allow me to change the colour scheme by pressing Shift-1, Shift-2, Shift-3, Shift-4, to switch to original colour scheme, amber on ...
0
votes
2answers
1k views
How to get current document directory path from zathura
using $FILE (or %) in zathura I can run another viewer (e.g. Okular) to open current document like this:
:exec okular $FILE
I want same thing but for directories. I want to open containing document ...
2
votes
1answer
453 views
Question about Evince pdf scrolling
I love Evince; along with Zathura for more minimal PDF viewing, it's my favorite document viewer.
I have a question about when I scroll using the Ctrl key. When I use the J or K to navigate it acts ...
1
vote
2answers
729 views
Set the environment variable in bashrc for preferred PDF viewer
I am currently remoted into my linux workstation's command line environment (bash shell) using SSH with X11 forwarding enabled.
I am using the mendeley citation manager's desktop application to ...
4
votes
1answer
1k views
How to remap an existing keybinding in Zathura
After reading the man zathurarc for the map command, I still don't know how to remap an existing keybinding. By "remapping", I mean replacing a current keymapping for a given action.
Problem:
<C-...
3
votes
1answer
3k views
Can Zathura show pdf bookmarks generated by other pdf programs?
I have pdf ebooks with extensive (nested) bookmarks that are visible in all my other pdf readers (e.g. evince, foxitreader).
However, when I open said files in Zathura, running blist gives:
No ...
9
votes
0answers
4k views
How to read pdf annotations in Zathura?
I opened a pdf with annotations (created in evince) with Zathura, and I see the little yellow sign for notes at the right place, but how to open them?
It seems that there is a commit about it, but ...
3
votes
0answers
265 views
What is the --reparent option of zathura doing?
The first option explained in the manpage of the zathura pdf viewer is:
-e,--reparent=xid
Reparents to window specified by xid
I understand it as a way to open the pdf in an existing ...
6
votes
1answer
470 views
Let X11 window open in specific size and position
I installed zathura via homebrew from this github repository. It works well, but the window which zathura creates is an X11 (XQuartz) window which can't be controlled with BetterTouchTool. So I only ...
4
votes
3answers
4k views
Start Zathura full-screen / remember window size
How do I start the document viewer Zathura maximised?
Is there any way to get my window manager xfce to remember the last open window's size?
The default window size is only about 1/8th of my screen....
5
votes
3answers
3k views
Smooth scroll in Zathura
I am trying to enable the smooth scrolling feature in Zathura. I have the following line in my zathurarc: set smooth-scroll true, but the scrolling doesn't become smooth.
According to the ...
34
votes
3answers
12k views
How to enable copy-to-clipboard with zathura-pdf-poppler?
How do I make Zathura copy selected text to the system clipboard?
I'm using Zathura with the poppler PDF plugin.
0
votes
1answer
491 views
Can I define a new command in Zathura?
Can I define a short command, say dark, that is equivalent to, say
set recolor-lightcolor \#002b36
set recolor-darkcolor \#839496
?
1
vote
1answer
437 views
Force unique instance of Zathura pdf
I am working on a LaTeX document using Atom editor with the atom-latex package and wish to use Zathura PDF to preview my output. It works fine but whenever I build, it will open a new instance of the ...
3
votes
2answers
5k views
Zathura background colour cannot be changed?
I saw yesterday that Zathura has changed in appearance. It looks
better now, but the background colour is too bright for my liking
(I mean the colour at the edges, the background colour of the
...
1
vote
1answer
88 views
Missing letters in zathura's search
So I use the following Zathura version under FreeBSD 10.3
$ zathura --version
zathura 0.3.4
(plugin) pdf-mupdf (0.2.9) (/usr/local/lib/zathura/pdf.so)
I remember that some time ago an earlier ...
13
votes
1answer
3k views
How can I calibrate Zathura's zoom levels to my monitors?
I'm using Zathura (using the MuPDF plugin) to review various layouts for printing. It's important to me that I'm looking at things approximately the same size as they will come out on paper. I realize ...
19
votes
1answer
6k views
Can Zathura's “dual” page mode use a page offset?
When viewing PDFs that are setup for print, I often want to view facing page spreads. Typically PDFs are typeset such that the first page of the file/part/chapter always starts on a right page so ...
3
votes
1answer
731 views
Auto reload of modified file looses pan position in Zathura
I use Zathura as my PDF reader. It is great but I have an issue with the auto-reload. When I compile a .tex file, its associated .pdf file is automatically reloaded in Zathura and correctly displays ...
3
votes
1answer
442 views
Supress standard output in vim-latex-suite
I use Vim Latex-Suite together with the PDF reader Zathura. In the last versions of Zathura they decided to output the following warning:
"warning: Failed to loads bookmarks"
whenever a document has ...
13
votes
5answers
4k views
zathura: How do I add a keybind for exec?
zathura is my default PDF reader. Some files cause it trouble though, and in such cases I run
:exec acroread $FILE
which automatically opens the same file with Acrobat Reader.
How do I add a key ...
11
votes
2answers
7k views
Zathura: how to print specified pages
I would like to print some pages from a large pdf file within Zathura (typically the current, or a range of pages).
What is the syntax to do that?
Edit: The solution was quite obvious... By the ...
12
votes
2answers
4k views
Change zathuras display mode to single page only
I recently switched from Debian to Arch. Now I have a newer version of zathura, which displays the pages continuously. For poppler as well as mupdf, I need the discrete display mode. Is this fixed now?...