SlideShare a Scribd company logo
1 of 6
Download to read offline
Lifecycle Actions/Manager
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)
Lifecycle Action
● Contains start and stop configurations
● Examples of the lifecycle actions:
  ○ exec (runs given command in shell)
  ○ "setSettings", "restoreSettings"
exec Lifecycle Action
{
    start: [
       {
         type: 'gpii.launch.exec',
         command: 'firefox'
       }
    ],
    stop: [
       {
         type: 'gpii.launch.exec',
         command: 'pkill -2 firefox'
       }
    ]
}
Settings handlers lifecycle actions
              "setSettings" / "restoreSettings"

{
    start: [
       "setSettings",
       {
          type: 'gpii.launch.exec',
          command: 'firefox'
       }
    ],
    stop: [
       {
          type: 'gpii.launch.exec',
          command: 'pkill -2 firefox'
       },
       "restoreSettings"
    ]
}
Creating Lifecycle Action
Screen 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"]
  }

More Related Content

Viewers also liked

Viewers also liked (6)

English4
English4English4
English4
 
Integration of a Regular Application into a User Interface Adaptation Engine ...
Integration of a Regular Application into a User Interface Adaptation Engine ...Integration of a Regular Application into a User Interface Adaptation Engine ...
Integration of a Regular Application into a User Interface Adaptation Engine ...
 
Non-Visual presentation of graphs using the Novint Falcon
Non-Visual presentation of graphs using the Novint FalconNon-Visual presentation of graphs using the Novint Falcon
Non-Visual presentation of graphs using the Novint Falcon
 
Towards A Real-Time System for Finding and Reading Signs for Visually Impaire...
Towards A Real-Time System for Finding and Reading Signs for Visually Impaire...Towards A Real-Time System for Finding and Reading Signs for Visually Impaire...
Towards A Real-Time System for Finding and Reading Signs for Visually Impaire...
 
Use of Social Media by People with Visual Impairments: Usage Levels, Attitude...
Use of Social Media by People with Visual Impairments: Usage Levels, Attitude...Use of Social Media by People with Visual Impairments: Usage Levels, Attitude...
Use of Social Media by People with Visual Impairments: Usage Levels, Attitude...
 
An Accessibility Checker for LibreOffice and OpenOffice.org Writer
An Accessibility Checker for LibreOffice and OpenOffice.org WriterAn Accessibility Checker for LibreOffice and OpenOffice.org Writer
An Accessibility Checker for LibreOffice and OpenOffice.org Writer
 

Similar to Lifecycle actions manager

step by step to write a gnome-shell extension
step by step to write a gnome-shell extension step by step to write a gnome-shell extension
step by step to write a gnome-shell extension
Yuren Ju
 
Js infrostructure
Js infrostructureJs infrostructure
Js infrostructure
Igor Alpert
 
Kubernetes+-CKA-+0400+-+Application+Lifecycle+Management.pdf
Kubernetes+-CKA-+0400+-+Application+Lifecycle+Management.pdfKubernetes+-CKA-+0400+-+Application+Lifecycle+Management.pdf
Kubernetes+-CKA-+0400+-+Application+Lifecycle+Management.pdf
Srinivasa Rao
 

Similar to Lifecycle actions manager (20)

step by step to write a gnome-shell extension
step by step to write a gnome-shell extension step by step to write a gnome-shell extension
step by step to write a gnome-shell extension
 
How To Install and Configure GNome on CentOS 7
How To Install and Configure GNome on CentOS 7How To Install and Configure GNome on CentOS 7
How To Install and Configure GNome on CentOS 7
 
Scheduling tasks the human way - Brad Wood - ITB2021
Scheduling tasks the human way -  Brad Wood - ITB2021Scheduling tasks the human way -  Brad Wood - ITB2021
Scheduling tasks the human way - Brad Wood - ITB2021
 
Linux fundamental - Chap 11 boot
Linux fundamental - Chap 11 bootLinux fundamental - Chap 11 boot
Linux fundamental - Chap 11 boot
 
Spin Up Desktop Apps with Electron.js
Spin Up Desktop Apps with Electron.jsSpin Up Desktop Apps with Electron.js
Spin Up Desktop Apps with Electron.js
 
UPC Testing talk 2
UPC Testing talk 2UPC Testing talk 2
UPC Testing talk 2
 
