[neon/neon/settings/Neon/unstable] etc/xdg/plasma-workspace/env: enable orca screen reader in wayland on xwayland run apps
Carlos De Maine
null at kde.org
Wed Aug 28 02:32:55 BST 2024
Git commit fe6c327d0aadb5029ef16a4f631db2272c210596 by Carlos De Maine.
Committed on 28/08/2024 at 01:32.
Pushed by carlosdem into branch 'Neon/unstable'.
enable orca screen reader in wayland on xwayland run apps
A +8 -0 etc/xdg/plasma-workspace/env/neon_at_spi_bus.sh
https://invent.kde.org/neon/neon/settings/-/commit/fe6c327d0aadb5029ef16a4f631db2272c210596
diff --git a/etc/xdg/plasma-workspace/env/neon_at_spi_bus.sh b/etc/xdg/plasma-workspace/env/neon_at_spi_bus.sh
new file mode 100644
index 0000000..599b971
--- /dev/null
+++ b/etc/xdg/plasma-workspace/env/neon_at_spi_bus.sh
@@ -0,0 +1,8 @@
+# allow orca screen reader to work with xwayland apps in a wayland session
+# also required for calamares to be read
+#!/bin/sh
+
+# Set the properties if and only if wayland with xwayland is present
+if [ -n "$DISPLAY" ] && [ -n "$WAYLAND_DISPLAY" ]; then
+ xprop -root -format AT_SPI_BUS 8s -set 'AT_SPI_BUS' "$( busctl call --user org.a11y.Bus /org/a11y/bus org.a11y.Bus GetAddress | sed 's/s "\(.*\)"/\1/' )"
+fi
More information about the Neon-commits
mailing list