File cinnamon-fallback-icewm.patch of Package cinnamon
diff -ruN a/files/usr/bin/cinnamon-launcher b/files/usr/bin/cinnamon-launcher
--- a/files/usr/bin/cinnamon-launcher 2021-07-02 22:19:14.000000000 +0700
+++ b/files/usr/bin/cinnamon-launcher 2021-07-10 03:22:22.044467954 +0700
@@ -15,22 +15,13 @@
gi.require_version('Gtk', '3.0') # noqa
from gi.repository import Gtk, GLib, Gio, GLib
-FALLBACK_COMMAND = "metacity"
+FALLBACK_COMMAND = "icewm"
FALLBACK_ARGS = ("--replace",)
gettext.install("cinnamon", "/usr/share/locale")
panel_process_name = None
panel_cmd = None
-if shutil.which("mate-panel"):
- panel_process_name = "mate-panel"
- panel_cmd = "mate-panel --replace &"
-elif shutil.which("gnome-panel"):
- panel_process_name = "gnome-panel"
- panel_cmd = "gnome-panel --replace &"
-elif shutil.which("tint2"):
- panel_process_name = "tint2"
- panel_cmd = "killall tint2; tint2 &"
# Used as a decorator to run things in the background
def async_function(func):