Difference between revisions of "Autostarting"

From ArchWiki
Jump to: navigation, search
(clean up)
m (Desktop environments: update KDE link)
Line 37: Line 37:
  
 
* [[GNOME#Startup applications]]
 
* [[GNOME#Startup applications]]
* [[KDE#Autostarting applications]]
+
* [[KDE#Autostart]]
 
* [[Xfce#Startup applications]]
 
* [[Xfce#Startup applications]]
 
* [[LXDE#Autostart]]
 
* [[LXDE#Autostart]]

Revision as of 12:05, 14 April 2018

To automatically run programs:

Shells

To autostart programs in console or upon login, you can use shell startup files/directories. Read the documentation for your shell, or its ArchWiki article, e.g. Bash#Configuration files or Zsh#Startup/Shutdown files.

See also Wikipedia:Unix shell#Configuration files.

/etc/profile

Upon login, all Bourne-compatible shells source /etc/profile, which in turn sources any readable *.sh files in /etc/profile.d/: these scripts do not require an interpreter directive, nor do they need to be executable. They are used to set up an environment and define application-specific settings.

Graphical

You can autostart programs automatically when you login into your Window manager or Desktop environment.

Desktop environments

Window managers