Autostart in Debian: how it works

by Pramith

In Debian, too, programmes can be set to start automatically when you log in. To do this, you need to set up autostart.

Setting up autostart in a user account in Debian

  1. Log in to the system using the relevant user account.
  2. Open “Applications” > “System Tools” > “Settings” > “Start-up Applications”.
  3. Under the “Start-up programmes” tab, there is already a list of programmes to be started automatically. To add another entry, click the [Hinzufügen] button.
  4. Enter a unique name in the “Name” field.
  5. In the “Command” field, enter the absolute path (the full path from the root directory [root] to the programme, including the programme name itself). Example for the “Iceweasel” web browser: “/usr/bin/iceweasel”.
  6. You can enter additional information in the ‘Comment’ field if required.
  7. Click the button [Hinzufügen] to complete the entry.
  8. Finally, click [Schliessen] in the ‘Startup Programme Settings’ window.

Removing an autostart entry in Debian

If you no longer wish a programme to start automatically, proceed as follows:

  1. Log in to the system using the relevant user account.
  2. Open “Applications” > “System Tools” > “Settings” > “Startup Applications”.
  3. Find the entry you wish to disable in the list.
  4. If you only wish to disable the automatic start temporarily, untick the box next to the relevant programme. To delete the autostart entry completely, click the [Entfernen] button.
  5. Finally, click [Schliessen].

Session restoration in Debian

If you want a session to be restored when you log in again, use the following configuration:

  1. Open ‘Applications’ > ‘System Tools’ > ‘Settings’ > ‘Start-up Applications’.
  2. Click on the ‘Options’ tab.
  3. Tick the box “Automatically remember running programmes when logging out”.
  4. Click the button [Schliessen].

Related Articles

Leave a Comment