Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [zathura]

A keyboard-friendly customizable document viewer with plugins for different document types.

Filter by
Sorted by
Tagged with
0 votes
1 answer
346 views

In Zathura, is it possible to correctly show a pdf with mixed page orientation?

Running Zathura 0.5.4, when opening a pdf that has mixed page orientation (some pages landscape, some portrait), Zathura will not correctly display the pages. It will stick with whatever the first ...
randouser's user avatar
0 votes
0 answers
138 views

Are there any way to restore closed tabs in okular pdf viewer?

I am on an Arch Linux machine and okular is probably the best pdf viewer, except just one lacking feature which is restoring tabs when you reopen Okular. Now since there is no default option for doing ...
souraj ghosh's user avatar
0 votes
1 answer
512 views

Open a new instance of a pdf file with zathura

I love zathura to read my PDF but there is an important feature I am missing. How can I open a copy on the current file (in another instance of zathura)? Thanks for your help! Update (solution): For ...
mahaaaham's user avatar
0 votes
0 answers
114 views

Set Different Scroll Speeds for j/k Keys and Touchpad in Zathura?

I've recently made adjustments to my Zathura PDF viewer's scrolling settings by adding set scroll-step 1 to my .zathurarc configuration file, aiming to slow down the scrolling speed. However, this ...
fevar's user avatar
  • 1
0 votes
1 answer
269 views

How to enable reading PDF annotations in zathura

I'm using Zathura document viewer and I wanted to have some support for PDF annotations, I'm using the ZATHURA-PDF-MUPDF and as far as I know mypdf has support for PDF annotations, but yet Zathura ...
Abdelrahman Dwedar's user avatar
3 votes
1 answer
124 views

zathura and ownership of files in /proc/PID

Yesterday, while writing an answer to How to get full path names of all opened pdf files (in zathura) - like rofi does, I noticed something weird about the ownership of files the /proc/PID/ directory ...
cas's user avatar
  • 79.2k
0 votes
2 answers
213 views

How to get full path names of all opened pdf files (in zathura) - like rofi does

I am trying to get the full path of every PDF that I have opened in the zathura viewer. I know it is possible, since with rofi -show window, I can see the full path. I have tried running ps -p $(pgrep ...
I.P's user avatar
  • 121
0 votes
3 answers
1k 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 ...
Mitsworth SCZD's user avatar
0 votes
1 answer
120 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 ...
Revise's user avatar
  • 133
2 votes
2 answers
864 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 ...
Peatherfed's user avatar
1 vote
0 answers
1k 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 ...
algae's user avatar
  • 117
0 votes
2 answers
1k 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?
llesh's user avatar
  • 13
1 vote
2 answers
5k 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 ...
Dargscisyhp's user avatar
0 votes
1 answer
692 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-...
jnanin's user avatar
  • 103
1 vote
1 answer
1k 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.
user avatar
1 vote
4 answers
214 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 ...
Lampros's user avatar
  • 143
0 votes
1 answer
501 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 ...
emilBeBri's user avatar
  • 227
1 vote
1 answer
910 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 ...
psygo's user avatar
  • 201
2 votes
0 answers
246 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 ...
Enlico's user avatar
  • 1,677
2 votes
2 answers
1k 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 ...
Lucas Cabral's user avatar
1 vote
1 answer
374 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 ...
GilbertDu's user avatar
5 votes
2 answers
1k 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 "...
szynka12's user avatar
3 votes
2 answers
946 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
vimdiesel's user avatar
0 votes
1 answer
429 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 ...
Diffycue's user avatar
  • 103
0 votes
1 answer
507 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 ...
Henry Shackleton's user avatar
1 vote
0 answers
292 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 ...
EFK's user avatar
  • 25
3 votes
2 answers
5k 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) ...
luca's user avatar
  • 142
6 votes
1 answer
12k 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.
user395980's user avatar
0 votes
2 answers
353 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 ...
user avatar
0 votes
1 answer
292 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 ...
Marv's user avatar
  • 103
2 votes
0 answers
475 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 ...
modperspec's user avatar
2 votes
1 answer
1k 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 ...
maddingl's user avatar
  • 644
4 votes
2 answers
933 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 `...
Galilean's user avatar
  • 554
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)
Chabon's user avatar
  • 11
1 vote
0 answers
461 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 ...
myc3lium's user avatar
0 votes
1 answer
1k 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 ...
Toothrot's user avatar
  • 3,485
6 votes
1 answer
2k 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 ...
PhoemueX's user avatar
  • 161
5 votes
1 answer
3k 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.
Senthil Kumaran's user avatar
2 votes
2 answers
463 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 ...
viuser's user avatar
  • 2,634
12 votes
0 answers
5k 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 ...
Peter Wildemann's user avatar
1 vote
3 answers
3k 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 ...
Rastapopoulos's user avatar
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 ...
emacsomancer's user avatar
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 ...
SddS's user avatar
  • 225
3 votes
1 answer
973 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 ...
Jonathan Fuzaro Alencar's user avatar
1 vote
2 answers
2k 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 ...
Dr Krishnakumar Gopalakrishnan's user avatar
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-...
PlasmaBinturong's user avatar
11 votes
1 answer
8k 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 ...
Nadim Hussami's user avatar
11 votes
1 answer
7k 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 ...
PlasmaBinturong's user avatar
4 votes
0 answers
480 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 ...
PlasmaBinturong's user avatar
6 votes
0 answers
1k 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 ...
Philipp L.'s user avatar