Hi, I would like to understand how the default application is selected in KDE4. I have two files, * An AVI file that "xdg-mime query filetype" says has MIME type video/x-msvideo * A Matroska file that "xdg-mime query filetype" says has MIME type video/x-matroska And, * My ~/.local/share/applications/mimeapps.list file only has an entry for application/x-bittorrent, so it's irrelevant. I don't think there is any other mimeapps.list file in the system. * None of the app's .desktop files have an InitialPreference(1) entry Looking at the Matroska file it seems the priority of apps is based on: * First, the exact MIME type. If an app only supports application/x-matroska it will have a lower priority than other app that supports video/x-matroska * Second the InitialPreference value * Third... the alphabetical order ¿!? But then I fail to see a logic for the AVI file. Since the four apps that support it (VLC, gnome-mplayer, kaffeine and MPlayer) support exactly video/x-msvideo I would expect them to be alphabetical ordered. And that's what happens with all of them but VLC, somehow VLC is the default app. So, could someone explain me the full logic to select the priority of apps? (1) that seems no documented... default value seems to be 1, not sure if it accepts non-positive values -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org