Linux Commands Examples

A great documentation place for Linux commands


KDE process launcher.


kdeinit4 [--help] [[--no-fork] | [--no-kded] | [--suicide]] [[+programs] | [programs]]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


APPS_TO_KILL="$APPS_TO_KILL kdeinit4 kded klauncher"
# pgrep kicker >/dev/null && kickerWasRunning=true
echo "Processes which will probably be killed:"


kdeinit4 is a process launcher somewhat similar to the famous init used for booting UNIX. It executes KDE programs and kdeinit loadable modules (KLMs) starting them more efficiently.

Using kdeinit4 to launch KDE applications makes starting a typical KDE application a couple times faster and reduces memory consumption by a substantial amount.

kdeinit4 is linked against all libraries a standard KDE application needs. With this technique, starting an application becomes much faster because now only the application itself needs to be linked whereas otherwise both the application as well as all the libaries it uses need to be linked.



Show help about options


Do not fork, i.e. do not exit until all the executed programs ends


Do not start kded


Terminate when no KDE applications are left running


runs the programs handling requests


runs the programs without handling requests


The process name of applications started via kdeinit4 is "kdeinit4". This problem can be corrected to a degree by changing the application name as shown by ps. However, applications like killall will only see kdeinit4 as the process name. To workaround this, use kdekillall (from kdesdk/scripts) for applications started via kdeinit4.

environment variables


Specifies the home directory of the current user


Specifies if the home directory of the current user is read only


If set, tells kdeinit4 that the KDE programs are pre-linked.

(Prelinking is a process that allows you to speed up the process of dynamic linking.)


If set, tells kdeinit4 that it is running on a KDE desktop.







A standard way to run this program is by simply specifying the following command at the prompt kdeinit4 program or kdeinit4 +program


There are probably tons of bugs. Use [1] to report them.

see also

kded, kdekillall


Waldo Bastian <bastian[:at:]kde[:dot:]org>


Mario Weilguni <mweilguni[:at:]sime[:dot:]com>


Lubos Lunak <l.lunak[:at:]kde[:dot:]org>


How can this site be more helpful to YOU ?

give  feedback