Re: Application id, XDG App, and you.
- Date: Wed, 3 Feb 2016 21:23:00 -0800
- From: "Jasper St. Pierre" <jstpierre@xxxxxxxxxxx>
- Subject: Re: Application id, XDG App, and you.
There's one giant hole here, which is that the app ID is used as a
primary key for lots of things, like Favorited Applications, Preferred
MIME Type Handlers, Notification and Privacy settings and such, and a
Currently, we get around Favorited Applications in GNOME by having a
giant hashmap of changes, but this isn't scalable.
One thing I've wanted in the past is a very simple file to allow
someone to declare an alias for an application. So GNOME Clocks would
ship both an org.gnome.clocks.desktop and a gnome-clocks.desktop, the
latter looking something like:
Unless this is also taken care of in another way by xdg-app.
Otherwise, it's really unfortunate and kinda broken that we don't have
a good migration path here, especially as we're asking a lot of people
to make yet *another* change.
Also, we should probably update GApplication to emit a warning when
passing it an invalid ID like this.
On Tue, Feb 2, 2016 at 4:58 AM, Simon McVittie
> On 02/02/16 12:04, Emmanuele Bassi wrote:
>> In other words, if your app is named:
>> please consider renaming it to:
> Or org.gnome.foo_bar would also be fine.
> Similarly, if you own awesome-apps.example.com and want to use it for
> application IDs or D-Bus names, they should probably be called something
> like com.example.awesome_apps.MyApp.
> Simon McVittie
> Collabora Ltd. <http://www.collabora.com/>
> gtk-devel-list mailing list
gtk-devel-list mailing list