You are not logged in.

#576 2015-11-13 05:20:02

Herbalist
Member
Registered: 2014-01-12
Posts: 55

Re: zathura - a document viewer

Is there any way to make the scrollbars hidden?
I have these lines added to ".config/zathura/zathurarc"

set show-scrollbars false
set show-v-scrollbar false
set show-h-scrollbar false

they don't seem to have any effect.

Offline

#577 2015-11-14 17:41:21

teckk
Member
Registered: 2013-02-21
Posts: 518

Re: zathura - a document viewer

from man zathurarc

   guioptions
       Shows  or  hides GUI elements.  If it contains 'c', the command line is dis-
       played.  If it contains 's', the statusbar is  displayed.   If  it  contains
       'h',  the vertical scrollbar is displayed.  If it contains 'v', the horizon-
       tal scrollbar is displayed.

       o Value type: String

       o Default value: s

       
Example:
set guioptions    shv

Offline

#578 2015-11-14 22:21:05

Herbalist
Member
Registered: 2014-01-12
Posts: 55

Re: zathura - a document viewer

teckk wrote:

Example:
set guioptions    shv

I have the line

set guioptions s

in the top of the zathurarc file, also trying the different strings "c,s,h or v" from the command mode in zathura doesn't make any change.
I'm using the git version of the program from the AUR if that matters, but I also had the same issue when using the package in the official repos previously.

Offline

#579 2015-11-24 09:53:49

sebastinas
Member
Registered: 2013-11-19
Posts: 21

Re: zathura - a document viewer

Herbalist wrote:
teckk wrote:

Example:
set guioptions    shv

I have the line

set guioptions s

in the top of the zathurarc file, also trying the different strings "c,s,h or v" from the command mode in zathura doesn't make any change.
I'm using the git version of the program from the AUR if that matters, but I also had the same issue when using the package in the official repos previously.

If that does not work, there might a problem in the interaction of zathura and your theme. It either does not respect the scrollbar settings we set or overrides our settings. So please tell us more about your theme and GTK+ version.

Offline

#580 2015-12-12 06:21:57

bibek22
Member
From: Nepal
Registered: 2015-09-10
Posts: 90

Re: zathura - a document viewer

Feature request:
Autoscroll     like in the mobile apps like moonreader+.
Is this possible/doable?

Offline

#581 2016-01-12 04:28:41

bijanbina
Member
From: Tehran
Registered: 2014-07-13
Posts: 20
Website

Re: zathura - a document viewer

Hi

There is a feature in some pdf reader like evince that they can open a copy ( or clone ) from the current document by pressing ctrl + N
I know that I Can do something like that by enter :open <filename> but how can I get the current open file name so I can make a shortcut map to it for all cases

Thanks

Last edited by bijanbina (2016-01-12 04:36:01)

Offline

#582 2016-01-12 07:28:19

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: zathura - a document viewer

Hi,

bijanbina wrote:

I know that I Can do something like that by enter :open <filename> but how can I get the current open file name so I can make a shortcut map to it for all casess

You can add this to your zathurarc:

map <C-n> feedkeys ":exec zathura $FILE<Return>"

All the best,
Moritz

Offline

#583 2016-01-14 06:32:08

bijanbina
Member
From: Tehran
Registered: 2014-07-13
Posts: 20
Website

Re: zathura - a document viewer

mlq wrote:

Hi,

You can add this to your zathurarc:

map <C-n> feedkeys ":exec zathura $FILE<Return>"

All the best,
Moritz

Thanks for your kind help.
I really appreciate that.

But still one thing is missing. The new opened document, current page is not the same as the current page of it's parent, on the other hand it show the page saved in bookmark not the page that I view in the original (which is logically true but not what I really want)
Generally, is there any list available, that have all defined variable of zathura. just to be mentioned that, I can read code, so if you give me a hind I could find it in you sources

Last edited by bijanbina (2016-01-14 06:35:46)

Offline

#584 2016-01-15 22:30:04

bokiscout
Member
Registered: 2015-09-27
Posts: 24

Re: zathura - a document viewer

I'm reading the documentation for some time but still I can't figure out how to change the black color around the pdf document to some other color (ex, gray).

image of pdf surrounded with black color

Is this even possible?

Last edited by bokiscout (2016-01-15 22:32:33)


What's the object-oriented way of becoming wealthy?
- Inheritance

Offline

#585 2016-01-15 22:37:20

karlch
Member
Registered: 2015-06-14
Posts: 105

Re: zathura - a document viewer

Take a look at man zathurarc smile
This specific option should be default-bg.

Offline

#586 2016-01-15 23:15:00

bokiscout
Member
Registered: 2015-09-27
Posts: 24

Re: zathura - a document viewer

@karlch:
Strange, it was not working when applied on open document but it is working when set in the configuration file...

Thank you.

Last edited by bokiscout (2016-01-15 23:16:58)


What's the object-oriented way of becoming wealthy?
- Inheritance

Offline

#587 2016-02-04 11:17:04

JamesW
Member
Registered: 2014-11-26
Posts: 5

Re: zathura - a document viewer

ayekat wrote:
ArturShaik wrote:

Hello. Can I make dual page view start with second page? Because if I read magazines, there is title page, and I have wrong offset of pages.

set first-page-column 2

I'm having difficulty in getting this to work whether I set it from within

~/.config/zathura/zathurarc

or from the zathura command line.

All my other rc settings work fine however, so zathura is definitely reading the file.


motherboard:  ASUS M5A99X EVO R2.0
processor:       AMD Phenom II X6 1055T
graphics card: GeForce GTX 1050 Ti

Offline

#588 2016-02-04 11:25:44

sebastinas
Member
Registered: 2013-11-19
Posts: 21

Re: zathura - a document viewer

