You are not logged in.
Hi,
Here is simple patch against 89e8ebdc / 0.0.8.3 to fix the key-grabbing issue when switching to fullscreen. I do believe this fixes http://bt.pwmt.org/view.php?id=33
diff --git a/zathura.c b/zathura.c
index 370c589..9e5b38a 100644
--- a/zathura.c
+++ b/zathura.c
@@ -2559,6 +2559,8 @@ sc_toggle_fullscreen(Argument* argument)
Zathura.Global.mode = FULLSCREEN;
fs = FALSE;
+
+ isc_abort(NULL);
}
else
{
/A
Offline
Is it possible to make Zathura compatible with the numpad for numbers and the +/- symbol?
Also to help with this bug:
https://bugs.archlinux.org/task/23387
Could a .desktop file be included in the Zathura source?
Offline
Also to help with this bug:
https://bugs.archlinux.org/task/23387
Could a .desktop file be included in the Zathura source?
Write it and submit it. mlq has been extraordinarily receptive to community involvement, so there's a very good chance that it will be included.
Offline
Is it possible to make Zathura compatible with the numpad for numbers and the +/- symbol?
Also to help with this bug:
https://bugs.archlinux.org/task/23387
Could a .desktop file be included in the Zathura source?
It does include one, it was just installed into the wrong directory by default. It's fixed now and works for me.
Offline
Does anyone know the option equivalent to pressing 's' (zoom to width) in .zathurarc? Thanks
Offline
Hello,
Does anyone know the option equivalent to pressing 's' (zoom to width) in .zathurarc? Thanks
Like I answered you on the mailing list:
set adjust_open width
Best regards
Offline
Zathura is stylish and it does everything I need. The fact that it uses vim keybindings is fantastic.
Thanks for this wonderful pdf viewer. I love it dearly.
Offline
Like I answered you on the mailing list:
set adjust_open width
Best regards
Sorry, I didn't get the mail from the mailing list.
Thanks anyway.
Offline
Can you guys build the mupdf branch? I'm getting some kind of linker error, unfortunately my experience with C or linking is... underwhelming.
Offline
It builds here, but in the end it doesn't work.
Here's what I get
% zathura Einzelseiten_Katalog_GG_2011.pdf
error: could not open plugin directory: /usr/local/lib/zathura
info: /usr/lib/zathura/. is not a regular file. Skipping.
info: /usr/lib/zathura/.. is not a regular file. Skipping.
error: could not load plugin /usr/lib/zathura/pdf.so (/usr/lib/zathura/pdf.so: undefined symbol: opj_set_default_decoder_parameters)
error: Could not open configuration file '/etc/zathurarc'
error: Could not open configuration file '/home/army/.config/zathura/zathurarc'
% pacman -Qo /usr/lib/zathura/pdf.so
/usr/lib/zathura/pdf.so is owned by zathura-pdf-mupdf-git 20110707-1
% pacman -Qs zathura
local/zathura-girara-git 20110707-1 [0.11 MB]
Vim like document viewer
local/zathura-pdf-mupdf-git 20110707-1 [5.45 MB]
Adds PDF support to zathura by using the mupdf rendering library
So everyhting is installed, but there's a problem in the pdf plugin.
Offline
I would like to have highlighting feature in zathura ? Do you think about it ?
When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles
Offline
I was very glad to find this lightweight PDF viewer with a VIMesque approach. One question though.. I'm not able to change the print_command setting through the zathurarc file. If i do that, then I'm greeted with an error message:
sh: lp -d 'color' -P 1 '/home/ardo/docs/main.pdf': No such file or directory
This was obtained by just setting printer_command to the same value it has in config.h
set print_command "lp -d '%s' -P %s %s %s"
If I leave the print_command unchanged then printing with lp works just fine.
I want to change the print command because I need to print using gtklp which allows me to set all kinds of printing options that vary from one file to another. I can get it to work with this:
diff -aur old/config.def.h new/config.def.h
--- old/config.def.h 2011-09-02 17:41:07.949057270 +0300
+++ new/config.def.h 2011-09-02 17:27:57.000000000 +0300
@@ -74,7 +74,8 @@
/* printing */
char* list_printer_command = "lpstat -v | sed -n '/^.*device for \\(.*\\): .*$/s//\\1/p'";
-char* print_command = "lp -d '%s' -P %s %s %s"; /* printer / pages / file */
+//char* print_command = "lp -d '%s' -P %s %s %s"; /* printer / pages / file */
+char* print_command = "gtklp %s"; /* file */
/* open uri */
char* uri_command = "firefox %s"; /* uri */
diff -aur old/zathura.c new/zathura.c
--- old/zathura.c 2011-09-02 17:41:07.949057270 +0300
+++ new/zathura.c 2011-09-02 17:24:10.000000000 +0300
@@ -3629,11 +3629,11 @@
if(!Zathura.PDF.document)
return TRUE;
- if(argc == 0)
+ /*if(argc == 0)
{
notify(WARNING, "No printer specified");
return FALSE;
- }
+ }*/
char* printer = argv[0];
char* sites = (argc >= 2) ? g_strdup(argv[1]) : g_strdup_printf("1-%i", Zathura.PDF.number_of_pages);
@@ -3649,7 +3649,7 @@
}
char* escaped_filename = g_shell_quote(Zathura.PDF.file);
- char* command = g_strdup_printf(print_command, printer, sites, addit->str, escaped_filename);
+ char* command = g_strdup_printf(print_command, escaped_filename);
system(command);
g_free(sites);
This gives me what I want, but am I doing it the hard way? Should I be able to achieve the same goal with somehow editing the printer_command setting?
Offline
I'm not sure if this is a problem related to zathura or openbox and adeskbar but zathura opens without a proper icon in the taskbar which is difficult to identify when zathura is minimised. To better understand what I mean, I provide you a screenshot of my taskbar.
Regards
Offline
I'm not able to map the BackSpace key in zathura 0.0.8.4-2.
My ~/.config/zathura/zathurarc file has this:
map <BackSpace> scroll full_up
I also tried to define the mapping for normal mode only, but no luck:
map <BackSpace> scroll full_up normal
Has anyone been able to map BackSpace successfully? Thanks.
*Edit: I got no responses here, so I filed a proper bug report.
Last edited by sunaku (2011-09-28 16:35:52)
Offline
When I copy in Zathura, the text that that gets into the registry is one that is in the same page as the text inside the box, but not exactly the one inside the box. Is anyone else seen this (I guess) bug?
Cheers,
Manolo
Offline
When I copy in Zathura, the text that that gets into the registry is one that is in the same page as the text inside the box, but not exactly the one inside the box. Is anyone else seen this (I guess) bug?
Cheers,
Manolo
Yes, that is a known bug.
Offline
How would I select all the text of a document with serveral pages and copy it to clipboard?
Is the visual mode capable to do that?
Regards
If you don't mind using tools outside of Zathura, then you could convert the entire document into text (using pdftotext program -- part of poppler package) and extract your wanted portions.
Offline
orschiro wrote:How would I select all the text of a document with serveral pages and copy it to clipboard?
Is the visual mode capable to do that?
Regards
If you don't mind using tools outside of Zathura, then you could convert the entire document into text (using pdftotext program -- part of poppler package) and extract your wanted portions.
Oh, it seems pdftotext is even smarter than that. Its manpage shows that it accepts a page range to convert.
Last edited by sunaku (2011-09-29 04:07:04)
Offline
manolomartinez wrote:When I copy in Zathura, the text that that gets into the registry is one that is in the same page as the text inside the box, but not exactly the one inside the box. Is anyone else seen this (I guess) bug?
Cheers,
ManoloYes, that is a known bug.
I see, thank you, I'll keep an eye on the bug report.
Offline
Maybe a cardinal sin, but I'd like to see how "emacsy" I can get Zathura, but most of what I put in zathurarc doesn't work.
Like:
map <A-x> focus_inputbar
gives "no valid modifyer given"
What am I doing wrong?
I'm using version 0.8.4.
Offline
Can you please add the functionality to go to the next/previous slides by using left and right arrow keys as only up and down?
The current solution with up/down keys prevents presenters to be able to cycle through a presentation.
Regards
Offline
Zathura is a good PDF reader. Thank you for your work.
Are there plans to include continuous scrolling (across pages)?
Also, I recommend you have a look at mupdf which I find significantly faster. Maybe there are clever optimizations in mupdf that zathura could use?
Offline
Are there plans to include continuous scrolling (across pages)?
If you read the bug tracker or the previous posts in this thread, you'll see its in the next version.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline