Java Desktop v3 Question

How do I set the system wide Nautilus mime types for mp3, au, ram, and ra to open the new version of Realplayer 10. I Do Not want to use a user side integration.

The environment is Solaris 10 (SPARC), Sunray server (latest version), and the desktop is JDS v3. This should work for all users who log into the Sunray server. The users launch realplayer 10 from a central repository called "softdist".

Now I do not want this to cause realplayer 10 to become the default application for mozilla, it's specically stated in the SR that the customer does not want to change that now.

They will change that when we change browser versions in the near future.

[676 byte] By [Mr_Persistent] at [2007-11-26 7:45:22]
# 1

The information about the mime types, their association to extensions and to default applications can be found in /usr/share/mime-info. The .keys files associate icons and open actions to mime types (or classes thereof), and the .mime files associate mime types to file extensions or regular expressions.

Presumably by putting in a .mime file something like:

audio/mpeg

ext: mp3

and in a .keys file:

audio/mpeg

default_action_type=application

open=<path to realplay> %f

you should be able to achieve what you want for mp3 files.

cyrillem at 2007-7-6 19:57:09 > top of Java-index,Desktop,Sun Java Desktop System...