diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-10-20 15:53:20 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-10-20 15:59:03 +0200 |
commit | 8505790df64dcc876bbc91797bff8caa8f8f10bf (patch) | |
tree | 4a872349e388d9b03f9fa4249ff869cdd4221a1e /debian/default-settings/X11/Xsession.d | |
parent | 0b2679d9daaa9c4fa3af1a94df040e088112760f (diff) | |
download | itzks-systems-8505790df64dcc876bbc91797bff8caa8f8f10bf.tar.gz itzks-systems-8505790df64dcc876bbc91797bff8caa8f8f10bf.tar.bz2 itzks-systems-8505790df64dcc876bbc91797bff8caa8f8f10bf.zip |
debian-mate-default-settings: Provide itzks-debian-mate-default-settings for Debian jessie / ITZkS.
Diffstat (limited to 'debian/default-settings/X11/Xsession.d')
-rw-r--r-- | debian/default-settings/X11/Xsession.d/99mate-environment | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/default-settings/X11/Xsession.d/99mate-environment b/debian/default-settings/X11/Xsession.d/99mate-environment new file mode 100644 index 0000000..68a4d24 --- /dev/null +++ b/debian/default-settings/X11/Xsession.d/99mate-environment @@ -0,0 +1,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 |