若要在 GNOME 中自動啟動應用程式,請使用下列方法之一:
若要讓每位使用者執行應用程式: 將 .desktop 檔案放在 /opt/gnome/share/autostart 或 /opt/gnome/share/gnome/autostart 中。
若要讓單一使用者執行應用程式: 將 .desktop 檔案放在 ~/.config/autostart 中。
若要停用應用程式的自動啟動,請將 X-Autostart-enabled=false 新增到 .desktop 檔案中。