Questions tagged [zathura]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 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 + ...
user avatar
0 votes
0 answers
36 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 ...
user avatar
  • 107
0 votes
0 answers
14 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, ...
user avatar
0 votes
0 answers
21 views

Zathura mapping button 4 5 6 and 7. Ubuntu 21.10

I was trying to map the mouse button 4/5 (wheels) to navigation. I used map <Button4> navigate previous but it did not work. It works for <Button3> but not for button 4 5 6 7. Anyone ...
user avatar
  • 1
0 votes
0 answers
96 views

zathura displays selection rectangle when opening a pdf

Whenever I open zathura the yellow selection rectangle appears starting in the top left corner and follows my mouse around. I can select text normally, during which the rectangle stands still, but as ...
user avatar
0 votes
1 answer
105 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?
user avatar
  • 13
0 votes
0 answers
216 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 ...
user avatar
0 votes
1 answer
59 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-...
user avatar
  • 103
0 votes
0 answers
193 views

Zathura transparent background is just black

I'm using Zathura on Ubuntu 20.04 with i3wm and compton. I want to set the background to be transparent, so I can view my wallpaper through it. Setting :set default-bg "rgba(255,255,255,0)" ...
user avatar
  • 111
0 votes
1 answer
163 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
  • 371
1 vote
4 answers
146 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 ...
user avatar
  • 23
0 votes
1 answer
150 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 ...
user avatar
  • 125
0 votes
1 answer
277 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 ...
user avatar
2 votes
0 answers
244 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 ...
user avatar
  • 1,012
2 votes
1 answer
406 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 ...
user avatar
0 votes
1 answer
171 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 ...
user avatar
4 votes
2 answers
585 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 "...
user avatar
2 votes
2 answers
439 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
user avatar
0 votes
1 answer
233 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 ...
user avatar
  • 103
0 votes
1 answer
289 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 ...
user avatar
1 vote
0 answers
177 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 ...
user avatar
  • 25
3 votes
2 answers
2k 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) ...
user avatar
  • 132
2 votes
1 answer
6k 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.
user avatar
0 votes
2 answers
109 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
148 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 ...
user avatar
  • 103
2 votes
0 answers
220 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 ...
user avatar
2 votes
1 answer
770 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 ...
user avatar
  • 444
3 votes
2 answers
580 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 `...
user avatar
1 vote
1 answer
940 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)
user avatar
  • 11
1 vote
0 answers
296 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 ...
user avatar
0 votes
1 answer
515 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 ...
user avatar
  • 2,933
5 votes
1 answer
823 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 ...
user avatar
  • 151
3 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.
user avatar
2 votes
1 answer
361 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 ...
user avatar
  • 2,274
10 votes
0 answers
2k 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 ...
user avatar
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 ...
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 ...
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 ...
user avatar
  • 205
2 votes
1 answer
627 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 ...
user avatar
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 ...
user avatar
6 votes
1 answer
2k 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-...
user avatar
3 votes
1 answer
4k 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 ...
user avatar
10 votes
1 answer
5k 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 ...
user avatar
4 votes
0 answers
339 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 ...
user avatar
6 votes
0 answers
729 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 ...
user avatar
5 votes
3 answers
5k 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....
user avatar
  • 24.6k
6 votes
3 answers
4k 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 ...
user avatar
  • 259
38 votes
3 answers
17k 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.
user avatar
0 votes
1 answer
616 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 ?
user avatar
  • 2,933
1 vote
1 answer
561 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 ...
user avatar
  • 95