Ubiquity fixed to handle orca in mate correctly
This commit is contained in:
parent
bd95a1045d
commit
5b4ea328e7
1 changed files with 7 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/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
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|
@ -229,21 +229,20 @@ fi
|
||||||
if pgrep orca > /dev/null
|
if pgrep orca > /dev/null
|
||||||
then
|
then
|
||||||
echo "Orca screen reader seems to be running, enabling accessibility by default in target system"
|
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
|
screen-reader-enabled=true
|
||||||
|
|
||||||
[org.gnome.desktop.interface]
|
[org.mate.applications-at-visual]
|
||||||
toolkit-accessibility=true
|
startup=true
|
||||||
|
|
||||||
|
[org.mate.interface]
|
||||||
|
accessibility=true
|
||||||
|
|
||||||
[com.canonical.unity-greeter]
|
[com.canonical.unity-greeter]
|
||||||
screen-reader=true
|
screen-reader=true
|
||||||
" >> /target/usr/share/glib-2.0/schemas/99_accessibility.gschema.override
|
" >> /target/usr/share/glib-2.0/schemas/99_accessibility.gschema.override
|
||||||
chroot /target glib-compile-schemas /usr/share/glib-2.0/schemas
|
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
|
else
|
||||||
set +e
|
set +e
|
||||||
grep -q v3 /proc/cmdline && exit
|
grep -q v3 /proc/cmdline && exit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue