set_startup_item
Enable or disable a startup item by hiding its autostart entry or disabling its systemd user unit, matching desktop settings without deleting anything.
Instructions
Turns a startup item on or off the way the desktop's own settings do: an autostart entry is hidden (a system-wide one by an override in the user's folder), a systemd user unit disabled. Nothing is deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The item's name, as list_startup_items gives it. | |
| enabled | Yes | ||
| location | No | Where it is, when two items share the name (list_startup_items' location). |