X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F30accessibility;h=75bfae497ec88cb5f43f69446ca0a80d804e8d41;hb=c967ebfc4e43fb16a0c2c140c66900712be95ab7;hp=7681aeffbeaf52f2a8e41b1e8a0f14c7bd1e41d7;hpb=ef4ec3a72d79454603dfb8a0611852d858e515ea;p=live-boot-grml.git diff --git a/scripts/live-bottom/30accessibility b/scripts/live-bottom/30accessibility index 7681aef..75bfae4 100755 --- a/scripts/live-bottom/30accessibility +++ b/scripts/live-bottom/30accessibility @@ -109,20 +109,12 @@ case ${ACCESS} in gct -s -t bool /desktop/gnome/interface/accessibility true gct -s -t bool /desktop/gnome/applications/at/visual/startup true gct -s -t string /desktop/gnome/applications/at/visual/exec orca + gct -s -t string /apps/empathy/conversation/theme classic gct -s -t bool /apps/gksu/disable-grab true gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers remove_applet fast_user_switch - if [ -x /root/usr/bin/pulse-session ] - then - mkdir -p /root/var/lib/pulseaudio - touch /root/var/lib/pulseaudio/.pulse_a11y_nostart - chroot /root chown root.root /var/lib/pulseaudio/.pulse_a11y_nostart - mkdir -p /root/home/$USERNAME/.pulse - echo "autospawn = no" > /root/home/$USERNAME/.pulse/client.conf - chroot /root chown -R $USERNAME.$USERNAME /home/$USERNAME/.pulse - fi if [ -x /root/usr/bin/orca ] then mkdir -p /root/home/$USERNAME/.orca @@ -137,6 +129,7 @@ case ${ACCESS} in gct -s -t string /desktop/gnome/applications/at/visual/exec orca gct -s -t bool /apps/gksu/disable-grab true gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity + gct -s -t string /apps/empathy/conversation/theme classic sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers if [ -x /root/usr/bin/orca ] @@ -149,16 +142,6 @@ case ${ACCESS} in chroot /root chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.orca fi - if [ -x /root/usr/bin/pulse-session ] - then - mkdir -p /root/var/lib/pulseaudio - touch /root/var/lib/pulseaudio/.pulse_a11y_nostart - chroot /root chown root.root /var/lib/pulseaudio/.pulse_a11y_nostart - mkdir -p /root/home/$USERNAME/.pulse - echo "autospawn = no" > /root/home/$USERNAME/.pulse/client.conf - chroot /root chown -R $USERNAME.$USERNAME /home/$USERNAME/.pulse - fi - remove_applet fast_user_switch ;;