From ArchWiki
Revision as of 18:19, 14 April 2018 by Larivact (talk | contribs) (readd direct desktop environment and window manager #Autostart links)
Jump to navigation Jump to search

This article links to various methods to launch scripts or applications automatically when some particular event is taking place.

On bootup / shutdown

Use systemd services.

On user login / logout

Use systemd/User services.

On time events

Periodically at certain times, dates or intervals:

Once at a date and time:

On filesystem events

Use an inotify event watcher:

On shell login / logout

See Command-line shell#Configuration files.

On Xorg startup

On desktop environment startup

If the desktop environment has an ArchWiki article, see its Autostart section.

Most desktop environments implement XDG Autostart.

On window manager startup

If the window manager has an ArchWiki article, see its Autostart section.