Autostarting: Difference between revisions
(change bullet points to sections to restore some resemblance of a regular article (as it was in https://wiki.archlinux.org/index.php?title=Autostarting&oldid=484303), let's discuss in Talk:Autostarting#Introduction edits) |
(readd direct desktop environment and window manager #Autostart links) |
||
Line 50: | Line 50: | ||
If the [[desktop environment]] has an ArchWiki article, see its ''Autostart'' section. | If the [[desktop environment]] has an ArchWiki article, see its ''Autostart'' section. | ||
* [[GNOME#Autostart]] | |||
* [[KDE#Autostart]] | |||
* [[Xfce#Autostart]] | |||
* [[LXDE#Autostart]] | |||
* [[LXQt#Autostart]] | |||
Most desktop environments implement [[XDG Autostart]]. | Most desktop environments implement [[XDG Autostart]]. | ||
Line 56: | Line 62: | ||
If the [[window manager]] has an ArchWiki article, see its ''Autostart'' section. | If the [[window manager]] has an ArchWiki article, see its ''Autostart'' section. | ||
* [[Fluxbox#Autostart]] | |||
* [[Openbox#Autostart]] | |||
* [[Awesome#Autostart]] |
Revision as of 18:19, 14 April 2018
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:
- inotify-tools (see some examples)
- incron
- fswatchAUR
On shell login / logout
See Command-line shell#Configuration files.
On Xorg startup
- xinitrc if you are starting Xorg manually with xinit.
- xprofile if you are using a display manager.
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.