diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-07-27 16:06:14 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-07-27 16:13:43 -0400 |
commit | c675bafdf15cc19276bd8276c34f56404a5ecb62 (patch) | |
tree | 8199080fb9c676c6d8cbb77b41c7ebb94aa23dd7 /README.md | |
parent | efbd734aca8b813710d7564d79696b1cf150a88c (diff) |
Rework to use systemd for app enumerationneedlefish_13.93.0needlefish/13.93.0lamprey_12.1.6lamprey_12.1.5lamprey/12.1.6lamprey/12.1.513.93.012.1.612.1.5
Rework to replace the Glib .desktop file based app enumeration
scheme with querying systemd for units matching the pattern
agl-app*@*.service and parsing out the application ID from the
unit instance name. At the moment this assumes the use of template
units, but that could be changed to open up using non-templated
units if desired. Application icons are now assumed to be named
with the application ID, and the systemd unit file "Description"
field is read and used as the application display name. This
avoids needing metadata outside of the systemd unit files.
Bug-AGL: SPEC-4466
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ida7dc8f7fdb96722df0886eb9a72ee14b0856083
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -13,9 +13,9 @@ This interface can be used to: For more details about the D-Bus interface, please refer to the file `data/org.automotivelinux.AppLaunch.xml`. -Applications can be started either through D-Bus activation (using their D-Bus -name) or by specifying a command line to be executed, and are monitored until -they exit. Please note `applaunchd` allows only one instance of a given +Applications are enumerated from systemd's list of available units based on +the pattern agl-app*@*.service, and are started and controled using their +systemd unit. Please note `applaunchd` allows only one instance of a given application. AGL repo for source code: |