This topic focuses on autostart applications.
Note
This guide assumes that you are using the KDE Plasma desktop environment.
- Autostart
This details how to add an application to autostart (on boot) and optionally configure the autostart configuration.
-
Open the System Settings app.
-
Click the Startup and Shutdown section.
-
Click the Autostart tab.
-
Click the Add... button.
-
Click the Add Application... option.
-
Select the application you wish to have started upon boot.
-
(Optional) Configure the application's autostart options:
-
Click the app's corresponding Properties button.
-
Make your updates (i.e. Add a custom argument in Application > Arguments).
-
Click the OK button.
-
Some applications can be set to autostart as a service, this details how to do so.
-
First, identify the name of the service. In this example, we'll assume the name of the service is,
anydesk.service
. -
To start the service once, run:
sudo systemctl start anydesk.service
-
To enable the service to start on boot, run:
sudo systemctl enable anydesk.service
-
To make it simpler, you could start and enable the service on boot at once:
sudo systemctl enable --now anydesk.service
In any of the command examples, be sure to replace
anydesk.service
with the name of the service you wish to start or enable.
-
If you wish to stop the running service, run:
sudo systemctl stop anydesk.service
-
To disable the service from starting on boot, run:
sudo systemctl disable anydesk.service
Again, replace
anydesk.service
with the name of the service you wish to stop or disable.
-
To check the status of the service, run:
sudo systemctl status anydesk.service
-
To restart the service, run:
sudo systemctl restart anydesk.service
Replace
anydesk.service
with the name of the service you wish to check or restart.
This details known configurations for certain applications on how to have them autostart silently.
-
Argument:
-silent %U
Silent flag:
-silent
-
Argument:
run --branch=stable --arch=x86_64 --command=/app/bin/gwe --file-forwarding com.leinardi.gwe --hide-window @@u %U @@
Silent flag:
--hide-window
-
Argument:
run --branch=stable --arch=x86_64 --command=anydesk --file-forwarding com.anydesk.Anydesk --tray @@u %u @@
Silent flag:
--tray
-
Argument:
run --branch=stable --arch=x86_64 --command=discord com.discordapp.Discord --start-minimized
Silent flag:
--start-minimized
-
Argument:
run --branch=stable --arch=x86_64 --command=signal-desktop --file-forwarding org.signal.Signal --use-tray-icon --start-in-tray @@u %U @@
Silent flag:
--use-tray-icon
and--start-in-tray
-
Argument:
run com.borgbase.Vorta --daemonize
Silent flag:
--daemonize
-
Argument:
run --branch=stable --arch=x86_64 --command=/app/bin/element --file-forwarding im.riot.Riot --hidden @@u %U @@
Silent flag:
--hidden