Questions tagged [zathura]
A keyboard-friendly customizable document viewer with plugins for different document types.
60
questions
0
votes
0
answers
25
views
How to make a Zathura keybinding to execute two commands?
I want to set up a keybinding in Zathura that executes two things in tandem: First, go down a page length (Crtl+f, not PageDown) and then scroll a little bit up. I want to map this to Space + Down.
...
0
votes
1
answer
192
views
Make Zathura open by default a document with the window size
I want to configure my Zathura so that when I open a document automatically the size of the page of pdf adjusts to the size of the window.
Practical example
If i close the Zathura like this:
When i ...
0
votes
1
answer
68
views
Change executable path of a program
While I was trying to install mupdf backend for Zathura, I accidentally did pip install zathura (in user mode) as Meson build kept complaining about a missing dependency, and now the executable path ...
1
vote
2
answers
229
views
Zathura goto real page number
Some PDFs include metadata about their pages as to the real page number. For instance C1 for the cover page and roman numerals for the preface. Zathura displays these just fine, but right now commands ...
0
votes
0
answers
93
views
The keybindings for tabbed don't work in i3, why?
I have recently changed from XFCE 4 to i3wm and when i tried to launch zathura with tabbed feature like this:
nohup tabbed -f zathura -e
I get the reader, but when I try to open a new tab Ctrl + ...
0
votes
0
answers
758
views
zathura - The not-so-lightweight pdf reader
Long time user of zathura since it really is 'lightweight' in that there are no extraneous features. However, I often find myself running out of memory due to having several pdf's open at once. From ...
0
votes
0
answers
68
views
Allow zathura to run bash scripts
I found this blog post where he talks about how he manages to do his research Ph.D. thesis and maintain his Ph.D. thesis notes.
When I create a reference link to a note.xoj file and I click the link, ...
0
votes
1
answer
536
views
How to open pdf files inside a pane in tmux?
I am currently using Ubuntu 20.04 Gnome Desktop. My pdf app is zathura and currently using tmux. I was wondering is it possible to show pdf file in another pane in tmux?
0
votes
1
answer
1k
views
Best way to find/open files in Zathura
I like Zathura as a PDF reader quite a lot, but one feature I haven't found that I miss from other PDF readers is an easy way to open a file from within Zathura. The only way I know how to do this is ...
0
votes
1
answer
322
views
Zathura synctex-editor-command cannot open some editors such as VS Code
The document reader Zathura supports synctex forward and backwards search when working with LaTeX documents. The backwards (from Zathura to the editor) search is set through the --synctex-editor-...
0
votes
1
answer
444
views
Maximize zathura
How can I maximize zathura document viewer from the configuration? I've been looking at different resource files, but most people set the window height and width. I don't know why nobody maximizes it.
1
vote
4
answers
171
views
Program launches before piped into [duplicate]
man -k . | fzf -e --tiebreak=begin | awk '{print $1}' | xargs man -Tpdf | zathura -
# searches for a man page and then outputs it as pdf to zathura
This command lets the user choose a man page, and ...
0
votes
1
answer
353
views
zathura config keybinding not working as supposed to in the documentation?
According to the man-page, it's possible to rebind keys in zathura, but I can't seem to get it to work.
N is "search next" and n is "search previous". I would like it to be the ...
0
votes
1
answer
510
views
Is there a way of creating a hook on Okular for copying text when highlighting it?
Currently, when I use Okular, I can either be in highlight mode or text selection mode, but not both at the same time, which is very annoying because, while reading, I often copy excerpts of the text ...
2
votes
0
answers
245
views
How to troubleshoot why zathura doesn't follow web links? [duplicate]
I'm pretty sure that once I was able to
press f,
then enter a number,
finally hit Enter,
and the link opened in the browser (I use qutebrowser).
This doesn't seem to work anymore, in that following ...
2
votes
2
answers
705
views
zathura: Get current page number on exec command
Is there a variable similar to $FILE or % to get the current page number from Zathura?
I'm trying to write a script to generate a text/markdown file with annotations from the pdf I'm reading. It would ...
0
votes
1
answer
275
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 ...
4
votes
2
answers
938
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 "...
3
votes
2
answers
677
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
1
answer
328
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
1
answer
384
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
0
answers
233
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 ...
3
votes
2
answers
3k
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) ...
5
votes
1
answer
8k
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
2
answers
190
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
1
answer
206
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
0
answers
346
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 ...
2
votes
1
answer
927
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 ...
4
votes
2
answers
760
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 `...
1
vote
1
answer
1k
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
0
answers
367
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
1
answer
819
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 ...
6
votes
1
answer
1k
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 ...
5
votes
1
answer
2k
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
1
answer
395
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 ...
11
votes
0
answers
3k
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
3
answers
2k
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 ...
4
votes
2
answers
2k
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
2
answers
2k
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
1
answer
787
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
2
answers
1k
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 ...
6
votes
1
answer
3k
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-...
7
votes
1
answer
6k
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 ...
11
votes
1
answer
6k
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 ...
4
votes
0
answers
395
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
0
answers
979
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 ...
5
votes
3
answers
7k
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....
6
votes
3
answers
5k
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 ...
40
votes
3
answers
20k
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.
1
vote
1
answer
687
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
?