Question on service activation

Kevin Krammer kevin.krammer at
Fri Feb 23 14:43:13 PST 2007

On Friday 23 February 2007 22:54, Thiago Macieira wrote:
> Kevin Krammer wrote:
> >and additionally
> >
> >kontact-email.service
> >[D-BUS Service]
> >Name=org.freedesktop.EMail
> >Alias=org.kde.Kontact
> >
> >repeating the same for kontact-contacts.service,
> > kontact-calendar.service, kontact-notes.service, ...
> No, I don't think it should install those files. Many applications
> installing aliases would just confuse D-Bus and would be a problem with
> setting defaults.

Then it is not an option.

> Which in turn leads me to:
> >IMHO we should rather have an API where an application can ask to be
> > made the default, so the API can be implemented as a GUI asking the
> > user.
> I have no idea how that API would be. One thing that puzzles me to this
> day is how the default application for a given MIME type is selected.
> Applications declare that they support a given MIME type, but how does
> one of them get selected above others?

I think that all applications specify which MIME types they can handle and 
there is an additional database/file which lists priorities.

You could ask dfaure ;)

> Maybe we could use some of those ideas here. But if this gets too complex,
> we'll need to move it off the daemon.

I fine with either way. Just wanted to remind you that users really don't like 
it if things change without them knowing, something those who left Windows 
really hated there.

Therefore I think it is important to investigate possible solutions. If there 
is really no viable solution, we should at least have a good defense and/or a 
simple way to investigate which application is the offender.


Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the dbus mailing list