Skip to content

Conversation

@lenemter
Copy link
Member

Fixes #342

This will only apply to new users, so... we probably should create this file manually in packaging I guess. Also it doesn't apply to system applications so I need to figure out how to write this file in /var/lib/flatpak/overrides. If you know how to do this feel free to push into this branch.

@danirabbit danirabbit requested a review from tintou May 14, 2025 16:22
@@ -0,0 +1,6 @@
[Environment]
QT_LINUX_ACCESSIBILITY_ALWAYS=true
Copy link
Member

@tintou tintou May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have been QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 but it is not required as the documentation stands:

In the Unix/X11 AT-SPI implementation, applications become accessible when two conditions are met:

org.a11y.Status.IsEnabled DBus property is true
org.a11y.Status.ScreenReaderEnabled DBus property is true

An alternative to setting the DBus AT-SPI properties is to set the QT_LINUX_ACCESSIBILITY_ALWAYS_ON environment variable.

So the org.a11y.bus=talk should be enough

@@ -0,0 +1,6 @@
[Environment]
QT_LINUX_ACCESSIBILITY_ALWAYS=true
GTK_PATH=/app/lib/gtkmodules
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be required, the AT-SPI module is built with Gtk itself so the default paths should be enough

@tintou
Copy link
Member

tintou commented May 21, 2025

I don't see anybody else doing this, I suppose that they still have accessibility support though so this sounds like we are doing something wrong elsewhere…

@danirabbit danirabbit added this to A11y May 22, 2025
@danirabbit danirabbit moved this from Needs Review to Needs Discussion in A11y May 22, 2025
@github-project-automation github-project-automation bot moved this to Needs Review in A11y May 22, 2025
@Conan-Kudo
Copy link

I don't see anybody else doing this, I suppose that they still have accessibility support though so this sounds like we are doing something wrong elsewhere…

Actually, I didn't even know about this, I imagine basically nobody else did either. I need to figure out how to ship something like this for Fedora KDE.

@Conan-Kudo
Copy link

Tracking this in Fedora KDE: https://pagure.io/fedora-kde/SIG/issue/640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Discussion

Development

Successfully merging this pull request may close these issues.

Flatpak overrides for accessibility

4 participants