Hi all.
I have developed a new document-reader, and want to have it "installed" in Gnome2 on Fedora-14.
So, I created the following "~/.local/share/applications/gnome-ebookreader.desktop" file ::
Code:
[Desktop Entry]
Name=EBookReader
Name[en_CA]=E-Book Reader
Name[en_GB]=E-Book Reader
Name[en_US]=E-Book Reader
Comment[en_CA]=Perform arithmetic, scientific or financial calculations
Comment[en_GB]=Perform arithmetic, scientific or financial calculations
Exec=python /home/ajay/Activities/EBookReader.activity/main.py "" /home/ajay/Activities/EBookReader.activity
Icon=accessories-calculator
NotShowIn=KDE;
Terminal=false
MimeType=application/pdf;image/vnd.djvu;image/x.djvu;image/tiff;application/x-cbz;application/x-cbr;application/epub+zip;text/plain;application/zip
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;Calculator;
(Note that, I have largely derived it from the Calculator application :P).
With the above file, I am able to see the option for "E-Book Reader" in Applications -> "Accessories", and can launch the app too
However, when I right-click on a document like a PDF, I DO NOT see the "Open with E-Book Reader" option in the right-click menu.
What am I missing?
I will be grateful for any pointers
Thanks and Regards,
Ajay