Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Lifecycle actions manager

310 views

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
  • Be the first to comment

  • Be the first to like this

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"] }

×