JamesW wrote:
ayekat wrote:
ArturShaik wrote:

Hello. Can I make dual page view start with second page? Because if I read magazines, there is title page, and I have wrong offset of pages.

set first-page-column 2

I'm having difficulty in getting this to work whether I set it from within

~/.config/zathura/zathurarc

or from the zathura command line.

All my other rc settings work fine however, so zathura is definitely reading the file.

We changed the format of first-page-column in 0.3.4. It's now "1 page per row[:2 pages per row[:...]]", i.e a list of first page column per number of pages per row separated by :. So "set first-page-column 1:2" (the new default) means if there is one column, put the first page in the first column, but if there are two column, put the first page in the second column.

Offline

#589 2016-02-04 11:33:33

JamesW
Member
Registered: 2014-11-26
Posts: 5

Re: zathura - a document viewer

sebastinas wrote:
JamesW wrote:
ayekat wrote:
set first-page-column 2

I'm having difficulty in getting this to work whether I set it from within

~/.config/zathura/zathurarc

or from the zathura command line.

All my other rc settings work fine however, so zathura is definitely reading the file.

We changed the format of first-page-column in 0.3.4. It's now "1 page per row[:2 pages per row[:...]]", i.e a list of first page column per number of pages per row separated by :. So "set first-page-column 1:2" (the new default) means if there is one column, put the first page in the first column, but if there are two column, put the first page in the second column.

That was quick!

Thank you for the reply; this now works perfectly.


motherboard:  ASUS M5A99X EVO R2.0
processor:       AMD Phenom II X6 1055T
graphics card: GeForce GTX 1050 Ti

Offline

#590 2016-02-04 20:17:20

ms
Member
From: Bandung, Indonesia
Registered: 2010-07-28
Posts: 80
Website

Re: zathura - a document viewer

@mlq,

Why its depend on texlive-bin again? [1]

[1] https://projects.archlinux.org/svntogit … 017618f8f3

Offline

#591 2016-02-05 16:16:22

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: zathura - a document viewer

ms wrote:

Why its depend on texlive-bin again? [1]

[1] https://projects.archlinux.org/svntogit … 017618f8f3

Initially, libsynctex was shipped together with zathura, because although texlive also provided libsynctex, it was not up-to-date.
Then, texlive was updated, and zathura no longer had to ship libsynctex on its own, because it could use the libsynctex provided by Arch's texlive package.
A few hours ago, the PKGBUILD was fixed to only depend on libsynctex instead of the entire texlive package.

→ a german discussion

Last edited by ayekat (2016-02-05 16:18:54)


pkgshackscfgblag

Offline

#592 2016-02-10 10:51:56

science404
Member
Registered: 2015-06-21
Posts: 20

Re: zathura - a document viewer

Does anyone know how to map a mouse-click to follow link?  Ideally something like Ctrl+Mouse1, or even just regular Mouse1.. kinda like the functionality in evince.

Offline

#593 2016-02-10 10:56:38

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: zathura - a document viewer

science404 wrote:

Does anyone know how to map a mouse-click to follow link?  Ideally something like Ctrl+Mouse1, or even just regular Mouse1.. kinda like the functionality in evince.

This works for me here - have you checked whether at least the links can be accessed via keyboard (pressing `f`)?


pkgshackscfgblag

Offline

#594 2016-02-10 10:59:06

science404
Member
Registered: 2015-06-21
Posts: 20

Re: zathura - a document viewer

ayekat wrote:
science404 wrote:

Does anyone know how to map a mouse-click to follow link?  Ideally something like Ctrl+Mouse1, or even just regular Mouse1.. kinda like the functionality in evince.

This works for me here - have you checked whether at least the links can be accessed via keyboard (pressing `f`)?

Yes, following links works with `f`

Currently for mouse1 I get "Copied selected text to selection primary" and it copies the letter under my click

Offline

#595 2016-02-10 11:03:20

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: zathura - a document viewer

Ah, I didn't even test it when I wrote; I'm sorry. smile

You can double-click on the link, that should work (although it still copies the selected text to the clipboard...)


pkgshackscfgblag

Offline

#596 2016-02-10 11:25:46

science404
Member
Registered: 2015-06-21
Posts: 20

Re: zathura - a document viewer

ayekat wrote:

Ah, I didn't even test it when I wrote; I'm sorry. smile

You can double-click on the link, that should work (although it still copies the selected text to the clipboard...)

Yup, I just noticed that too!  Thanks.

Offline

#597 2016-02-10 11:31:44

science404
Member
Registered: 2015-06-21
Posts: 20

Re: zathura - a document viewer

yet another question:

Is it possible to see colored boxes around links, like in evince?  I couldn't find any option for this in the man page for zaturarc

Offline

#598 2016-02-12 08:30:25

jrl
Member
Registered: 2016-02-12
Posts: 18

Re: zathura - a document viewer

Is there any way to copy text from a PDF in Zathura?

Selecting text with mouse results in Zathura claiming "Copied text to selection primary", but I haven't found any way to access that text, as if nothing is actually copied at all.

Offline

#599 2016-02-12 09:39:31

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: zathura - a document viewer

jrl wrote:

Is there any way to copy text from a PDF in Zathura?

Selecting text with mouse results in Zathura claiming "Copied text to selection primary", but I haven't found any way to access that text, as if nothing is actually copied at all.

to paste text from primary you will have to use middle mouse button/ or on laptop simultaneously click both left and right touchpad keys, I don't know though how to copy text to clipboard from zathura, if someone can help on that.

Offline

#600 2016-02-12 09:50:37

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: zathura - a document viewer

@Docbroke, one way is to keep your primary and clipboard selections in sync using a clipboard manager.

Offline

Board footer

Powered by FluxBB