Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853820 - sys-apps/baselayout: export environment variables needed for assistive technology
Summary: sys-apps/baselayout: export environment variables needed for assistive techno...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-22 21:50 UTC by Anna Vyalkova
Modified: 2022-06-23 21:39 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Vyalkova 2022-06-22 21:50:51 UTC
TL;DR in /etc/profile set:

export ACCESSIBILITY_ENABLED=1
export QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1

About each variable:

1) ACCESSIBILITY_ENABLED
https://wiki.gnome.org/Projects/Orca/Chromium

2) QT_LINUX_ACCESSIBILITY_ALWAYS_ON
https://doc.qt.io/qt-6/qaccessible.html#details
Comment 1 Anna Vyalkova 2022-06-22 21:54:17 UTC
Other variables (that probably no one wants to enable).

- export GTK_MODULES=gail:atk-bridge
Not included because it's deprecated.
https://bugzilla.redhat.com/show_bug.cgi?id=787195

- export GNOME_ACCESSIBILITY=1
Haven't been used by applications for a very long time.
https://bugzilla.gnome.org/show_bug.cgi?id=461710

- export QT_ACCESSIBILITY=1
All guides mention it but it was removed a really long time ago (in 2011).
Comment 2 Anna Vyalkova 2022-06-23 00:00:19 UTC
Alternative solution for Qt:

If "accessibility" use flag is set (for dev-qt/qtgui or dev-qt/qtbase), install an env.d file that exports QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1.

Pros:
+ Guaranteed not to break applications (e.g. due to missing DBus -- needs testing)

Cons:
- Can't be controlled on per-slot basis, it'll be global anyway.