[neon/neon/settings/Neon/release_jammy] etc/xdg/plasma-workspace/env: needed to make orca work in a wayland session

Carlos De Maine null at kde.org
Tue Aug 27 22:29:55 BST 2024


Git commit bb260754c40a4b59e7005121ebb0b387265574bf by Carlos De Maine.
Committed on 21/08/2024 at 08:59.
Pushed by carlosdem into branch 'Neon/release_jammy'.

needed to make orca work in a wayland session

A  +6    -0    etc/xdg/plasma-workspace/env/at-spi-xwayland.sh

https://invent.kde.org/neon/neon/settings/-/commit/bb260754c40a4b59e7005121ebb0b387265574bf

diff --git a/etc/xdg/plasma-workspace/env/at-spi-xwayland.sh b/etc/xdg/plasma-workspace/env/at-spi-xwayland.sh
new file mode 100644
index 0000000..7926258
--- /dev/null
+++ b/etc/xdg/plasma-workspace/env/at-spi-xwayland.sh
@@ -0,0 +1,6 @@
+#!/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