diff options
Diffstat (limited to 'debian/default-settings/X11/Xsession.d')
| -rw-r--r-- | debian/default-settings/X11/Xsession.d/55mate-session_materc-itzks | 27 | ||||
| -rw-r--r-- | debian/default-settings/X11/Xsession.d/99mate-environment | 38 | 
2 files changed, 0 insertions, 65 deletions
diff --git a/debian/default-settings/X11/Xsession.d/55mate-session_materc-itzks b/debian/default-settings/X11/Xsession.d/55mate-session_materc-itzks deleted file mode 100644 index 502510e..0000000 --- a/debian/default-settings/X11/Xsession.d/55mate-session_materc-itzks +++ /dev/null @@ -1,27 +0,0 @@ -# If we are running the MATE session, source ~/.materc - -if [ ! -f /etc/X11/Xsession.d/55mate-session_materc ]; then - -    BASESTARTUP=${STARTUP%% *} -    BASESTARTUP=${BASESTARTUP##*/} -    if [ "$BASESTARTUP" = x-session-manager ]; then -        BASESTARTUP=$(basename $(readlink /etc/alternatives/x-session-manager)) -    fi - -    case "$BASESTARTUP" in -      mate-session*) -        MATERC=$HOME/.materc -        if [ -r "$MATERC" ]; then -            . "$MATERC" -        fi -        # We prepend /usr/share/mate since its defaults.list actually points -        # to /etc so it is configurable. -        if [ -z "$XDG_DATA_DIRS" ]; then -            XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/ -        else -            XDG_DATA_DIRS=/usr/share/mate:"$XDG_DATA_DIRS" -        fi -        export XDG_DATA_DIRS -      ;; -    esac -fi diff --git a/debian/default-settings/X11/Xsession.d/99mate-environment b/debian/default-settings/X11/Xsession.d/99mate-environment deleted file mode 100644 index 68a4d24..0000000 --- a/debian/default-settings/X11/Xsession.d/99mate-environment +++ /dev/null @@ -1,38 +0,0 @@ -# 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  | 
