Autostart on Debian: how it works
Programs can also be started automatically under Linux when the user logs on. We'll show you how to set up autostart on Debian.
Set up Autostart in Debian in a user account
Since Linux is a multi-user system, automatic program starts can be set up for each user account:
- Log on to the system with the appropriate user account.
- Open "Applications"> "System Tools"> "Settings"> "Startup Programs".
- There is already a list of programs to be started automatically under the "Start programs" tab. To add another entry, click the [Add] button.
- Enter a unique name in the "Name" field.
- In the "Command" field, enter the absolute path (the complete path from the root directory to the program, including the program name itself). Example for the web browser "Iceweasel": "/ usr / bin / iceweasel".
- You can enter additional information in the comment field as required.
- Click the [Add] button to complete the entry.
- Finally, click on [Close] in the "Launcher settings" window.
Delete autostart in Debian
If a program should no longer be started automatically, proceed as follows:
- Log on to the system with the appropriate user account.
- Open "Applications"> "System Tools"> "Settings"> "Startup Programs".
- Find the entry you want to deactivate in the list.
- If you only want to temporarily deactivate the automatic start, uncheck the relevant program. To delete the autostart entry completely, click the [Remove] button.
- Finally click on [Close].
Session recovery on Debian
If you want a session to be restored when you log in again, use the following configuration:
- Open "Applications"> "System Tools"> "Settings"> "Startup Programs".
- Click the "Options" tab.
- Activate the selection "Automatically remember running programs when logging off".
- Click the [Close] button.