Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to open a pdf file multiple times with evince. I want to do this to be able to look at different sections of the same file at the same time. Everytime I try to open the file again, it only brings up the already opened evince window with my pdf file. I also tried to open a new evince window and then opening my file by using the menu of evince.

Is there any possibility to do this?

I also have the same issue with gedit. I managed to open the same text file twice, but everytime I save my file an annoying bar in the other window tells me that my file was modified.

share|improve this question

3 Answers 3

up vote 10 down vote accepted

In evince you can use File --> Open a Copy to open another window showing the same file.

share|improve this answer
1  
Well, that was easy. Thanks. –  Wauzl Apr 21 '12 at 10:38
3  
It's a nice feature and all. But first they create a problem, by ignoring multiple invocations, then they give you a menu entry to work around the problem they created. Grr. –  Adrian Ratnapala Apr 19 at 7:26
    
Heh! It's so easy!) Feel like a noob (maybe it's true) ;P –  Timur Fayzrakhmanov Dec 13 at 9:36

The accepted answer for this doesn't work for Evince anymore. To view the document multiple times in that program, select "View in new window" from the menu.

share|improve this answer
2  
In Ubuntu 14.04 the menu of Evince is patched to have the old menus. Nevertheless your answer is (probably) correct for everyone who does not use an old or patched version of Evince. Thank you! –  Wauzl May 6 at 7:46

But how can I open the file another time from the command line?

I want to open it in a script, and sometimes I already have it open somewhere else and it should not fail to open a new window with the script.

(Answering because I have not enough reputation to comment.)

Edit 1:

I found a solution: Using the -w command line option it always opens a new window. This option help says "open as a previewer" which does not tell me much.

Moreover I tried to use the --sm-client-disable (disable session manager) command line option, assuming that it will not find an existing session and open a new window - but this option does not yield the desired effect - it reactivates the existing window.

(I am doing this on Ubuntu 14.04.)

Edit 2:

Using evince -w has the side effect that it immediately terminates and that the PID cannot be used to find out if the process is still running. To maintain an open viewer to a PDF document and find out if that viewer has crashed is therefore not possible.

share|improve this answer
    
I think you should ask a new question as your problem is a bit different than the original question. You should link this question in your new one, I guess. –  Wauzl Dec 2 at 18:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.