UFRO Master Fisica Medica 5 3 Geant4
UFRO Master Fisica Medica 5 3 Geant4UFRO Master Fisica Medica 5 3 Geant4
UFRO Master Fisica Medica 5 3 Geant4
 
Construire une application JavaFX 8 avec gradle
Construire une application JavaFX 8 avec gradleConstruire une application JavaFX 8 avec gradle
Construire une application JavaFX 8 avec gradle
 
Windows command d - m
Windows command d - mWindows command d - m
Windows command d - m
 
Windows command D -M
Windows command D -M Windows command D -M
Windows command D -M
 
Django web framework
Django web frameworkDjango web framework
Django web framework
 
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
 
Js infrostructure
Js infrostructureJs infrostructure
Js infrostructure
 
Activities.pptx
Activities.pptxActivities.pptx
Activities.pptx
 
QA your code: The new Unity Test Framework – Unite Copenhagen 2019
QA your code: The new Unity Test Framework – Unite Copenhagen 2019QA your code: The new Unity Test Framework – Unite Copenhagen 2019
QA your code: The new Unity Test Framework – Unite Copenhagen 2019
 
How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7
 
Protractor framework architecture with example
Protractor framework architecture with exampleProtractor framework architecture with example
Protractor framework architecture with example
 
Modules and injector
Modules and injectorModules and injector
Modules and injector
 
Analysing in depth work manager
Analysing in depth work managerAnalysing in depth work manager
Analysing in depth work manager
 
Kubernetes+-CKA-+0400+-+Application+Lifecycle+Management.pdf
Kubernetes+-CKA-+0400+-+Application+Lifecycle+Management.pdfKubernetes+-CKA-+0400+-+Application+Lifecycle+Management.pdf
Kubernetes+-CKA-+0400+-+Application+Lifecycle+Management.pdf
 

More from icchp2012

More from icchp2012 (10)

Improving Game Accessibility with Vibrotactile-Enhanced Hearing Instruments
Improving Game Accessibility with Vibrotactile-Enhanced Hearing InstrumentsImproving Game Accessibility with Vibrotactile-Enhanced Hearing Instruments
Improving Game Accessibility with Vibrotactile-Enhanced Hearing Instruments
 
Camera-based Signage Detection and Recognition for Blind Persons
Camera-based Signage Detection and Recognition for Blind PersonsCamera-based Signage Detection and Recognition for Blind Persons
Camera-based Signage Detection and Recognition for Blind Persons
 
Visión SenS - Why should blind people be limited to information in Braille ?
Visión SenS - Why should blind people be limited to information in Braille ?Visión SenS - Why should blind people be limited to information in Braille ?
Visión SenS - Why should blind people be limited to information in Braille ?
 
GPS and Inertial Measurement Unit (IMU) as a Navigation System for the Visual...
GPS and Inertial Measurement Unit (IMU) as a Navigation System for the Visual...GPS and Inertial Measurement Unit (IMU) as a Navigation System for the Visual...
GPS and Inertial Measurement Unit (IMU) as a Navigation System for the Visual...
 
3D model fabricated by layered manufacturing for visually handicapped persons...
3D model fabricated by layered manufacturing for visually handicapped persons...3D model fabricated by layered manufacturing for visually handicapped persons...
3D model fabricated by layered manufacturing for visually handicapped persons...
 
A Multimodal Approach To Accessible Web Content On Smartphones
A Multimodal Approach To Accessible Web Content On SmartphonesA Multimodal Approach To Accessible Web Content On Smartphones
A Multimodal Approach To Accessible Web Content On Smartphones
 
AAC vocabulary standardisation and harmonisation
AAC vocabulary standardisation and harmonisation AAC vocabulary standardisation and harmonisation
AAC vocabulary standardisation and harmonisation
 
The Crosswatch Traffic Intersection Analyzer: A Roadmap for the Future - Coug...
The Crosswatch Traffic Intersection Analyzer: A Roadmap for the Future - Coug...The Crosswatch Traffic Intersection Analyzer: A Roadmap for the Future - Coug...
The Crosswatch Traffic Intersection Analyzer: A Roadmap for the Future - Coug...
 
Creating an Entertaining and Informative Music Visualization
Creating an Entertaining and Informative Music VisualizationCreating an Entertaining and Informative Music Visualization
Creating an Entertaining and Informative Music Visualization
 
Cloud4all Architecture Overview
Cloud4all Architecture OverviewCloud4all Architecture Overview
Cloud4all Architecture Overview
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

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