--- bin/casper-a11y-enable.old 2012-03-26 06:55:58.410432106 +0200 +++ bin/casper-a11y-enable 2012-03-26 06:57:15.591032839 +0200 @@ -42,7 +42,6 @@ gct -s -t bool /desktop/gnome/interface/accessibility true gct -s -t bool /apps/gksu/disable-grab true gset set org.gnome.yelp show-cursor true - add_sudoers_file } # Common settings for motor profiles. Any change you make here will affect @@ -230,19 +229,6 @@ fi } -add_sudoers_file() -{ - if [ "$HOME" = "/root" ] || [ -n "$IN_INITRAMFS" ]; then - cat < $CHROOT_DIR/etc/sudoers.d/a11y-sudo -# To allow accessibility in GTK to work with sudo. -Defaults env_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES" -EOF - chmod 0440 $CHROOT_DIR/etc/sudoers.d/a11y-sudo - else - echo "Warning: Could not create sudoers file due to no root privileges." - fi -} - # Unfortunately this bloats this script somewhat, but orca doesn't seem to want # to deal with individual settings/a small config fragment. # Arguments: $1 = speech/magnifier/braille (which