Autostart methods
Steven Elling
ellings at kcnet.com
Mon Dec 9 05:07:17 CST 2002
On Sunday 08 December 2002 16:27, Pablo Llopis Sanmillán wrote:
> Hi,
> I would like to know what different methods are available for running a
> program when kde starts.I have kde2 running and whenever I start it, the
> text editor Kate is run. I have already removed any files in
> ~/.kde2/Autostart , but it still runs when I start kde.
> I have unchecked the option "open at startup", but it also doesnt help.
> Maybe another startup methods exist, if anybody has an idea it would be
> great! thx.
KDE has session management. At one point, you logged out of --- or quit ---
KDE and told it to save your current session. When you log out and save
your current session it logs all the programs that are still running. Then
when you log back in later KDE will start up all apps that were running
from the previous session. Under KDE3, I think this information is stored
in '~/.kde/share/config/ksmserverrc'. It may be the same for KDE 2.
The session management isn't perfect. As a side note, if you notice your
KDE session is more sluggish than before, bring up a shell and list all
your running processes. If you see processes running that you know
shouldn't be, kill them. With KDE3, I've noticed konqueror or some of its
helper apps were running even though they did not appear on my screen. I
found out the reason they were running was because at one point in a
previous session konqueror or one of its helper apps crashed but did not
terminate the rest and session management started them back up for each
session.
More information about the Kclug
mailing list