Default Program | File Association

Sean Middleditch elanthis at
Wed Jan 7 17:47:58 EET 2004

On Wed, 2004-01-07 at 10:09, Thomas Leonard wrote:

> - Shared *defaults* don't make a lot of sense. The default GNOME browser
>   isn't the same as the default KDE browser. However, if the database of
>   possibilities only has one possibility, you could set your application
>   to use that as the default (so clicking index.html will use Firebird, if
>   Firebird is the only browser installed).

An idea here to set add priorities to the handler list.  Epiphany might
have the priority "GNOME:10", and Konquerer might have the priority
"KDE:10", and Firebird might have "GNOME:5,KDE:5".  When GNOME asks for
a default, it looks at those with "GNOME" first, and thus Epiphany would
be returned, as it is the app with the highest "GNOME" priority. (unless
the user over-rode this in their settings).  KDE would get konquerer. 
If, say, Epiphany wasn't installed, then the browser with the highest
GNOME priority would be Firebird.  If that isn't installed either, then
the result would be Konquerer.

> Good luck,
Sean Middleditch <elanthis at>
AwesomePlay Productions, Inc.

More information about the xdg mailing list