How do I autostart application after login to KDE4

Transfered from Linux Config Disqus comments:

Question:
How do I autostart application after login to KDE4?
Answer:
The easiest way to autostart application after user login is to create a simple script with all commands to start any desired application and place this script into:

~/.kde/Autostart

For example let’s say that we want to start Google’s chrome browser automatically after login. To achieve this we ca do:


$ echo google-chrome > ~/.kde/Autostart/autostart.sh
$ chmod +x ~/.kde/Autostart/autostart.sh

All done.