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

S W Rayment swrayment at btinternet.com
Sat Dec 4 20:22:55 UTC 2021


Sidney William Rayment sasdly died in June this year. Please remove his 
email from your list

------ Original Message ------
From: "Steve Litt" <slitt at troubleshooters.com>
To: lyx-users at lists.lyx.org
Sent: Sunday, 28 Nov, 21 At 01:53
Subject: Re: Ctrl+R and the little eyeballs icon can only display in 
qpdfview <SOLVED>
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 
<http://www.troubleshooters.com/techniques>
-- 
lyx-users mailing list
lyx-users at lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users 
<http://lists.lyx.org/mailman/listinfo/lyx-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20211204/484614d5/attachment-0001.html>


More information about the lyx-users mailing list