ubiquity: handle orca activation on lightdm-gtk-greeter
This commit is contained in:
parent
c4bfb02f87
commit
cb6aae387c
1 changed files with 8 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=26
|
VERSION=27
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
|
@ -281,6 +281,13 @@ 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
|
||||||
|
|
||||||
|
mkdir -p /target/var/lib/lightdm/.cache/lightdm-gtk-greeter/
|
||||||
|
echo "[a11y-states]
|
||||||
|
reader=true" > /target/var/lib/lightdm/.cache/lightdm-gtk-greeter/state
|
||||||
|
|
||||||
|
chroot /target chown ligthdm.lightdm /var/lib/lightdm/ -R
|
||||||
|
chmod 750 /target/var/lib/lightdm/
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Accessibility profile set to none, disabling screen reader by default in target system"
|
echo "Accessibility profile set to none, disabling screen reader by default in target system"
|
||||||
rm /target/home/*/.local/share/orca/user-settings.conf -f
|
rm /target/home/*/.local/share/orca/user-settings.conf -f
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue