Ctrl+R and the little eyeballs icon can only display in qpdfview <SOLVED>
Steve Litt
slitt at troubleshooters.com
Sun Nov 28 01:53:34 UTC 2021
Paul A. Rubin said on Sat, 27 Nov 2021 17:57:57 -0500
>On 11/27/21 4:44 PM, Steve Litt wrote:
>>
>> Armed with the knowledge that reconfigure.py writes to
>> lyxrc.defaults, and the fact that I could find no other way to
>> change the PDF viewer, I edited reconfigure.py, changing the order
>> of the viewers in the array argument to subroutine CheckViewer(),
>> *only* for a filetype of PDF. Sure enough it worked, giving me the
>> first viewer, in the array, that was on my path.
>>
>Was that viewer mupdf? Since the config script looks for mupdf and
>apparently wasn't finding it (?), I'm wondering if the problem isn't
>something to do with your command path.
Here's the thing. LyX exhibited this symptom for *every* previewer
except for qpdfview. When I temporarily uninstalled qpdfview so it
couldn't be found, it used a second viewer, and no attempt to use
any third viewer would displace the second viewer. LyX was obviously
going down a list and using the first viewer, on that list, that it
found. I found just such a list in reconfigure.py, reordered the list,
and changed it to use mupdf, and it used mupdf.
So until somebody can show me a way to select a viewer to assign to the
eyeballs, my conclusion is the only way to set the eyeballs viewer is
to go into reconfigure.py and rearrange the viewer array argument of
CheckViewer() in cases where the filetype is PDF.
SteveT
Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
More information about the lyx-users
mailing list