How to open a pdf or a djvu on an specific instance of a document viewer?

Posted by ciro on Super User See other posts from Super User or by ciro
Published on 2012-07-08T07:31:08Z Indexed on 2012/07/08 9:17 UTC
Read the original article Hit count: 300

Filed under:
|
|
|
|

I want using any free Linux document viewer that does both pdf and djvu (Okular, Evince, etc.) to do the following:

magic_command('document-viewer','./11.pdf','instance1')
magic_command('document-viewer','./21.djvu','instance2')

two instances (windows) of document-viewer are opened one with 11.pdf and the other with 21.djvu

then:

magic_command('document-viewer','./12.djvu','instance1')
magic_command('document-viewer','./22.pdf','instance2')

the first instance (window) of document-viewer loads 12.djvu the second instance (window) of document-viewer loads 22.pdf

© Super User or respective owner

Related posts about linux

Related posts about pdf