XDG Autostart

From ArchWiki
Revision as of 04:21, 17 April 2018 by Josephgbr (talk | contribs) (Add pt interlanguage link)
Jump to navigation Jump to search

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


You need to use either a desktop environment that supports it, or a dedicated implementation, like dex, dapperAUR, or fbautostartAUR.


An XDG-compliant desktop environment will automatically start desktop entries found in the following directories:

  • System-wide: $XDG_CONFIG_DIRS/autostart/ (/etc/xdg/autostart/ by default)
  • GNOME also starts files found in /usr/share/gnome/autostart/
  • User-specific: $XDG_CONFIG_HOME/autostart/ (~/.config/autostart/ by default)

Users can override system-wide desktop entries by copying them into the user-specific directory.

For a more details, consult the specification.