Re: [g-a-devel]accessibility gconf key
- From: Simon Bates <simon bates utoronto ca>
- To: gnome-accessibility-devel gnome org
- Subject: Re: [g-a-devel]accessibility gconf key
- Date: Tue, 17 Sep 2002 13:50:05 -0400
Hi everyone,
I have written a very simple shell script for checking and setting the
gconf accessibility key. I have included it here just in case anyone
else might find it useful.
Usage:
To check the current value:
$ gnome-accessibility
To turn accessibility on:
$ gnome-accessibility on
To turn accessibility off:
$ gnome-accessibility off
Simon.
----
#!/bin/sh
if test $# -eq 0
then gconftool-2 -g /desktop/gnome/interface/accessibility
fi
if test $# -eq 1
then if test $1 = on -o $1 = true
then gconftool-2 -s
/desktop/gnome/interface/accessibility \
-t bool true
elif test $1 = off -o $1 = false
then gconftool-2 -s
/desktop/gnome/interface/accessibility \
-t bool false
else echo gnome-accessibility: unknown command $1
fi
fi
----
> From: Bill Haneman <bill haneman sun com>
> To: gnome-accessibility-devel gnome org
> Date: 17 Sep 2002 16:51:19 +0100
> Subject: [g-a-devel]accessibility gconf key
>
> Hi:
>
> It's come to my attention that some folks are unsure about the gconf key
> used to enable loading of the GNOME accessibility libraries. At the
> moment this key doesn't have a user-visible dialog or checkbox for
> activation, so in order to use it, you need to run gconftool-2 (or
> perhaps gconf-editor).
>
> gconftool-2 --help
>
> will give some usage information
>
> gconftool-2 -g /desktop/gnome/interface/accessibility
>
> will report the current status of the 'accessibility' key; and
>
> gconftool-2 -s -t boolean /desktop/gnome/interface/accessibility true
>
> will set the value to "true".
>
> The alternate method of enabling accessibility, via the GTK_MODULES
> environment variable, is not recommended generally and is maintained
> only for use by "pure gtk+" programs that don't know about gconf or call
> gnome_init.
>
> best regards,
>
> Bill
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]