On Sun, 25 Oct 1998, Cristov Russell wrote:

> 2 - When I start the editor application, it opens 3 times.  The first 2
> times it pops up an error message for a directory I have not loaded a file
> from previously but from a directory I used in bash prior to running KDE the
> first time!?  Does anyone know how to fix this?

This seems to be an error in the .deb - kde distribution. The startup line
in /usr/share/applnk/Graphics/KFax.applnk is

Exec=kfax %f   -caption "%c" %i %m

The options are explained in file:/usr/doc/kde/HTML/default/kfm/app.html :
---------
   Most old style apps may need the %f argument. This means that they can
   only accept files on the local hard disks. If you use URLs never the
   less, KFM will download the files first and start the application
   afterwards. If the files are modified by the app, the user is prompted
   wether he wants them to be uploaded.

   You may enter %u instead of %f. This will cause KFM to pass URLs to
   the application. External files are not preloaded. Some KDE apps
   support this cool feature.

   There are addtional tags you may use. Here is a short list
     * %k The path and name of the config file itself. This is useful if
       the app you want to start should read/modify the config file that
       started it. This way you can for example implement simple printer
       representations. The same file that repesents the printer on your
       desktop stores your prefered printer settings. Use %k to pass the
       config file to the printer GUI.
     * %n The filename of the documents without path.
     * %d The path of the documents without file name. The %d and the %n
       tag together are the same as %f.
     * %c Name of the application. This is the name of the config file
       itself without path and extension. This way you can set the title
       of the application.
-----

Anyway, %i and %m are _not defined_ in the readme. kde seems to pass %i
and directly to the program, so it tries to open the file you klicked on,
the inexistent %i and %m (maybe even creating them on the hd... how many
such files have you found lying around?)

I solved the problem by taking these %i and %m out of the applnk files for
the programs i need most. But I am very unhappy with this solution. I
don't need KFax, that's why i have still the old config there.

Is this problem solved with the slink version?
--
Lukas Eppler (godot)

Reply via email to