How-To: Automatically Run Applications at KDE Start-Up | Linux Today

How-To: Automatically Run Applications at KDE Start-Up

Written By
Web Webster
Web Webster
Mar 30, 2014

In this tutorial I’ll show you how to automatically fire up any program or command when KDE starts up. You can create your own launchers (desktop files) to be ran or even Bash scripts with commands to be executed. KDE has a special directory in which launchers which should be executed are placed. This directory is $HOME/.kde/Autostart by default. You can change this inside the KDE System Settings by going to Account Details and clicking on the Paths tab. Although normally you don’t need to change this, see the screenshot below if you want to set another folder as your KDE start-up folder: path So, the simplest way to include start-up applications is to manually add the launchers or scripts inside this directory. For example, you can create an application launcher, which actually is a desktop file, then copy the file inside the Autostart directory. If your application is, say, Wesnoth, the launcher may look something like this: #!/usr/bin/env xdg-open [Desktop Entry] Name=Battle for Wesnoth GenericName=Turn-Based Strategy Type=Application Exec=wesnoth Icon=wesnoth.png A tutorial on how to create desktop files can be found here.

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.