Updated casper a11y setup

This commit is contained in:
Ruben Rodriguez 2020-04-20 15:26:40 -04:00
parent af2581d9b2
commit 37aa4354d3

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# Copyright (C) 2012-2018 Ruben Rodriguuez <ruben@trisquel.info> # Copyright (C) 2012-2020 Ruben Rodriguuez <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
@ -17,7 +17,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=6 VERSION=7
. ./config . ./config
@ -27,12 +27,6 @@ sed 's/keep-existing/keep-existing $LANG/' -i scripts/casper-bottom/14locales
# Make sure we disable ureadahead # Make sure we disable ureadahead
sed 's/readahead-list/ureadahead/' -i scripts/casper-bottom/25configure_init sed 's/readahead-list/ureadahead/' -i scripts/casper-bottom/25configure_init
# Adapt 30accessibility to mate desktop
for profile in blindness braille high-contrast onscreen-keyboard; do
sed "s/setup_profile $profile/setup_profile mate-$profile/" -i scripts/casper-bottom/30accessibility
done
sed "s/setup_profile keyboard-modifiers/setup_profile mate-motor-difficulties/" -i scripts/casper-bottom/30accessibility
# Install gsettings for the lightdm user as well # Install gsettings for the lightdm user as well
cat << EOF | patch -p0 cat << EOF | patch -p0
--- scripts/casper-bottom/30accessibility 2017-04-09 15:17:52.538923862 -0400 --- scripts/casper-bottom/30accessibility 2017-04-09 15:17:52.538923862 -0400