On Sunday 06 of June 2010, Cristian Morales Vega wrote:
2010/6/6 Cristian Morales Vega
: So, could someone explain me the full logic to select the priority of apps?
I don't think anybody here knows it exactly without digging in the sources. As far as I can tell you are correct, it is based on InitialPreference.
I was going to wait to first understand this before asking about the change in opensuse-factory. But since I saw Gnome has the problem fixed it's pretty KDE specific now.
Gnome has a /etc/gnome_defaults.conf file, from the glib2-branding-openSUSE package, from which /usr/share/applications/defaults.list is created. So the default app for a MIME type in Gnome is well defined and constant even if the user installs new apps (the user can always explicitly change it). In KDE it seems openSUSE specifies the default apps... just installing them. So Kaffeine is the default KDE media player in openSUSE until the user install another one... after that the default media player changes, or not (depending of the alphabetical order?). It seems far from perfect.
Should we add InitialPreference entries to the apps we select as default one for KDE? In fact probably the correct thing would be to do that only for the KDE-specific apps, and set the desktop-agnostic default apps through a /usr/share/applications/mimeapps.list file. I just learn all this this afternoon, I'm wrong?
I would suggest rather discussing this with KDE upstream. -- Lubos Lunak openSUSE Boosters team, KDE developer l.lunak@suse.cz , l.lunak@kde.org -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org