On 01/08/2017 12:29 PM, Paul A. Rubin wrote:
> On 01/08/2017 11:51 AM, Stephan Witt wrote:
>> Am 08.01.2017 um 17:04 schrieb Paul A. Rubin <parubi...@gmail.com>:
>>>
>>> At this point (having reloaded some programs), if I were to put the
>>> X-Apps at the end of their respective vectors and reconfigure LyX,
>>> none of the X-Apps would be selected. My default text editor would
>>> be notepad, which would require running the Wine emulator. My
>>> default PDF viewer would be Acrobat Reader (which would be okay with
>>> me). My default image viewer would be gimp, which I find much too
>>> cumbersome just for looking at an image. So I would end up having to
>>> edit the viewers in Tools > Preferences, which is exactly what I
>>> would be doing with the previous configuration script.
>>>
>>> Putting the X-Apps last in their respective vectors helps anyone who
>>> has none of the other tools installed, so it's certainly better than
>>> nothing. I can understand your being concerned about users suddenly
>>> finding a different viewer than what they previously had, but my
>>> understanding is that the X-Apps are direct substitutes for evince,
>>> gedit and (I think) xv, so it makes sense to me that their
>>> precedence in the list would match the precedence assigned to the
>>> apps they're replacing.
>> What about adding xdg-open instead to the list of PDF-viewers. This
>> should do the right thing on every distro, IMO.
>>
>> Stephan
>
> That would definitely work for me, provided that xdg-open was first
> rather than last on each list. Since it uses the system default
> applications, it seems to me it belongs at the start of the lists.

Pavel will probably explain why we keep deciding not to do this. I can't
remember.

Richard

Reply via email to