KDE looks for programs in the
~/.kde/Autostart directory to be executed during it’s startup. The way to execute programs as KDE starts would be to;
The first method is very straightforward, and the second method can be achieved using the ln command. The following example is to run
superkaramba as KDE starts.
$ cd ~/.kde/Autostart/ $ ln -s /usr/bin/superkaramba mykaramba
The third option is my personal favorite, as it provides a great level of flexibility. The following is an example bash script placed in the
~/.kde/Autostart/ directory to run
gpg-agent, export a variable, and start the program
#!/bin/bash /usr/bin/gpg-agent --daemon --use-standard-socket & export GPG_AGENT_INFO=/home/user/.gnupg/S.gpg-agent /usr/bin/katapult & /usr/bin/conky &
Please make sure all programs are executable by running
chmod, probably as the following example;
$ chmod +x ~/.kde/Autostart/*
Comment anonymously. Login not required.