GNOME Bugzilla – Bug 364452
Orca's at-spi app name is "-c"
Last modified: 2006-11-07 19:23:28 UTC
When one looks at Orca itself (e.g., it's braille monitor or the user settings dialog) via at-poke, it's app name is "-c". It should be "orca". No clue how to fix this - it may require a query to the pygtk folks.
One solution is to add a python file, with the name you want displayed as the application name for Orca, for example, "Orca.py". Modify runOrca in /usr/bin/orca to do the following # Runs orca. # runOrca() { cleanup exec_prefix=/usr export PYTHONPATH=${exec_prefix}/lib/python2.4/site-packages exec /usr/bin/python $PYTHONPATH/orca/Orca.py "$@" } Orca.py just needs to do something like the following: import orca orca.main bug_template.py displays orca as: App 14: name=Orca.py role=application, toolkit=GAIL Child 0: name=Orca Screen Reader / Magnifier role=frame Child 1: name=Orca Preferences role=dialog at-poke displays orca as "Orca.py" .
Created attachment 76164 [details] [review] Patch to modify argv[0] to "orca" from "-c" There are split opinions (one pro, one con) on the pygtk mailing list about this, but it seems to work just fine. Committed and closing this bug.