image ResEx Logo
ResExcellence www : Powered by Google
Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets


Files are in Stuffit 5 or greater format.
Free download.

Tell us about a bad link.

Thank You!


Running
without a restart.

Setting Mime Types Under KDE

Mac users are lucky to be spoiled by the invisible Desktop database. It stores information on the applications on your computer, and the files that they are able to open. If you want to override those settings, or add custom appliation/file associates, you can do it under the Internet Control Panel.

Unfortunately, setting these associations, or mime types, is a little more difficult in Linux.

In this example, I want plain text documents to be opened by NEdit instead of the default Kedit. If you open a kfm window in KDE, under the Edit menu are the two shortcuts to edit the document Mime Types and add Applications.

Select the Mime Types.

Selecting the Mime Types places you in the folder ~/.kde/share/mimelnk/text/. Click once on the KDE link file for plain text: plain.kdelnk to see its "Bindings". Notice the Mime Type of text/plain. We need to remember that info. You can now close this window.

From the kfm file window, select Edit-->Applications. This will put you in the ~/.kde/share/applnk/ folder. Depending on any previous applications you have installed, this folder may be empty, of there may be some applications links already set.

Remember from earlier, that the documents mime type is text/plain. Under the Application folder, we can create a new association by making a new folder text and placing in it a KDE application link to our new application.

To say that another way, the mime type is text/plain, so under Applications, we create a folder called text and place in there a link to the application and name it plain.kdelnk.

You create the application links by selecting the kfm menu File-->New-->Application. Right-click on the new file to bring up the Properties window as shown below.

Under the Application tab, enter the settings for the application to handle plain/text. In my example, nedit. At the bottom of the window, on the right side, find the mime type text/plain and use the arrows to move it to the left side.

You're done with this window; you can now close it.

In the final step, reopen the ~/.kde/share/mimelnk/text/plain.kdelnk. (This is the original mimelink file from the Edit-->Mime Type menu), and select the Bindings tab.

At the bottom of the window, use the popup menu and scroll to select Nedit as the application! Close the Binding window and the change, if done correctly, is available immediately. If you click on a plain text document, it will open in Nedit instead of Kedit.

Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets

Maintained by the Staff of ResExcellence. This entire site ©1997-2006 ResExcellence
Privacy Statement? Sure we gotta Privacy Statement. [an error occurred while processing this directive]