Usage of KDE su is easy. The syntax is like this:
$ kdesu [-tn] [-f FILE] -c PROGRAM $ kdesu [-v | -h | -q | -d PROGRAM]
The command line options are explained below.
This specifies the program to run as root. It has to be passed in one argument. So if, for example, you want to start a new file manager, you would enter at the prompt:
$ kdesu -c "kfm -sw"
This option allow efficient use of KDE su in .kdelnk files. It tells KDE su to examine the file specified by FILE. If this file is writable by the current user, KDE su will execute the command as the current user. If it is not writable, the command is executed as root.
FILE is evaluated like this: if FILE starts with a "/", it is taken as an absolute filename. Otherwise, it is taken as the name of a global KDE configuration file. For example: to configure the K display manager, kdm, you could issue a:
$ kdesu -c kdmconfig -f kdmrc
Enable terminal output. This disables password keeping. This is merely for debugging purposes; if you want to run a console mode app, use the standard "su" instead.
Do not keep the password. This disables the "keep password" checkbox in the password dialog.
Be quiet.
Show debug information.
Print some help.
Print version information and exit.