Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 8e829713e0fc6a898fbc63aa934d0191 > files > 1

at-spi2-core-qt-2.10.2-1.mga4.x86_64.rpm

#!/bin/sh
#
# to be sourced
#
# Xsession.d script to set the QT_ACCESSIBILITY env variable when accessibility
# is enabled.
#
# This file is sourced by Xsession, not executed.

if [ -x "/usr/bin/gsettings" ]; then
 a11y_enabled=$(gsettings get org.gnome.desktop.interface toolkit-accessibility)
 if [ "$a11y_enabled" = "true" ]; then
  export QT_ACCESSIBILITY=1
 fi
fi