I agree with Sam that it would be best to simply drop the files in /usr/share/application-registry/ and /usr/share/mime-info/ as they aren't used by Gnome anymore [2] (IIRC Gnome switched to the fd.o standard with 2.8). The new standard [1] is used by Gnome, ROX and xfce, KDE4 will also follow this standard.
But you are lucky, the shared-mime-info package already includes all the necessary mimetypes (take a look at /usr/share/mime/application/x-java*.xml), that means no additional work for you, you don't have to ship your own sharedmimeinfo file. Nevertheless it would be nice if you installed the icons as outlined by Sam. And last but not least, I would recommend to move the files /usr/share/control-center-2.0/capplets/sun-java5-policytool.desktop and /usr/share/control-center-2.0/capplets/sun-java5-controlpanel.desktop to /usr/share/applications. The usage of /usr/share/control-center-2.0/capplets/ is not recommended anymore. As an additional benefit the menu entries it will also show up nicely under the KDE start menu under Settings (other DEs like XFCE would benefit too). The only change I'd propose is to remove GNOME from Categories: in the *.desktop files as these applications are not Gnome specific. And one last thing: You should set Encoding=UTF-8 in sun-java5-java.desktop and sun-java5-javaws.desktop. Cheers, Michael [1]http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-0.13.html [2]http://www.freedesktop.org/wiki/Standards_2fOtherSystems -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature