On 12/01/2015 03:23 PM, Scott Kostyshak wrote:
On Tue, Dec 01, 2015 at 02:12:49PM -0800, Joel VanderWerf wrote:
I upgraded from 2.1.4 to 2.2.0alpha2 (on ubuntu 15.10), and the PDF output
program changed from evince to okular.

In 2.1.4, the PDF output used evince (which I prefer). And when I run 2.1.4
now, it *still* uses evince (so this is probably not due to a systemwide
change).

On 2.2.0alpha2, the PDF output uses okular.

Not surprising. This is likely due to different preferences. Because we
wanted the 2.2.0alpha2 installation to be completely different, it is
good that it is not using the preferences from before.

You can try copying manually the preferences file used for 2.1.4. To see
where your user directory is, go to Help > About. Copy the file named
"preferences" from your 2.1.4 location to the 2.2.0alpha2 location.

One of the first things I did after upgrading was to copy both of

  ~/.lyx/preferences
  ~/.lyx/bind/user.bind

into the right places in .lyx2.2pre.

Also, apparently the setting I have been tweaking is "forward_search_pdf", which may be different from the setting that Ctrl-R uses to launch the PDF viewer? I can't find anywhere else to choose between okular and evince, though.

I tried to adjust Prefs/Output/PDF Command, but cannot seem to change the
program used for PDFs.

At first, the drop-down setting was blank (this was true in my settings for
both LyX versions). After selecting

Can you please send a screenshot of where it is blank? I would like to
debug this. I cannot reproduce-- for me, both Evince and Okular are
shown.

Sorry, I was unclear. The *selected* value is blank. The pop-up has several choices. (And I can select them, and the selection persists.) See attached.

However, changing the selection (and pressing Apply each time) has no effect. Ctrl-R always runs Okular (in 2.2pre). Maybe this is my confusion about forward_search_pdf.

I just noticed that in lyx 2.1.4, the PDF program that Ctrl-R runs is always evince, even if I selected okular. Hm. Perhaps there is some error, and 2.2 falls back to okular, but 2.1 falls back to evince? (Both okular and evince are in /usr/bin, so it's not a PATH issue.)

Reply via email to