launch_app
Start a desktop application and verify it actually opened by returning the new window's details, or the new AT-SPI app when the screen is locked, so subsequent automation can act on the confirmed app.
Instructions
Start an application and confirm it actually arrived: the result carries the NEW window's dict (or, while the screen is locked, the new AT-SPI app) and names which mechanism confirmed. Every real task starts with an app that is not running yet; this is that step, inside the protocol instead of a shell command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional file for the app to open | |
| command | No | Argv list, not a shell string. Exactly one of desktop_id/command. | |
| timeout | No | ||
| desktop_id | No | Desktop id for `gio launch`, with or without '.desktop', e.g. 'org.gnome.TextEditor' | |
| wait_window | No | Confirm arrival by a NEW window id (or a new AT-SPI app when the extension is down). |