/etc/X11/Xsession.d/99mate-environment is in debian-mate-default-settings 1.12.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # This file is sourced by Xsession(5), not executed.
# Copyright (C) 2014-2015, Martin Wimpress <code@flexion.org>
# Copyright (C) 2015, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
#
# 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
if [ -z "$GTK_MODULES" ] ; then
GTK_MODULES="canberra-gtk-module"
else
GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
fi
export GTK_MODULES
# Disable GTK3 overlay scrollbars
export GTK_OVERLAY_SCROLLING=0
# Sadly this environment variable can cause applications to segfault.
# For example:
# - Telegram doesn't work with QT_STYLE_OVERRIDE=gtk
# export QT_STYLE_OVERRIDE=gtk
# Workaround clutter issue (LP: #1462445)
export CLUTTER_BACKEND=x11
fi
|