I'm not sure if this is the "right" way to do it, but I created my own
mime types for GIMP (*.xcf) files as images/xcf and for WordPerfect
files as application/x-wordperfect (which is probably what you want to
do). Here's how I did it:
In KFM, in your mimelnk folder [Edit | Mime Types], open "application"
folder and create a new mime type [File | New | Mime Type]. Name it
something descriptive like stardoc.kdelnk or starspread.kdelnk. You may
get some errors popping up here. I just dismiss them and open the
"Properties" for each mime type, set the "Pattern" under "Binding" to
whatever the file extension is and fill in the Mime Type with
Now, in your applnk folder [Edit | Applications], find the kdelnk to
your Star Office applications or create new ones [File | New |
Application], open the "Properties" and on the "Application" tab at the
bottom right scroll until you find your newly-created mime type and
click the arrow to add it to the left box.
This should enable you to open a file by clicking on it in KFM. If you
need a little more info or these instructions are just too confusing,
don't hesitate to email me and I'll try to make it easier to understand.
> I am having a problem associating the Staroffice file types
> with with the Sar Office Application upon clicking the file icon. The
> files I create have a Question mark (Unknown) against them, which
> means I cannot open the corresponding application from clicking on the
> file. ( The file types are AStardoc.sdw and ASpreadS.sdc )
> According to the KDE instructions I need to direct the MIME type to
> the Application, using the files in $KDEPATH/Share/Applink. The
> properties of the configuration file StarOffce.kdelnk expects a MIME
> type ?
> The problem is that the Star Office Applications produce *.sdw and
> *.sdc as the the file types, not MIME Types.
> It is not clear to me from the KDE documentation from the KDE Help
> how I make the correspondence.
> Many Thanks for any Help.