A Kommander Crash Course

Posted by suvi under KDE, Programming

One of the strengths of Unix-like systems such as Linux is the
ability to easily customize them and automate tasks using scripts.
However, shell scripts usually need to run in a terminal window and
thus don’t integrate well with the modern desktop environments most
people use. Kommander
tries to remove this burden by allowing users to easily create
graphical applications using any scripting language of their choice.

Kommander consists of two main parts: the Executor and
the Editor. The Editor provides a development environment that makes
creating graphical user interfaces easy. Visual programming is the
paradigm and Kommander makes it possible to create applications using
the mouse more than the keyboard. You can drag widgets such as push
buttons, labels, and checkboxes from tool palettes and place them in
the edited dialog box. You can establish connections between objects
with the mouse using a mechanism known as signals and slots, so in many
cases there is very little need to write actual code. Kommander
provides only a few simple language constructs by itself and resorts to
using other scripting languages to perform much of the real work. This
means among other things that you can equip existing shell scripts with
graphical user interfaces easily using Kommander.

Kommander is a relatively new tool and under intense
development, so features are added and bugs get fixed often. If you
want to try it, download the latest version, since it may be well ahead
of the version shipped even with the latest KDE release. If you want to
use the version that came with your KDE distribution, you will have to
install the kdewebdev package, since that’s where Kommander can be
found. This article was written for Kommander 1.1development1 and
newer. Thus, it will not work with the version that comes with KDE
3.3.2 (some parts might work if you skip others). If you have problems
with running the newest Kommander development version (there were many
reports of people being unable to get 1.1develoment2 to work), try an
older one. Version 1.1development1 is guaranteed to work with this
tutorial. All releases, old and new, can be downloaded from this page.

At this time documentation for the project is somewhat sparse, although
that is to change soon. There are examples located in the
kommander/examples/ subdirectory of the source tree, and
kommander/working/ subdirectory contains notes on adding
internationalization support to your Kommander apps. A number of useful utilities for Kommander as well as programs written using Kommander can be found on kde-apps.org. There is also a mailing list for Kommander users, where you can ask questions and report bugs.

Read more at Micha? Kosmulski site

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word