How to create simple configuration file

Configuration file examples

You may find predefined configuration files in cfg-data directory. Firstly, take a look to the simple configuration file like kdialog.cfg. After investigation of those configuration files You became more familiar with its format.

How To

Specify parameters.

In general it needs to specify only (for server mode):

or (for AT mode):

where /dev/rfcommXX device to connect. Other parameters can be used by default.

Specify keys to handle.

A short example, which:

Exec() command is the mostly used one. It used to run specified command.

Set()/ExecAndSet() commands used to control look and behavour of java client, which is used in Server mode.

To make custom setup of java client main window upon connection:

As You can see it is possible to execute more than command at once.

At the end, another "almost" real Server mode example which contols Amarok player:

Lines starting with % considered as a comment.

About · Download · Getting started · Screenshots ·