Re: Ctrl+R and the little eyeballs icon can only display in qpdfview

2021-11-28 Thread Steve Litt
Paul A. Rubin said on Sun, 28 Nov 2021 09:40:07 -0500



>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

Thanks Paul,

I don't file bug reports anymore. Every project has its own bug report
software, with its own questions, many of which I can't answer, at its
own URL that I need to locate. And on all too many projects, when you
look at the bug list, a lot of them are over a year old, marked
unimportant, or marked wontfix.

If this isn't happening to anyone else, then there's no need to fix
anything; I fixed my copy. If other people start reporting it, everyone
can look back at this thread and see a very thorough symptom
description from me.

Thanks,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Ctrl+R and the little eyeballs icon can only display in qpdfview

2021-11-28 Thread Steve Litt
Kornel Benko said on Sun, 28 Nov 2021 11:58:56 +0100

>Am Sat, 27 Nov 2021 20:53:34 -0500
>schrieb Steve Litt :
>
>> 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  
>
>You could check your new lyxrc.default for all lines containing "mupdf"
>and add them to the file 'preferences'. This file is not changed by
>reconfigure. Any entry in preferences will be preferenced over the
>ones in lyxrc.default.

Thanks Kornel,

Before making a move like that, I'd need to see some documentation
spelling out exactly how to do it. There are many different definitions
of "copy a line"; where, in what context, etc. I already spent 6 hours
getting past this problem, and I don't want to spend another 6 because
I blew up my LyX system doing the wrong thing.

Thanks,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Ctrl+R and the little eyeballs icon can only display in qpdfview

2021-11-28 Thread Paul A. Rubin

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

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Ctrl+R and the little eyeballs icon can only display in qpdfview

2021-11-28 Thread Kornel Benko
Am Sat, 27 Nov 2021 20:53:34 -0500
schrieb Steve Litt :

> 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

You could check your new lyxrc.default for all lines containing "mupdf"
and add them to the file 'preferences'. This file is not changed by reconfigure.
Any entry in preferences will be preferenced over the ones in lyxrc.default.

Kornel


pgpIuSD0EVreQ.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users