how to enable accessibility on envrionment based on D-Bus?
Yang, Lei A
lei.a.yang at intel.com
Thu Dec 27 00:57:43 GMT 2007
Hi, All,
I am working on a system based on D-Bus. And I am trying to use accessibility technology in the system.
Do you know some tips that can help me enable accessibility on such system?
------------------ my operations ------------------
1. I have installed necessary packages (including bonobo and pyatspi)
2. root at system1:/# export GTK_MODULES=gail:hail:atk-bridge
3. run the at-spi-registryd:
root at system1#/usr/lib/at-spi/at-spi-registryd &
[1] 5375
root at system1:/# Xlib: extension "XEVIE" missing on display ":0.0".
4. start the gnome-text-editor and do some test on pyspi:
root at system1:/# gnome-text-editor &
root at system1:/# python
Python 2.5.1 (r251:54863, Oct 5 2007, 13:40:04)
[GCC 4.2.1 (Ubuntu 4.2.1-5ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyatspi
>>> reg=pyatspi.Registry
>>> print reg
<pyatspi.registry.Registry object at 0x824032c>
>>> desk=reg.getDesktop(0)
>> print desk
[unknown | main]
No application registered in ATSPI.
-------------------------------------------------
Thanks and Best Regards
Lei Yang
Hi, All,
I am working on a system based on D-Bus. And I am trying to use accessibility technology in the system.
Do you know some tips that can help me enable accessibility on such system?
------------------ my operations ------------------
1. I have installed necessary packages (including bonobo and pyatspi)
2. root at system1:/# export GTK_MODULES=gail:hail:atk-bridge
3. run the at-spi-registryd:
root at system1#/usr/lib/at-spi/at-spi-registryd &
[1] 5375
root at system1:/# Xlib: extension "XEVIE" missing on display ":0.0".
4. start the gnome-text-editor and do some test on pyspi:
root at system1:/# gnome-text-editor &
root at system1:/# python
Python 2.5.1 (r251:54863, Oct 5 2007, 13:40:04)
[GCC 4.2.1 (Ubuntu 4.2.1-5ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyatspi
>>> reg=pyatspi.Registry
>>> print reg
<pyatspi.registry.Registry object at 0x824032c>
>>> desk=reg.getDesktop(0)
>> print desk
[unknown | main]
No application registered in ATSPI.
-------------------------------------------------
Thanks and Best Regards
Lei Yang
More information about the Ubuntu-accessibility
mailing list