XDG Autostart

The XDG Autostart specification defines a method for autostarting ordinary desktop entries on desktop environment startup and removable medium mounting, by placing them in specific #Directories.

Prerequisites

You need to use either a desktop environment that supports it, or a dedicated implementation, like:

Directories

The Autostart directories in order of preference are:

  • user-specific: $XDG_CONFIG_HOME/autostart (~/.config/autostart by default)
  • system-wide: $XDG_CONFIG_DIRS/autostart (/etc/xdg/autostart by default)

System-wide desktop entries can be overridden by user-specific entries with the same filename.

Tip: To disable a system-wide entry, create an overriding entry containing Hidden=true.

For more details, read the specification.

gollark: This is unfortunately unrealistic due to interactions with other people *directly*.
gollark: Thus bad.
gollark: Deliberately not freeing memory is as unethical as using Electron.
gollark: Which is bad design.
gollark: Oh right, you're doing bees, yes?
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.