# Chapter 4. Frequently Asked Questions

# 4.1. How can I run programs on startup

KFM can do even more. Throw a program, *.kdelnk file, exectuable, directory or a link to any of them in the `Autostart` folder on your desktop. The Autostart folder has the path `$HOME/Desktop/Autostart` by default, but you may have a different setup, since it is configureable. If KFM finds a kdelnk file, it does what you would epect by clicking on the file. Throwing a directory in the autostart folder will open a KFM window with this directory, executables will of course be executed. But you may put documents! in the autostart folder, too. In this case KFM will start the default application for this document with the document as argument. You can use this to start for example the word processor with your master thesis whenever you login. You may find it useful to put `kdisplay -init` and `kpanel` in the autostart folder. The autostart folder can be used as a replacement for `.xinitrc`