Re: Proposal for an intent-apps spec

2021-05-09 Thread David Faure
On dimanche 9 mai 2021 07:49:40 CEST Thayne wrote: > On Fri, May 7, 2021 at 2:51 AM Thomas Kluyver wrote: > > On Fri, 7 May 2021, at 07:14, Thayne McCombs wrote: > > > 2. For terminals that don't natively support DBus (xterm, alacritty, st, > > > urxvt, etc.) would you then need a seperate

Re: Proposal for an intent-apps spec

2021-05-08 Thread Thayne
On Fri, May 7, 2021 at 2:51 AM Thomas Kluyver wrote: > On Fri, 7 May 2021, at 07:14, Thayne McCombs wrote: > > > 2. For terminals that don't natively support DBus (xterm, alacritty, st, > > urxvt, etc.) would you then need a seperate desktop file for a wrapper > > that launched it with dbus

Re: Proposal for an intent-apps spec

2021-05-07 Thread David Faure
On vendredi 7 mai 2021 11:05:33 CEST Bastien Nocera wrote: > On Mon, 2021-05-03 at 12:13 +0200, David Faure wrote: > > * lookup desktop file from intent > > * start that process > > * make a DBus call to it > > How do you plan on implementing that in, say, xterm, or rxvt? It doesn't have to be

Re: Proposal for an intent-apps spec

2021-05-07 Thread Bastien Nocera
On Mon, 2021-05-03 at 12:13 +0200, David Faure wrote: > On lundi 3 mai 2021 12:04:30 CEST Bastien Nocera wrote: > > On Mon, 2021-05-03 at 11:44 +0200, David Faure wrote: > > > Hello everyone, > > > > > > I just created > > > https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/45 > > >

Re: Proposal for an intent-apps spec

2021-05-07 Thread Thomas Kluyver
On Fri, 7 May 2021, at 07:14, Thayne McCombs wrote: > 1. Where is the DBus interface for launching the terminal defined? It > isn't in this spec, is it part of a different spec? I think KDE & Gnome developers are planning to make a spec for that, but there isn't one yet. There's a lot of

Re: Proposal for an intent-apps spec

2021-05-07 Thread Thayne McCombs
On 5/3/21 4:13 AM, David Faure wrote: On lundi 3 mai 2021 12:04:30 CEST Bastien Nocera wrote: On Mon, 2021-05-03 at 11:44 +0200, David Faure wrote: This still doesn't fix the problem of knowing _how_ to launch applications in those terminals when the options are different, and expect different

Re: Proposal for an intent-apps spec

2021-05-06 Thread Thomas Kluyver
On Thu, 6 May 2021, at 13:25, David Faure wrote: > OK, I'll use that, I'll just replace "But" with "Remember however that", > since > IMHO "But" sounds a bit too much like there's a flaw in the spec, while this > is perfectly normal and expected. That makes sense, thanks! Thomas

Re: Proposal for an intent-apps spec

2021-05-06 Thread David Faure
On jeudi 6 mai 2021 12:27:21 CEST Thomas Kluyver wrote: > Better, but I think it still implies that reading all intentapps.list files > is sufficient to find all implementations of a given intent. I would say > something like: > > "It's also possible to put several implementations of an intent in

Re: Proposal for an intent-apps spec

2021-05-06 Thread Thomas Kluyver
On Thu, 6 May 2021, at 10:36, David Faure wrote: > OK, I added "In any case it should be consistent across runs rather than > random (e.g. based on the order of an unsorted list of files from a > directory)". Sounds good, thanks! > > I'm not sure about the last sentence you've now added: > >

Re: Proposal for an intent-apps spec

2021-05-06 Thread David Faure
On jeudi 6 mai 2021 11:12:47 CEST Thomas Kluyver wrote: > Yup, I agree - this is a recommendation rather than a specification. I like > what you've written for this now. Given the confusion with the equivalent > case in mime-apps, I might add a sentence like: > > "However, whatever we do should

Re: Proposal for an intent-apps spec

2021-05-06 Thread Thomas Kluyver
Hi David, On Thu, 6 May 2021, at 09:35, David Faure wrote: > > Of course, a launcher may > > have a hardcoded default for specific interfaces it recognises - e.g. KDE > > might pick Konsole for org.freedesktop.Terminal1 - but it should be > > prepared to handle interfaces it doesn't know. > >

Re: Proposal for an intent-apps spec

2021-05-06 Thread David Faure
On lundi 3 mai 2021 12:33:46 CEST Thomas Kluyver wrote: > There was a discussion recently about how a default application for a > mime-type was chosen when no mimeapps.lst specified a preference - some > launchers were giving semi-random results that changed unexpectedly. > > As you said, the new

Re: Proposal for an intent-apps spec

2021-05-03 Thread David Faure
On lundi 3 mai 2021 12:04:30 CEST Bastien Nocera wrote: > Please also make a formatted version of the spec available, it's easier > to read than docbook diffs ;) Done: http://www.davidfaure.fr/2021/intent-apps-spec-1.0.html -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE

Re: Proposal for an intent-apps spec

2021-05-03 Thread Thomas Kluyver
There was a discussion recently about how a default application for a mime-type was chosen when no mimeapps.lst specified a preference - some launchers were giving semi-random results that changed unexpectedly. As you said, the new spec closely follows mime-apps. I think it would be a good

Re: Proposal for an intent-apps spec

2021-05-03 Thread David Faure
On lundi 3 mai 2021 12:04:30 CEST Bastien Nocera wrote: > On Mon, 2021-05-03 at 11:44 +0200, David Faure wrote: > > Hello everyone, > > > > I just created > > https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/45 > > with the proposal for an intent-apps spec, modeled after the mime- >

Re: Proposal for an intent-apps spec

2021-05-03 Thread Bastien Nocera
On Mon, 2021-05-03 at 11:44 +0200, David Faure wrote: > Hello everyone, > > I just created > https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/45 > with the proposal for an intent-apps spec, modeled after the mime- > apps spec > (but without the concept of adding/removing