KDEdu Logo

Kig FAQ


Frequently Asked Questions

This section is meant to answer frequently asked questions about Kig that I get from users. If you still have any questions or think a question is missing here, please let me know.

Questions

Compiling Kig

Using Kig

Answers

Compiling Kig

After correctly installing Kig on Mandrake or Red Hat, I get an error saying that Kig is missing certain libraries.

Kig's functionality is implemented as a KPart, a loadable library. This allows it to make use of the KDE architecture for various features. However, the Kig program needs to know where to find its library, and to do that, it relies on KDE being properly installed and set up. Unfortunately, this doesn't seem to be the case on Mandrake or Red Hat.

I'm aware of two workarounds:

  • Uninstall and compile Kig manually typing ./configure --prefix=/usr, make and then su -c "make install".
  • type export KDEDIRS=/usr/local; kbuildsycoca; kig in a shell. This way, Kig should load correctly.

I think the proper fix would be something like adding to kglobalrc a section

[Directories]
prefixes=/usr/local,/usr

I'm not too sure of that though...

[Up to Questions]

Using Kig

How can I import a macro file?

Once you have a macro file, you can import it into Kig using one of these instructions (tailored for a typical Linux system):

Global installation (requires the root privilegies), install a macro for every Kig users on that machine: place it in $KDEDIR/share/apps/kig/builtin-macros/. The new macro(s) will be available in Kig the next time you start Kig.

Local installation, install a macro only for the user which installed it: in Kig, select Types->Manage Types, click on the Import button, select the macro file(s) you want to import, and you're done.

You can find some Kig macros in the Macro Repository.

[Up to Questions]

Is it possible to edit a Python script? How?

It is possible with Kig 0.10.6 (shipped with KDE 3.5.4) and above versions. To edit a Python script, just right click on the object produced by the script, and select "Edit Script...". Then edit the script and a click on Finish will apply your changes.

[Up to Questions]

Global navigation links