PDA

View Full Version : I made Virtual CD using fuse how to attach it MIME types



alsadi
10th June 2008, 11:01 PM
I made a FLOSS program called ojuba-virtual-cd with PyGTK+ (and fuseiso)
it can mount CD images and unmount them

it works by opening .iso files with it (it supports multiple)
or if you run it without arguments it will ask you to open an image file

by having some .desktop entry like this



[Desktop Entry]
Name=Mount CD/DVD Image
MimeType=application/x-cd-image;
Exec=ojuba-virtual-cd
Type=Application
Terminal=false
NoDisplay=true
Actions=mount;

[Desktop Action mount]
Name=Mount CD/DVD Image
Comment=Load virtual CD to /mnt/virtuals
Icon=drive-optical
Exec=ojuba-virtual-cd %F


the problem that I don't want it to be the default action
I want nautilus CD burner to be the default
and I want my app to be add somewhere in the context menu

what is the right way todo that

how to manipulate MIME types ?