История изменений
Исправление Darth_Revan, (текущая версия) :
Как-то так:
$ cat /etc/X11/Xsession.d/90mate-qt4
# -*- sh -*-
# Xsession.d script to workaround Qt4 icon themes in MATE and Xfce.
# This file is sourced by Xsession(5), not executed.
if [ "$DESKTOP_SESSION" = "mate" ]; then
export DESKTOP_SESSION=gnome
ICON_THEME=$(gsettings get 'org.mate.interface' 'icon-theme' | sed -e "s/^'//;s/'$//")
elif ( xprop -root _DT_SAVE_MODE | grep -q 'xfce4' ); then
ICON_THEME=$(xfconf-query -c xsettings -p '/Net/IconThemeName')
fi
if [ ! -z "$ICON_THEME" ]; then
gconftool-2 --set --type string '/desktop/gnome/interface/icon_theme' "$ICON_THEME"
fi
Исходная версия Darth_Revan, :
Как-то так:
$ cat /etc/X11/Xsession.d/90mate-qt4
# -*- sh -*-
# Xsession.d script to workaround Qt4 icon themes in MATE and Xfce.
# This file is sourced by Xsession(5), not executed.
if [ "$DESKTOP_SESSION" = "mate" ]; then
export DESKTOP_SESSION=gnome
IconTheme=$(gsettings get org.mate.interface icon-theme | sed -e "s/^'//;s/'$//")
elif ( xprop -root _DT_SAVE_MODE | grep -q 'xfce4' ); then
IconTheme=$(xfconf-query -c xsettings -p /Net/IconThemeName)
fi
if [ ! -z "$IconTheme" ]; then
gconftool-2 --set --type string '/desktop/gnome/interface/icon_theme' "$IconTheme"
fi