How can I tell consistently if accessibility is enabled?



Hi,

I'm trying to find a reliable way of telling if accessibility is
enabled for the current X session without using the ATK or GTK
libraries built into a program.  I need to be able to query the
system, say through a shell script, or something as equally limited.

I was hoping to use the output from: gconftool-2 -g
/desktop/gnome/interface/accessibility, which will give me a true if I
run as the user, but unfortunately will give me a false if I run the
app with sudo (Which makes sense, since it's then run as root).  I
also can't modify the sudo call, so that's not an option.

Anyone have a better suggestion?

-Tim


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]