Skip to content
Snippets Groups Projects
Commit 5b4ea328 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Ubiquity fixed to handle orca in mate correctly

parent bd95a104
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#
# Copyright (C) 2011-2017 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2011-2018 Ruben Rodriguez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -229,21 +229,20 @@ fi
if pgrep orca > /dev/null
then
echo "Orca screen reader seems to be running, enabling accessibility by default in target system"
echo "[org.gnome.desktop.a11y.applications]
echo "[org.mate.applications-at]
screen-reader-enabled=true
[org.gnome.desktop.interface]
toolkit-accessibility=true
[org.mate.applications-at-visual]
startup=true
[org.mate.interface]
accessibility=true
[com.canonical.unity-greeter]
screen-reader=true
" >> /target/usr/share/glib-2.0/schemas/99_accessibility.gschema.override
chroot /target glib-compile-schemas /usr/share/glib-2.0/schemas
echo "/desktop/gnome/applications/at/screen_reader_enabled true
/desktop/gnome/interface/accessibility true" > /target/usr/share/gconf/defaults/91_accessibility
chroot /target update-gconf-defaults
else
set +e
grep -q v3 /proc/cmdline && exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment