trying to understand XDG - a plea for help

Mike Hearn mike at navi.cx
Mon Mar 7 23:55:53 EET 2005


On Mon, 07 Mar 2005 21:49:54 +0100, Tomasz Chmielewski wrote:
> Why can't I make my own *.tomek extension and attach
> it to /usr/local/bin/tomek program (written by me)?

You can! Read the mime types document/spec. You need to make sure there is
a match for it (so an xml file) then mark your programs .desktop file as
handling that mime type. It's pretty straightforward.

> If a user downloads Adobe Acrobat Reader, why he/she can't then 
> associate it with pdf extension?

If Acrobat ships a .desktop which is up to date they can do.

thanks -mike




More information about the xdg mailing list