Autostarting

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.

gollark: Why would person 1 do that? They won't get rewarded for it.
gollark: That makes it into interesting game theory.
gollark: Indeed.
gollark: You wouldn't know the current average or anything, people would submit numbers and they'd be summed and all to see what the average is at some fixed time.
gollark: > You’re adding a range of numbers with that ranges opposite<@290323543558717441> ???
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.