* poppler (>= 0.10.7)
* cairo (>= 1.8.8)
* gtk2 (>= 2.14)
depends=('poppler-glib>=0.10', 'gtk2>=2.17', 'cairo<=1.8.8')
very nice app, like uzbl for pdfs... can't wait to test it out.
Looks nice. But I don't like the default "SHOW_SCROLLBARS 0" option. In openbox when you're simply using scrolled_window with scrolling policy set to NEVER (both) - it results in a big window, that simply cannot be less than PDF document + status/command bar in size. I mean if you're doing something like best fit (hotkey 'i') the window becomes bigger than the screen and it's really annoying. But I think it can be fixed somehow in GTK, unfortunatelly I don't know how exactly.
Are you using that kind of WM that doesn't really care about standards? (e.g. wmii, awesome, dwm)
I've tested using the PKGBUILD in AUR (I don't know if it's the same that is in your site).
1. In the package build it asks for gtk2>=2.17 as a dependency. I edited it to be gtk2>=2.16 and it compiled just fine.
2. The compilation time is very small. Congrats.
3. The j/k behavior is the opposite of what I expected, but it's easy to change.
4. I like the default colors.
5. One feature I really like in others PDF reader is that they save the page you were reading when you close the app. Any plans to implement this?
Very nice. Thanks!
1. In the PKGBUILD:
should be without the comma
2. gtk2=2.16.5 builds fine for me.
3. Got rid of all the control masks, working great
Last edited by lolilolicon (2009-09-18 16:45:08)
This silver ladybug at line 28...
Looking good! Can't wait to try this out.
1. Also the gtk2>=2.16 as noted above
2. The links command tells me there are two links, but not where they are. I also can't click or open them.
3. The export command keeps asking me for an export path, regardless of what I put there (~/ /home/firecat53/test.jpg, etc.)
4. It would be helpful to allow selecting text to the clipboard for a copy/paste (mouse and/or keyboard)
5. I tried the form command with a fillable form, but it didn't do anything.
6. Also recommend swapping the default j/k scrolling
7. ctrl-r rotates right correctly, but ctrl-e doesn't work properly.
Otherwise, it's a great little viewer!!
Fix the PKGBUILD please..
You truly are a good tester!
My little feature request: Open file path TAB Completion
And I guess you use dwm neldoreth?:P
Last edited by lolilolicon (2009-09-18 17:02:20)
This silver ladybug at line 28...
Thanks for the quick responses and the suggestions for improvement.
* Updated the PKGBUILD and the dependencies
* Adapted the j/k switch
* Scrollbar, this is definitely a bigger issue, if you are not using a tiling window manager
and want to live without scrollbars. Due to the fact that I personally use dwm I came
accross this problem very late; but I will definitely check for a suiteable solution.
* Path completion is one of the upper points on my todo list
* Click links - Ok, the thing is that this version just supports weblinks, which are opened
then in the webbrowser specified in the config.h; but i will act on the other PopplerActionTypes
* Concerning the form issue: You should be able to use it the following: ":form show" should mark
and number all the available editable form fields, which you can fill with ":form set number value".
* Rotation with Ctrl-e works here just fine, maybe this shortcut is reserved by your system?
* Select and copy text to the clipboard is now on my todo list
Thanks again and I will apply an update soon.
1. Links - I still can't click any links -- I checked config.h and it's set to firefox, which I use (and dwm ) I'm also getting these errors:
(zathura:1589): GLib-GObject-WARNING **: gsignal.c:2270: signal `activate-link' is invalid for instance `0x1136940'
(zathura:1589): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Unknown tag 'a' on line 1 char 75
2. Forms - ah, you might want to add the form show and form set to the docs. What do you have to say to get a checkmark or X in a box? No matter what I put for a checkmark box, it just makes the box disappear.
3. Suggestion - a history recall for the command line (like bash and vim -- using the up-arrow to see previous commands). Also, ctrl-e still doesn't work, and it's not assigned to anything else here. It actually rotates it right 90 then back left 90, and repeats that combo.
1) The reason of your error is your outdated GTK version; the "<a>" markup comes with an later version
2) You would say for example: ":form set 4 1" and to unset it use ":form set 4 0"
3) OK, now I got it - Fixed it locally, will push the new changes soon. And command history is a great idea.
1. Ah, well, I guess we'll all have to wait until the gtk2 version in extra gets bumped up.
2. Forms - :form set 4 1 and :form set 4 0. hmm, well that does the same thing -- the box just disappears and won't come back. FYI, I'm using a sample fillable pdf form from here.
Looks interesting. It's faster to start than epdfview, but I move between my mum and dad's houses, so there are different printers. Thus, I'll try using Zathura for general PDF viewing, and ePDFview when I want to print (or have someone else able to read a PDF).
Is it possible to have it run a command on startup? The first thing I do when opening a PDF is press 'i'.
Last edited by Barrucadu (2009-09-18 22:54:31)
Very promising this app. Command line shortcuts (ex: :q instead of :quit, etc) would be nice.
Nice I really like it
Shell Scripter | C/C++/Python/Java Coder | ZSH
Really nice, and a good config.h too <3
< Daenyth> and he works prolifically
4 8 15 16 23 42
Thanks for the further suggestions. I pushed some changes into the git repository:
* Multiple printer can be set in the configuration file or a new one can be named while executing the print command
* It is possible to use ~ in the open and export command
* Clicking on destination links works now
* Show/Hide inputbar
* Updated the dependencies to the right versions
* Switched j/k in the scrolling command
* Added command shortcuts
* Fixed the rotation
* Link command is for the preset only for showing external links
* Added some command explanation in the man page
* Adjust window on startup
Concerning the scrollbar "issue" I have not been able to find a suiteable solution last night without rewriting the whole ScrolledWindow behaviour (calculating the shown area of the page etc.), so right now you have to (if you're not using a tiling window manager like dwm) stay with shown scrollbars. In my point of view I personally don't understand while with the "never"-policy the whole behaviour of the ScrolledWindow and not just the display of the scrollbars itself disappear.
Also I tested the checkboxes with formfields with another PDF where it works without a problem, but I will check the given one.
It looks like a nice app. It reminded me of apvlv at http://code.google.com/p/apvlv/.
It appears to me as if the projects are trying to achieve something similar, or am I mistaken?
To be honest, I have not been aware of apvlv and I only took a short look at it right now. But basically yes, zathura tries to be a quite minimal pdf viewer, that is highly customizable to everyones needs (appearance, key bindings). It is also rather designed for keyboard fanatics and should implement all more or less necessary functions.
Thanks, Barrucadu for providing a PKGBUILD for the git version, where I added:
* Command history
* Reduced togglebar code