I am currently using Arch with the GNOME desktop environment. I do not know where to specify the programs I want to run automatically when the computer boots. If there are multiple methods (GUI or non-GUI) to achieve this, I would like to know both.

  • you wanna run a script on boot ? – Rahul Jun 8 '16 at 10:38
  • @arzyfex not really, just need specific applications up and running. – Sharan Duggirala Jun 8 '16 at 14:47

You can add the applications you want to automatically start when booting the system by adding them to Startup Applications in the tweak-tool - open the Tweak Tool from Activities launcher :

enter image description here

Alternatively copy a .desktop file from /usr/share/applications/ to ~/.config/autostart/.

  • Isn't there a single file where this can be entries can be inputted? Either ways, I'll wait for more answers before I accept this one. – Sharan Duggirala Jun 8 '16 at 14:24

You would have to use a systemd service to run your application during boot process. Create a new file in /etc/systemd/system (e.g. myscript.service) and add the following contents:

Description=My script



put your script in /usr/bin/my-script and make sure to make it executable. and then enable the service.

$ sudo chmod 755 /usr/bin/my-script
$ sudo systemctl enable myscript.service

This example assumes you want your script to start up when the target multi-user is launched.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.