Commit 1af0daa
committed
π fix: fix: ORCA screen reader not working on pre-Calamares screen
The pre-Calamares GTK4 app runs as root via sudo, which disconnects
it from the user's AT-SPI2 accessibility bus. ORCA could not read
the app widgets because root had no access to the accessibility bus
at /run/user/<uid>/at-spi/bus_0.
- calamares-biglinux_polkit: query the AT-SPI2 bus address via D-Bus
(org.a11y.Bus.GetAddress) before elevating to root, and pass
AT_SPI_BUS_ADDRESS as an environment variable to the sudo process.
This allows the GTK4 app to register with the user's AT-SPI2 bus,
making it visible to ORCA.1 parent 3d0248a commit 1af0daa
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments