=== modified file 'ubiquity/frontend/gtk_ui.py' --- ubiquity/frontend/gtk_ui.py 2017-09-28 21:25:09 +0000 +++ ubiquity/frontend/gtk_ui.py 2017-10-12 16:32:48 +0000 @@ -158,6 +158,11 @@ def switch_to_install_interface(self): self._wizard.switch_to_install_interface() +def on_a11y_changed(gsettings, key): + if key == "screen-reader-enabled": + if gsettings.get_value(key).unpack() == True: + if osextras.find_on_path('onboard'): + subprocess.Popen(['onboard'], preexec_fn=misc.drop_all_privileges) class Wizard(BaseFrontend): def __init__(self, distro): @@ -369,6 +374,9 @@ ['canberra-gtk-play', '--id=system-ready'], preexec_fn=misc.drop_all_privileges) + settings_a11y = Gio.Settings.new("org.gnome.desktop.a11y.applications") + settings_a11y.connect("changed", on_a11y_changed) + def all_children(self, parent): if isinstance(parent, Gtk.Container): def recurse(x, y):