The K Desktop Environment

3.4. Integrating an application step by step

In this chapter I will show you how to register XV in the K Desktop Environment. After following these steps XV will be registered for various image data types and will be able to load and save images from the web... you did not expect that :-). So, here we go.

3.4.1. Opening a KFM super user window

I assume that you know from the previous lesson how to open a KFM super user window. Now open the menu Edit and select Applications. You will now be shown a window like this one:

If you are logged in as super user you will find an option to edit the global application config files, too

Please distinguish exactly between applications config files and application config files. The first one stores configurations written by an application during run time, while the second ones ( these are the ones we are talking about here ) contain informations about installed applications. These config files are created during installation of an application and dont change usually afterwards.

3.4.2. Creating a new application file

From the menu File open the submenu New and select Program. You will now be prompted by a new window:

3.4.3. Opening the properties

You will now see a new icon in the window. Press the right mosue button to open the properties menu. Now you have to fill out a form like this one:

3.4.4. The second form

The last step is to fill out the second form:

That is the end of the show, your application is registered now. KFM has updated its bindings automatically, only KPanel will need to be restarted ( System menu of kpanel ). XV should now appear in the list of applications once you hit the right mouse button over an image file containing one of the selected data types. If the image is not located on your local hard disk, KFM will download it and run XV afterwards. If the file is modified by XV, KFM will ask you wether it should be uploaded. It is now time for a coffee or two.