Difference between revisions of "XDG Autostart"

From ArchWiki
Jump to navigation Jump to search
m (casing)
(Add pt interlanguage link)
Line 1: Line 1:
 
[[Category:Desktop environments]]
 
[[Category:Desktop environments]]
 +
[[pt:XDG Autostart]]
 
The [https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html 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]].
 
The [https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html 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]].
  

Revision as of 04:21, 17 April 2018

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.

Prerequisites

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

Directories

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.