diff -urN gnome-orca-2.31.2/src/orca/orca.in gnome-orca-2.31.2.new/src/orca/orca.in --- gnome-orca-2.31.2/src/orca/orca.in 2010-05-24 03:10:37.000000000 +1000 +++ gnome-orca-2.31.2.new/src/orca/orca.in 2010-05-24 11:59:31.485325192 +1000 @@ -132,8 +132,16 @@ # all set and we don't need to muck around. # if [ "x$LOGNAME" != "xgdm" ] ; then - ACCESSIBILITY_ENABLED=`gconftool-2 \ + if [ "$1" = "-sudo" ]; then + shift + ACCESSIBILITY_ENABLED=`sudo -u "$1" gconftool-2 \ --get /desktop/gnome/interface/accessibility` + shift + ARGS="$*" + else + ACCESSIBILITY_ENABLED=`gconftool-2 \ + --get /desktop/gnome/interface/accessibility` + fi if [ "x$ACCESSIBILITY_ENABLED" != "xtrue" ] ; then # Because we will be running Orca in text-setup mode, we want to # make sure it is run in a terminal window. If we're already in