Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-18 Thread Guenter Milde
On 2017-01-14, Paul A. Rubin wrote: ... > Is there any evidence that xdg-mime/xdg-open will ever be safe? Not bullet-proof but maybe safe enaugh to be used as default. +1 in a properly configured system, the system-wide user preference will be honoured, no need to configure preferences for

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-16 Thread Paul A. Rubin
On 01/16/2017 04:28 AM, Pavel Sanda wrote: Guenter put X-Apps into configure script, so my understanding is that MINT should be covered now. Pavel Great! Thanks to all. Paul

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-16 Thread Pavel Sanda
Paul A. Rubin wrote: > As far as standing pat, I can testify that this represents a PITA for Mint > users once they upgrade to 18.1 (or maybe 18.0), because the X-Apps are not > recognized and, depending on what else they have installed, they can end up > with no viewers or gimp and notepad

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-14 Thread Paul A. Rubin
On 01/14/2017 06:01 AM, Guenter Milde wrote: On 2017-01-14, Pavel Sanda wrote: Guenter Milde wrote: A more general question to all developers: When checking for default viewer/editor applications during (re)configure, should LyX a) prefer feature rich applications, or b) prefer small and

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-14 Thread Guenter Milde
On 2017-01-14, Pavel Sanda wrote: > Guenter Milde wrote: >> A more general question to all developers: >> When checking for default viewer/editor applications during (re)configure, >> should LyX >> a) prefer feature rich applications, or >> b) prefer small and fast-starting applications. > As I

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-13 Thread Pavel Sanda
Paul A. Rubin wrote: > I don't know why Linux distributions store MIME associations in so many > different places, but in any event we apparently can't count on xdg-mime to > find the correct associations, and there is no painless way for a user to > fix that (at least none that I can find). My

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-13 Thread Pavel Sanda
Guenter Milde wrote: > A more general question to all developers: > > When checking for default viewer/editor applications during (re)configure, > should LyX > > a) prefer feature rich applications, or > b) prefer small and fast-starting applications. As I don't see any obvious choice I would

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-13 Thread Paul A. Rubin
On 01/13/2017 09:19 AM, Guenter Milde wrote: IMV, using xdg-mime query seems the right way but not easy. Maybe you can open an enhancement ticket. tl;dr I'm now having second thoughts about it. I discovered xdg-mime returns incorrect information on my laptop (including naming applications

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-13 Thread Guenter Milde
On 2017-01-13, Paul A. Rubin wrote: > On 01/13/2017 03:27 AM, Guenter Milde wrote: >> A more general question to all developers: >> When checking for default viewer/editor applications during (re)configure, >> should LyX >> a) prefer feature rich applications, or >> b) prefer small and

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-13 Thread Stephan Witt
Am 13.01.2017 um 14:32 schrieb Paul A. Rubin : > > On 01/13/2017 03:27 AM, Guenter Milde wrote: >> A more general question to all developers: >> >> When checking for default viewer/editor applications during (re)configure, >> should LyX >> a) prefer feature rich

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-13 Thread Joel Kulesza
On Fri, Jan 13, 2017 at 1:27 AM, Guenter Milde wrote: > > A more general question to all developers: > > When checking for default viewer/editor applications during (re)configure, > should LyX > > a) prefer feature rich applications, or > b) prefer small and fast-starting

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-13 Thread Paul A. Rubin
On 01/13/2017 03:27 AM, Guenter Milde wrote: A more general question to all developers: When checking for default viewer/editor applications during (re)configure, should LyX a) prefer feature rich applications, or b) prefer small and fast-starting applications. Current praxis seems to be:

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-13 Thread Guenter Milde
On 2017-01-12, Scott Kostyshak wrote: > On Thu, Jan 12, 2017 at 04:08:18PM +0100, Günter Milde wrote: >> commit 8e65250110cc0003b370c71e27c5713b8051ac0e ... >> * Under Linux, notepad comes with the Windows emulator "wine" >> but it is not a good choice for the default text editor. > If I

Re: [LyX/master] configure.py: Make 'notepad' last in text editor list

2017-01-12 Thread Scott Kostyshak
On Thu, Jan 12, 2017 at 04:08:18PM +0100, Günter Milde wrote: > commit 8e65250110cc0003b370c71e27c5713b8051ac0e > Author: Günter Milde > Date: Thu Jan 12 15:35:24 2017 +0100 > > configure.py: Make 'notepad' last in text editor list > > Place "notepad" at the end of