kdeinit5 man page

kdeinit5 — Launcher for applications built with kdeinit support, and for KIO slaves.

Synopsis

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

Description

kdeinit5 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 kdeinit5 to launch KDE applications makes starting a typical KDE application a couple times faster and reduces memory consumption by a substantial amount.

kdeinit5 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 libraries it uses need to be linked.

Disadvantages

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

Options

--help
Show help about options
--no-fork
Do not fork, i.e. do not exit until all the executed programs ends
--no-kded
Do not start kded
--suicide
Terminate when no KDE applications are left running

+programs

runs the programs handling requests

programs

runs the programs without handling requests

Usage

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

Files

/tmp/kde-$USER/kdeinit5_$INSTANCE

...

Environment Variables

$HOME

Specifies the home directory of the current user

$KDE_HOME_READONLY

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

$KDE_IS_PRELINKED

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

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

$KDE_DISPLAY

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

See Also

kded5, kdekillall

Bugs

Please use KDE's bugtracker[1] to report bugs.

Authors

Waldo Bastian <bastian@kde.org>

Author.

Mario Weilguni <mweilguni@sime.com>

Author.

Lubos Lunak <l.lunak@kde.org>

Author.

Notes

1.

KDE's bugtracker

Referenced By

kbuildsycoca5(8), kded5(8).

2013-12-18 KDE Frameworks Frameworks 5.0 kdeinit5 User's Manual