Your SlideShare is downloading. ×
Lifecycle actions manager
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Lifecycle actions manager

184
views

Published on

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

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
184
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Lifecycle Actions/Manager
  • 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. Lifecycle Action● Contains start and stop configurations● Examples of the lifecycle actions: ○ exec (runs given command in shell) ○ "setSettings", "restoreSettings"
  • 4. exec Lifecycle Action{ start: [ { type: gpii.launch.exec, command: firefox } ], stop: [ { type: gpii.launch.exec, command: pkill -2 firefox } ]}
  • 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. 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"] }