On 2 September 2012 18:44, Saurabh Sood
@Cristian How can I handle the existing types in my application? ie make it the default application for the YMP type. I was using xdg-mime utility but was not able to actually get it to work. A little help on that would be awesome.
It should be the default application by virtue of being the only one able to handle the YMP type, shouldn't? The freedesktop way is explained in http://www.freedesktop.org/wiki/Specifications/mime-actions-spec. In KDE depends of the value of the "InitialPreference" field and in Gnome depends of the /usr/share/applications/defaults.list file, that in openSUSE is generated from /etc/gnome_defaults.conf. But yes, xdg-mime should work. At least for KDE you should package it with something similar to https://build.opensuse.org/package/view_file?file=initial-preference.diff&package=amarok&project=KDE%3ADistro%3AFactory. -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org To contact the owner, email: opensuse-project+owner@opensuse.org