Lifecycle actions manager

228
-1

Published on

Lifecycle actions manager presentation by Yura Zenevich at ICCHP - International Conference on Computers Helping People with Special Needs in Linz, Austria.

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
228
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Lifecycle actions manager

  1. 1. Lifecycle Actions/Manager
  2. 2. Lifecycle Manager● Starts and stops user sessions● Keeps track of active sessions● Saves the original state of the system● Applies settings through Settings Handlers● Launches AT applications via Lifecycle Actions (Launch Handlers)
  3. 3. Lifecycle Action● Contains start and stop configurations● Examples of the lifecycle actions: ○ exec (runs given command in shell) ○ "setSettings", "restoreSettings"
  4. 4. exec Lifecycle Action{ start: [ { type: gpii.launch.exec, command: firefox } ], stop: [ { type: gpii.launch.exec, command: pkill -2 firefox } ]}
  5. 5. Settings handlers lifecycle actions "setSettings" / "restoreSettings"{ start: [ "setSettings", { type: gpii.launch.exec, command: firefox } ], stop: [ { type: gpii.launch.exec, command: pkill -2 firefox }, "restoreSettings" ]}
  6. 6. Creating Lifecycle ActionScreen magnifier example { start: [ "setSettings", { type: gpii.launch.exec, command: gsettings set org.gnome.desktop.a11y. applications screen-magnifier-enabled true }], stop: [{ type: gpii.launch.exec, command: gsettings set org.gnome.desktop.a11y. applications screen-magnifier-enabled false }, "restoreSettings"] }

×