XDG Autostart: Difference between revisions
m (→Directories: use new XDG redirects) |
(Undo revision 538210 by Larivact (talk) - links and Template:ic don't belong together, see Help:Style/Formatting_and_punctuation#Links) |
||
Line 11: | Line 11: | ||
The Autostart directories in order of preference are: | The Autostart directories in order of preference are: | ||
* user-specific: {{ic| | * user-specific: {{ic|$XDG_CONFIG_HOME/autostart}} ({{ic|~/.config/autostart}} by default) | ||
* system-wide: {{ic| | * system-wide: {{ic|$XDG_CONFIG_DIRS/autostart}} ({{ic|/etc/xdg/autostart}} by default)[https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#referencing] | ||
System-wide [[desktop entries]] can be overridden by user-specific entries with the same filename. | System-wide [[desktop entries]] can be overridden by user-specific entries with the same filename. |
Revision as of 17:53, 22 September 2018
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 dex, dapperAUR, or fbautostartAUR.
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)[1]
System-wide desktop entries can be overridden by user-specific entries with the same filename.
To disable a system-wide entry, create an overriding entry containing Hidden=true
.
For more details, read the specification.