zathura issueshttps://git.pwmt.org/pwmt/zathura/-/issues2021-02-10T15:11:08+01:00https://git.pwmt.org/pwmt/zathura/-/issues/206Remember zoom level and window size & position2021-02-10T15:11:08+01:00Dan DascalescuRemember zoom level and window size & positionI've just discovered Zathura via [this AskUbuntu question](https://askubuntu.com/questions/18495/what-pdf-viewers-are-available-for-ubuntu) - thanks for making it free!
I often open the same PDF, and by default the window is very small,...I've just discovered Zathura via [this AskUbuntu question](https://askubuntu.com/questions/18495/what-pdf-viewers-are-available-for-ubuntu) - thanks for making it free!
I often open the same PDF, and by default the window is very small, so I have to resize it and zoom in every time.
Is there a way to remember the window size and zoom factor?https://git.pwmt.org/pwmt/zathura/-/issues/207Inconsistent zoom level across screens2022-08-20T19:45:12+02:00MazeInconsistent zoom level across screensZoom level changes when moving zathura window between screens.
This also happens if opening a document on one screen and later opening it on the other screen (if history database is enabled)
Video demonstration [HERE](https://f.mazie.r...Zoom level changes when moving zathura window between screens.
This also happens if opening a document on one screen and later opening it on the other screen (if history database is enabled)
Video demonstration [HERE](https://f.mazie.rocks/zathura_zoom_issue.webm)
System information:
- OS: Arch Linux 64-bit
- WM: AwesomeWM
- Zathura version: zathura 0.4.7; girara 0.3.5 (runtime: 0.3.5); (plugin) pdf-mupdf (0.3.6) (/usr/lib/zathura/libpdf-mupdf.so)
- I have not used a custom zathurarc.
- In the video, I used a custom awesomewm configuration, but I have also reproduced this issue on the default awesomewm configuration.
- output of `xrandr -q` [HERE](https://f.mazie.rocks/xrandr_report.txt)https://git.pwmt.org/pwmt/zathura/-/issues/209Lots of memory usage when zoomed in2024-02-27T16:05:28+01:00LuXuLots of memory usage when zoomed inWhen I open a document the memory usage is normally ~100MB. But if I zoom in to the maximum level, the memory usage goes above 2GB every time. It drops back to ~100MB if I zoom out to a normal level. So I guess that much memory are used ...When I open a document the memory usage is normally ~100MB. But if I zoom in to the maximum level, the memory usage goes above 2GB every time. It drops back to ~100MB if I zoom out to a normal level. So I guess that much memory are used to render an extremely zoomed in pdf page. I can reproduce this with almost every pdf document.
zathura version is 0.4.7https://git.pwmt.org/pwmt/zathura/-/issues/210Use g instead of gg by default2021-02-02T16:59:25+01:00Sahid VeljiUse g instead of gg by defaultI use `map g goto top` in my zathurarc, which allows me to hit `g` to go to the first page (instead of `gg`), or `ng` to go to the nth page (instead of `ngg` or `nG`). I suggest making this the default in zathura since no other key bindi...I use `map g goto top` in my zathurarc, which allows me to hit `g` to go to the first page (instead of `gg`), or `ng` to go to the nth page (instead of `ngg` or `nG`). I suggest making this the default in zathura since no other key binding starts with `g`.https://git.pwmt.org/pwmt/zathura/-/issues/212[Feature Request] Best-fit mode adjusted according to statusbar toggling2021-07-15T22:14:25+02:00rv[Feature Request] Best-fit mode adjusted according to statusbar togglingHi,
when pressing `a` and viewing the page in best-fit mode part of the page gets covered by the statusbar (which can be removed, and the issue fixed, with `^n`). Could this be automated so the best-fit mode takes in account the space o...Hi,
when pressing `a` and viewing the page in best-fit mode part of the page gets covered by the statusbar (which can be removed, and the issue fixed, with `^n`). Could this be automated so the best-fit mode takes in account the space occupied by the statusbar and adjust its size to not get covered?
Sorry - and let me know - if I'm not being clear enough.
Thanks a lot in advance!, Zathura is amazing.https://git.pwmt.org/pwmt/zathura/-/issues/214Scroll up and down by 1/3 otherwise chosen amount2021-02-15T16:29:48+01:00agaScroll up and down by 1/3 otherwise chosen amountHi everyone,
is there an option to map a key to scroll down a page by 1/3 or some otherwise chosen amount like 30%, 20% or such?
Many thanks
agaHi everyone,
is there an option to map a key to scroll down a page by 1/3 or some otherwise chosen amount like 30%, 20% or such?
Many thanks
agahttps://git.pwmt.org/pwmt/zathura/-/issues/216[Feature Request] Table of contents/Index view lacking navigation shortcuts2022-01-08T07:41:25+01:00Eemeli Welling[Feature Request] Table of contents/Index view lacking navigation shortcutsI've found myself multiple times in a situation where I'm in the index view and wanting to scroll up and down with shortcuts, but they are missing it seems.
I would be interested in `<C-d>, <C-f>, <C-b>, <C-u>, <PageUp> and <PageDown>` ...I've found myself multiple times in a situation where I'm in the index view and wanting to scroll up and down with shortcuts, but they are missing it seems.
I would be interested in `<C-d>, <C-f>, <C-b>, <C-u>, <PageUp> and <PageDown>` shortcuts in index view.https://git.pwmt.org/pwmt/zathura/-/issues/219Exiting presentation mode will always turn on the status bar2021-07-17T13:35:55+02:00LuXuExiting presentation mode will always turn on the status bar... even if the status bar was turned off before entering the presentation mode.... even if the status bar was turned off before entering the presentation mode.https://git.pwmt.org/pwmt/zathura/-/issues/223[Feature request] inverse search by keyboard2021-07-15T22:13:44+02:00Son Van[Feature request] inverse search by keyboardHello,
I really appreciate zathura. It drives my daily reading and writing with TeX.
Is it possible to implement something like easymotion on zathura (please see https://github.com/easymotion/vim-easymotion) and make it work with invers...Hello,
I really appreciate zathura. It drives my daily reading and writing with TeX.
Is it possible to implement something like easymotion on zathura (please see https://github.com/easymotion/vim-easymotion) and make it work with inverse search? It would be awesome if this could be implemented! I think then I can remove my mouse completely.
Thank you very much!
Sonhttps://git.pwmt.org/pwmt/zathura/-/issues/224[Patch] Fix: Reloading / Refreshing of symlinked document does not work2023-05-11T17:25:27+02:00toluschr[Patch] Fix: Reloading / Refreshing of symlinked document does not workZathura has this neat feature, where it re-renders files when changed on disk. This does not work when the file is symlinked.
In this case, the file is linked to a fuse filesystem. My workdir looks like this:
```
document.pdf ⇒ /mnt/ser...Zathura has this neat feature, where it re-renders files when changed on disk. This does not work when the file is symlinked.
In this case, the file is linked to a fuse filesystem. My workdir looks like this:
```
document.pdf ⇒ /mnt/server/public/document.pdf
document.tex
```
Since I don't control the parameters to zathura myself (It is spawned by vimtex), I can't just do `zathura $(realpath ...)`. \
I think it would be best to 'fix' this in the zathura repo.
I'm not farmiliar with the code though, so I'll just post a very simple patch I made here, and hope someone can comment on it.
[follow-symlinks.patch](/uploads/e34a0ab740d2c728ac6161c488fc5220/follow-symlinks.patch)https://git.pwmt.org/pwmt/zathura/-/issues/225Option for running zathurarc command at Startup2022-08-20T19:48:39+02:00Daniel James PerryOption for running zathurarc command at StartupI've written a bash script that wraps around zathura and it's very useful for keeping all instances of it within `tabbed`.
However would like to set `recolor` depending on the time of day and currently there's no way to do that.
This co...I've written a bash script that wraps around zathura and it's very useful for keeping all instances of it within `tabbed`.
However would like to set `recolor` depending on the time of day and currently there's no way to do that.
This could happen in two ways:
1. Have a `--recolor` option.
2. Have a `-C` option which runs an arbitrary zathura command when the file is loaded.
I'd be happy with either one. Thank you for reading this and for the great software!
~"feature-request"https://git.pwmt.org/pwmt/zathura/-/issues/227can't change default Print dialog setting from US Letter to A4 in Openbox2021-11-16T00:12:55+01:00Joseph Harriottcan't change default Print dialog setting from US Letter to A4 in Openbox`Arch Linux 5.12.1` with `Openbox 3.6.1`, and using `papersize(5)` to set a4 or A4[^1]:
Zathura's `Print > Page Setup > Paper size` stays stubbornly at `US Letter`, so each time I want to print I need to go in there and reset it myself....`Arch Linux 5.12.1` with `Openbox 3.6.1`, and using `papersize(5)` to set a4 or A4[^1]:
Zathura's `Print > Page Setup > Paper size` stays stubbornly at `US Letter`, so each time I want to print I need to go in there and reset it myself...
Can anyone tell me how I can get `Zathura` to default to printing at `A4`?
[^1]: [Zathura's Print dialog in Openbox](https://bbs.archlinux.org/viewtopic.php?pid=1955082)https://git.pwmt.org/pwmt/zathura/-/issues/228[Feature request] Navigate to next page with scrolling2023-07-26T13:10:02+02:00Robert Kusznier[Feature request] Navigate to next page with scrolling## Problem
When I'm reading a **zoomed-in** document I need to progress through it using a sequence of 2 different keys: `J` (go to the next page) and `L` (scroll to the bottom of the page).
1. When I start I'm at the top of the page. ...## Problem
When I'm reading a **zoomed-in** document I need to progress through it using a sequence of 2 different keys: `J` (go to the next page) and `L` (scroll to the bottom of the page).
1. When I start I'm at the top of the page. I read the visible part.
2. Then I I scroll down using `L`. Then I read the bottom part.
3. I need to go to the next page so I press `J` (or `PageDown`).
(and the cycle repeats)
So to progress through a document I need to use sequence `L`, `J`, `L`, `J`... In my opinion it's not the best user experience, because you all the time have remember which button you need to press now.
## Proposed solution
I think it would make a lot of sense to add a command that would merge both scrolling and going to the next page:
- If you are not at the bottom of the page, scroll page by one screen, no more than to the bottom of the page (or to the bottom of the page, to make it simpler)
- If you already are at the bottom of the page, go to the next page
Such a command could be bound to a key, e.g. `Space`, and then the document could be progressed using single key strokes (`Space`, `Space`, `Space` ...), without a need to think which one you need to press now.
## Correct me if I'm wrong
Please correct me if I'm wrong and this is already possible somehow.
### `scroll-page-aware`
I actually see an option in `man zathurarc` that seem like it could work like this - `scroll-page-aware`. The problem is it doesn't work like this. Instead it has some pretty weird behavior that I find hard to understand and describe here.https://git.pwmt.org/pwmt/zathura/-/issues/232Enhance font thickness2021-07-14T18:03:57+02:00Reto SchnyderEnhance font thicknessOn low DPI displays, some fonts (like computer modern) can be very thin and hard to read. This is especially the case when using a dark recolor. It would be great if zathura could provide a feature to enhance legibility in that case.
I ...On low DPI displays, some fonts (like computer modern) can be very thin and hard to read. This is especially the case when using a dark recolor. It would be great if zathura could provide a feature to enhance legibility in that case.
I don't know if there is a way to improve this on the side of poppler / mupdf through font hinting or some such. If not, I suggest a setting to apply gamma correction to the output. I hacked together a proof of concept that applies a gamma correction of 1.5 before recoloring, see the following screenshot. In my opinon, the gamma corrected output (the lower screenshot) is much easier on the eyes. If there is interest, I can try implementing gamma correction as a proper setting.
![zathura-gamma](/uploads/70c517bb02e7f68a8ed18f039bb42955/zathura-gamma.png)https://git.pwmt.org/pwmt/zathura/-/issues/234add flip page feature2021-07-14T18:11:48+02:00Nikin Baidaradd flip page featureZathura is really great for viewing pdfs.
But one feature I am really missing is the one for a flip page.
Whenever I am in dual page mode, there is no way to bring the page on the right to the left side, as in flipping a page, or vice-v...Zathura is really great for viewing pdfs.
But one feature I am really missing is the one for a flip page.
Whenever I am in dual page mode, there is no way to bring the page on the right to the left side, as in flipping a page, or vice-versa to flip back.
Are there any new updates where this feature could be added?https://git.pwmt.org/pwmt/zathura/-/issues/236[Feature Request] Caret mode for text selection in zathura2022-05-11T13:24:51+02:00esiix vp[Feature Request] Caret mode for text selection in zathuraAs zathura is based for keyboard workflow there is only text selection available through mouse. It would have been good if it had caret mode like that in qutebrowser to select text. The caret mode is a mode where a caret appears on the ...As zathura is based for keyboard workflow there is only text selection available through mouse. It would have been good if it had caret mode like that in qutebrowser to select text. The caret mode is a mode where a caret appears on the pdf screen by clicking v and it can be moved around by using j,k,h and l.Clicking v or V again after caret mode puts in selection mode where we can select text like vim.https://git.pwmt.org/pwmt/zathura/-/issues/239How to remove Zathura's title bar in Mac2022-12-24T20:34:51+01:00MertcanHow to remove Zathura's title bar in MacIt seems like the title bar of a random pdf opened by Zathura is not removable in Mac. I checked the zathura manual and have not been able to find a solution. Here is the image of the title bar:
![1f7QS](/uploads/f3f506035ef0f89ae48af48...It seems like the title bar of a random pdf opened by Zathura is not removable in Mac. I checked the zathura manual and have not been able to find a solution. Here is the image of the title bar:
![1f7QS](/uploads/f3f506035ef0f89ae48af483136cf20a/1f7QS.png)https://git.pwmt.org/pwmt/zathura/-/issues/242Keybindings are forgotten when opened file changes2021-08-04T10:38:10+02:00Milad AlizadehKeybindings are forgotten when opened file changesSo I don't have a reliable way to reproduce this but I use Zathura with LaTeX and all my custom keybindings work fine in the beginning. However I constantly change the open PDF file as I edit and recompile the document. I think something...So I don't have a reliable way to reproduce this but I use Zathura with LaTeX and all my custom keybindings work fine in the beginning. However I constantly change the open PDF file as I edit and recompile the document. I think something goes wrong when Zathura tries to reload the document that causes to forget all keybindings and reset them to default ones. Is this a known issue?
Perhaps something is wrong with my zathurarc?
```
map r reload
map R rotate
map <C-p> print
map u scroll half-up
map d scroll half-down
map <C-[> jumplist backward
map <C-]> jumplist forward
map f toggle_fullscreen
map [fullscreen] f toggle_fullscreen
map <C-t> exec 'bash -c "touch \"$FILE\" && notify-send \"📆 Zathura: Updated timestamp to current time\""'
set selection-clipboard clipboard
set sandbox none
set adjust-open width
set recolor-keephue true
set synctex true
```https://git.pwmt.org/pwmt/zathura/-/issues/244Set separate font for completion menu headers2021-09-01T04:56:28+02:00Lokesh KrishnaSet separate font for completion menu headersCan we get an option to set a separate font or at least set a separate font style (italics) for the headers in the completion menus?Can we get an option to set a separate font or at least set a separate font style (italics) for the headers in the completion menus?https://git.pwmt.org/pwmt/zathura/-/issues/245Zathura's best-fit command ('a') for documents with varying page size2023-04-19T19:08:56+02:00strongthongZathura's best-fit command ('a') for documents with varying page sizeSomeone has written about this almost 3 years ago, but I don't think it's actually been brought up given I still see the problem persisting myself.
I'll copy it verbatim: https://unix.stackexchange.com/questions/468875/zathuras-best-fit...Someone has written about this almost 3 years ago, but I don't think it's actually been brought up given I still see the problem persisting myself.
I'll copy it verbatim: https://unix.stackexchange.com/questions/468875/zathuras-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 photograph of a book cover). In this case the 'best-fit' function (key 'a') of zathura always adjusts the zoom relative to the first page of the document, implying that for the rest of the document the pages are displayed smaller than they should be. This is particularly annoying when reading documents in 'double-page mode', leading to results as terrible as the following:
![yKsUd](/uploads/6af0ef28fd067f6bb17618dee16fc43d/yKsUd.png)
>**My Question:** Is there any way to change this behaviour such that the 'best-fit' function adjusts the size relative to the currently viewed page?