Make the process of adding an orca extension easier.
This commit is contained in:
1 parent
a8118c12cf
commit
417ee40dda
6 files changed
+199
-35
No files matched your search
@@ -123,6 +123,30 @@ WINEPREFIX=/path/to/prefix /path/to/cthulhu-wine-access.exe --reader orca
|
||||
| Cthulhu (default) | `org.stormux.Cthulhu1.Service` | `/org/stormux/Cthulhu1/Service` |
|
||||
| Orca | `org.gnome.Orca1.Service` | `/org/gnome/Orca1/Service` |
|
||||
|
||||
An Orca user extension can expose the Wine methods on its own object and
|
||||
interface, without adding them to Orca's core service. Override either field
|
||||
with `--reader-path` and `--reader-interface`; omitted fields retain the
|
||||
selected reader's defaults. For an extension class named `WineAccess`:
|
||||
|
||||
```sh
|
||||
WINEPREFIX=/path/to/prefix /path/to/cthulhu-wine-access.exe --reader orca \
|
||||
--reader-path /org/gnome/Orca1/Service/WineAccess \
|
||||
--reader-interface org.gnome.Orca1.WineAccess
|
||||
```
|
||||
|
||||
Both overrides accept validated D-Bus values and apply regardless of their
|
||||
position relative to `--reader`. The bus name stays that of the selected
|
||||
reader; overrides do not grant review access to another connection.
|
||||
|
||||
Before starting its hooks or controller server, the helper introspects the
|
||||
selected object and interface and checks the required method signatures for
|
||||
the enabled capabilities. A missing extension or incompatible interface
|
||||
causes startup to fail with a diagnostic. Controller support requires
|
||||
`SpeakText`, `CancelSpeech`, `BrailleMessage` and `SpeakSsml`; control reading
|
||||
requires `PresentAccessibleEvent`. Review methods remain optional. The
|
||||
interface must be published before launching the helper. This check runs at
|
||||
startup; later request failures still follow the ordinary error handling.
|
||||
|
||||
Selection applies to controller requests, accessibility events, review
|
||||
registration and review-capture authorization. Only one helper runs per Wine
|
||||
desktop/prefix, so stop the existing helper before changing readers. There is
|
||||
|
||||
Reference in new issue
Block a user