#!/bin/sh for arg do case $arg in -C|--copying) cat <&2 ;; esac done if test -x /usr/bin/gconftool-2 then path=/desktop/gnome/session/required_components/windowmanager echo "Previous GNOME window manager:" gconftool-2 -g $path echo "Setting GNOME window manager to icewm-session" gconftool-2 -s $path --type string icewm-session echo "New GNOME window manager:" gconftool-2 -g $path fi if test -x /usr/bin/gsettings then schema=org.mate.session.required-components if gsettings writable ${schema} windowmanager 2>/dev/null then echo "Setting MATE windowmanager to icewm-session" gsettings set ${schema} windowmanager icewm-session fi elif text -x /usr/bin/dconf then key=/org/mate/desktop/session/required-components/windowmanager if dconf read ${key} 2>/dev/null then echo "Setting MATE windowmanager to icewm-session" dconf write ${key} "'icewm-session'" fi fi