← Back to team overview

qpdfview team mailing list archive

Re: [Question #220809]: Open documents in separate windows

 

Question #220809 on qpdfview changed:
https://answers.launchpad.net/qpdfview/+question/220809

    Status: Open => Answered

Adam Reichold proposed the following answer:
Hello,

Yes, this is possible and there are several ways to do this. The fact
that all documents are opened in a single window is due to the "--
unique" command-line option being present in the default desktop file
shipped with the program.

So you can for example copy "/usr/share/applications/qpdfview.desktop"
into "~/.local/share/applications/" and change the command-line option.
Or you can use to default desktop file to create a second one without
the "--unique" command-line option to open documents in an independent
window. A simpler thing to do is to just run the command "qpdfview"
which should give you an independent window in any case.

There is also the possibility to use the "--unqiue" command-line option
together with the "--instance" option to create "named instances", i.e.
have several windows open and address them explicitly. For example, you
could have two desktop files in your home folder executing "qpdfview
--unique --instance foo %F" named "qpdfview (foo)" and "qpdfview
--unique --instance bar %F" named "qpdfview (bar)" to use two instances
and decide in which to open a specific file by choosing the
corresponding desktop entry. Details on this can also be found in the
manual page.

I hope this helps you to configure the program according to your needs.
Best regards, Adam.

-- 
You received this question notification because you are a member of
qpdfview, which is an answer contact for qpdfview.