You are not logged in.

#1 2009-09-18 15:32:10

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

zathura - a PDF viewer

zathura - a document viewer

Last edited by neldoreth (2011-03-15 10:23:23)


pwmt.org : programs with movie titles

Offline

#2 2009-09-18 16:00:59

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: zathura - a PDF viewer

your post wrote:

dependencies
  * poppler (>= 0.10.7)
  * cairo (>= 1.8.8)
  * gtk2 (>= 2.14)

your PKGBUILD wrote:

depends=('poppler-glib>=0.10', 'gtk2>=2.17', 'cairo<=1.8.8')

smile

very nice app, like uzbl for pdfs... can't wait to test it out.

Offline

#3 2009-09-18 16:05:06

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: zathura - a PDF viewer

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)


Bmpanel2 and obkey developer.

Offline

#4 2009-09-18 16:08:28

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: zathura - a PDF viewer

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?


(lambda ())

Offline

#5 2009-09-18 16:32:02

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,676

Re: zathura - a PDF viewer

Very nice. Thanks!

1. In the PKGBUILD:

arch=('i686', 'x86_64')

should be without the comma

2. gtk2=2.16.5 builds fine for me.

3. Got rid of all the control masks, working great  big_smile

Last edited by lolilolicon (2009-09-18 16:45:08)


This silver ladybug at line 28...

Offline

#6 2009-09-18 16:33:49

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: zathura - a PDF viewer

Looking good! Can't wait to try this out. smile


Memento mori

Offline

#7 2009-09-18 16:36:32

firecat53
Member
From: Sammamish, Wa
Registered: 2007-05-14
Posts: 1,445
Website

Re: zathura - a PDF viewer

Nice work smile
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!!

Thanks,
Scott

Offline

#8 2009-09-18 16:41:13

DeeCodeUh
Member
From: Michigan, USA
Registered: 2007-11-27
Posts: 176

Re: zathura - a PDF viewer

Fix the PKGBUILD please..

Offline

#9 2009-09-18 16:48:40

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,676

Re: zathura - a PDF viewer

@firecat
You truly are a good tester! smile
Cheers.

Edit:
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...

Offline

#10 2009-09-18 20:16:19

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,
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
   soon.
* 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.


pwmt.org : programs with movie titles

Offline

#11 2009-09-18 20:56:07

firecat53
Member
From: Sammamish, Wa
Registered: 2007-05-14
Posts: 1,445
Website

Re: zathura - a PDF viewer

1. Links - I still can't click any links -- I checked config.h and it's set to firefox, which I use (and dwm smile ) 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.

Thanks! Scott

Offline

#12 2009-09-18 21:06:22

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hi Scott,
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.

Thank you.


pwmt.org : programs with movie titles

Offline

#13 2009-09-18 21:48:07

firecat53
Member
From: Sammamish, Wa
Registered: 2007-05-14
Posts: 1,445
Website

Re: zathura - a PDF viewer

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.

Thanks!
Scott

Offline

#14 2009-09-18 22:39:54

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: zathura - a PDF viewer

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)

Offline

#15 2009-09-19 00:44:02

Falstaff
Member
Registered: 2008-11-03
Posts: 76

Re: zathura - a PDF viewer

Very promising this app. Command line shortcuts (ex: :q instead of :quit, etc) would be nice.

Offline

#16 2009-09-19 08:37:24

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: zathura - a PDF viewer

Nice I really like it wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#17 2009-09-19 08:48:29

droog
Member
Registered: 2004-11-18
Posts: 877

Re: zathura - a PDF viewer

Really nice, and a good config.h too <3

Offline

#18 2009-09-19 09:03:32

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,958
Website

Re: zathura - a PDF viewer

looks good


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#19 2009-09-19 10:59:49

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: zathura - a PDF viewer

Some way to hide the status/command/thingy bar would be nice.

Offline

#20 2009-09-19 12:10:21

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,
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.

Best regards


pwmt.org : programs with movie titles

Offline

#21 2009-09-19 13:00:11

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: zathura - a PDF viewer

Offline

#22 2009-09-19 13:23:58

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 616

Re: zathura - a PDF viewer

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?

Offline

#23 2009-09-19 13:31:21

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: zathura - a PDF viewer

Great work!

Offline

#24 2009-09-19 14:07:17

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,
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

Best regards


pwmt.org : programs with movie titles

Offline

#25 2009-09-19 14:24:14

mang
Member
From: stockholm/sweden
Registered: 2008-11-11
Posts: 27
Website

Re: zathura - a PDF viewer

i really like it! thank you:)

Offline

Board footer

Powered by FluxBB