Ctrl+R and the little eyeballs icon can only display in qpdfview <SOLVED>

Paul A. Rubin parubin73 at gmail.com
Sun Nov 28 14:40:07 UTC 2021


On 11/27/21 8:53 PM, Steve Litt wrote:
> 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
Very odd. The config script should check for all the viewers in the 
list, and all the ones it finds should appear in the select box for the 
corresponding file type. That works on my system (Linux Mint); I get 
three viewers sandwiched between None and Custom.

Might be worth filing a bug report.

Paul



More information about the lyx-users mailing list