[openbox] Running KDE apps in Openbox

Piscium groknok at gmail.com
Sat Apr 23 16:07:13 EDT 2011


The autostart.sh script I am running has the following snippet:

--------
# Preload stuff for KDE apps
if which start_kdeinit >/dev/null; then
  LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
fi

--------

There are two issues with the above. The first is that start_kdeinit
exists on my PC but is not on $PATH, so cannot be found. The second
issue is that the version of start_kdeinit on my PC seems to have
different options, as seen below:

[xx at d3000 ~]$ /usr/libexec/kde4/start_kdeinit --help

Usage: kdeinit4 [options]
    --no-fork         Do not fork
    --no-kded         Do not start kded
    --suicide         Terminate when no KDE applications are left running
    --version         Show version information

Note that it references a different KDE executable, kdeinit4, and the
latter is on $PATH so can be found. Here are its options:

--------
[xx at d3000 ~]$ kdeinit4 --help
Usage: kdeinit4 [options]
    --no-fork         Do not fork
    --no-kded         Do not start kded
    --suicide         Terminate when no KDE applications are left running
    --version         Show version information

------------
Here is my question, specially for people that have experience running
KDE  apps in Openbox: I think I should use kdeinit4 instead of
start_kdeinit, but if so, with which options or environment variables
(such as LD_BIND_NOW)?

I am running KDE version 4.6.2, and Openbox version 3.4.11.2.


More information about the openbox mailing list