Starting a program automatically when KDE starts

From MEPIS Documentation Wiki

Jump to: navigation, search

To start a program or script automatically when a user logs in, add a link or script in ~/.kde/Autostart/ folder.

Make a link (using the file manager) by dragging an executable file to the folder and select "link here".

How to make a script:

  • Edit a new file in a text editor (KWrite, Kate, Kedit, etc)
  • Start the file with this line:
#!/bin/sh
  • Add the commands desired after this line.
  • Save the file.
  • Make it executable: use file manager: right-click on file and select Properties-> Permissions tab -> select is executable and click OK.
  • Or using konsole make it executable with:
chmod u+x filename

See also: Executing a command at boot time

Personal tools
In other languages