From 8505790df64dcc876bbc91797bff8caa8f8f10bf Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 20 Oct 2015 15:53:20 +0200 Subject: debian-mate-default-settings: Provide itzks-debian-mate-default-settings for Debian jessie / ITZkS. --- ...bian-mate-default-settings_gtk-accessibility.sh | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 debian/default-settings/profile.d/debian-mate-default-settings_gtk-accessibility.sh (limited to 'debian/default-settings/profile.d/debian-mate-default-settings_gtk-accessibility.sh') diff --git a/debian/default-settings/profile.d/debian-mate-default-settings_gtk-accessibility.sh b/debian/default-settings/profile.d/debian-mate-default-settings_gtk-accessibility.sh new file mode 100644 index 0000000..c3d530d --- /dev/null +++ b/debian/default-settings/profile.d/debian-mate-default-settings_gtk-accessibility.sh @@ -0,0 +1,25 @@ +# Copyright (C) 2014-2015, Martin Wimpress +# Copyright (C) 2015, Mike Gabriel +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# . +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# . +# On Debian systems, the complete text of the GNU General Public +# License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +if [ "x$DESKTOP_SESSION" = "xmate" ] || [ "x$XDG_SESSION_DESKTOP" == "xmate" ]; then + # Ensure GTK accessibility modules are active. + if [ -z "$GTK_MODULES" ] ; then + GTK_MODULES=gail:atk-bridge + else + GTK_MODULES="$GTK_MODULES:gail:atk-bridge" + fi + export GTK_MODULES +fi -- cgit v1.2.3