website/content/blog/autostartdesktopapps.md

15 lines
860 B
Markdown
Raw Permalink Normal View History

2020-11-29 13:54:46 -05:00
---
2023-03-10 12:41:04 -05:00
date: 2020-11-29 18:45:28
2020-11-29 13:54:46 -05:00
draft: false
2023-01-05 14:04:45 -05:00
medium_enabled: true
2023-03-10 12:41:04 -05:00
medium_post_id: f765346971a5
tags:
- Linux
title: Autostart Desktop Applications
2020-11-29 13:54:46 -05:00
---
The [freedesktop specification](https://specifications.freedesktop.org/autostart-spec/0.5/ar01s02.html) describes how to identify file types, launch applications, and other useful desktop functions. A useful spec I've found recently is for launching desktop applications when you log into your machine.
In my Kubuntu 20.10 system, the directory `$HOME/.config/autostart` can contain [`.desktop`](/blog/linuxdesktopicons/) files that describes the applications to start on login. Drop whichever desktop file you wish to start there. In other systems it may be located under `$XDG_CONFIG_DIRS/autostart`.
2020-11-29 13:54:46 -05:00
2023-03-10 12:41:04 -05:00
If you want to start up a script instead, you can put the script under `$HOME/.config/autostart-scripts`.