From b66e2cc82967e45b5d8dc044dd717260a9791f0f Mon Sep 17 00:00:00 2001 From: peijiankang Date: Fri, 10 May 2024 17:05:44 +0800 Subject: [PATCH] Support UKUI and kiran desktop --- Xclients | 6 ++++++ xorg-x11-xinit.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Xclients b/Xclients index 1d6d6f7..917cac0 100644 --- a/Xclients +++ b/Xclients @@ -10,8 +10,10 @@ GSESSION="$(type -p gnome-session)" MSESSION="$(type -p mate-session)" +KSESSION="$(type -p kiran-session-manager)" STARTKDE="$(type -p startkde)" STARTLXDE="$(type -p startlxde)" +USESSION="$(type -p ukui-session)" # check to see if the user has a preferred desktop PREFERRED= @@ -25,6 +27,10 @@ if [ -f /etc/sysconfig/desktop ]; then PREFERRED="$STARTKDE" elif [ "$DESKTOP" = "LXDE" ]; then PREFERRED="$STARTLXDE" + elif [ "$DESKTOP" = "KIRAN" ]; then + PREFERRED="$KSESSION" + elif [ "$DESKTOP" = "UKUI" ]; then + PREFERRED="$USESSION" fi fi diff --git a/xorg-x11-xinit.spec b/xorg-x11-xinit.spec index 14d9c60..b4d3dc9 100644 --- a/xorg-x11-xinit.spec +++ b/xorg-x11-xinit.spec @@ -1,6 +1,6 @@ Name: xorg-x11-xinit Version: 1.4.2 -Release: 1 +Release: 2 Summary: X.Org X11 X Window System xinit startup scripts License: MIT URL: https://www.x.org @@ -69,6 +69,9 @@ install -D -p -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libexecdir}/xinit-compat %{_mandir}/man1/xinit.1* %changelog +* Fri May 10 2024 peijiankang - 1.4.2-2 +- Support UKUI and kiran desktop + * Sat Sep 02 2023 wulei - 1.4.2-1 - Update to 1.4.2