Difference between revisions of "Autostarting"

From ArchWiki
Jump to navigation Jump to search
m (→‎On window manager startup: maybe not most, but many)
(update interlanguage links)
Tag: wiki-scripts
(One intermediate revision by one other user not shown)
Line 2: Line 2:
Line 39: Line 40:
* {{Pkg|inotify-tools}}, see {{man|1|inotifywait}}
* {{Pkg|inotify-tools}}, see {{man|1|inotifywait}}
* [[Incron]]
* [[incron]]
* {{AUR|fswatch}}
* {{AUR|fswatch}}

Latest revision as of 07:55, 11 November 2019

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 device plug in / unplug

Use udev rules.

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

Most desktop environments implement XDG Autostart.

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

On window manager startup

Many window managers implement XDG Autostart.

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