support kiran desktop

(cherry picked from commit 1ff1097d5c3ace9e38af9c75d043a974d6df597f)
This commit is contained in:
ouyanglearnning 2022-04-14 13:54:09 +08:00 committed by openeuler-sync-bot
parent eebd2586dc
commit 2b8795bcf9
2 changed files with 7 additions and 1 deletions

View File

@ -10,6 +10,7 @@
GSESSION="$(type -p gnome-session)" GSESSION="$(type -p gnome-session)"
MSESSION="$(type -p mate-session)" MSESSION="$(type -p mate-session)"
KSESSION="$(type -p kiran-session-manager)"
STARTKDE="$(type -p startkde)" STARTKDE="$(type -p startkde)"
STARTLXDE="$(type -p startlxde)" STARTLXDE="$(type -p startlxde)"
@ -25,6 +26,8 @@ if [ -f /etc/sysconfig/desktop ]; then
PREFERRED="$STARTKDE" PREFERRED="$STARTKDE"
elif [ "$DESKTOP" = "LXDE" ]; then elif [ "$DESKTOP" = "LXDE" ]; then
PREFERRED="$STARTLXDE" PREFERRED="$STARTLXDE"
elif [ "$DESKTOP" = "KIRAN" ]; then
PREFERRED="$KSESSION"
fi fi
fi fi

View File

@ -1,6 +1,6 @@
Name: xorg-x11-xinit Name: xorg-x11-xinit
Version: 1.4.1 Version: 1.4.1
Release: 1 Release: 2
Summary: X.Org X11 X Window System xinit startup scripts Summary: X.Org X11 X Window System xinit startup scripts
License: MIT License: MIT
URL: https://www.x.org 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* %{_mandir}/man1/xinit.1*
%changelog %changelog
* Wed Mar 30 2022 ouyangminxiang <ouyangminxiang@kylinsec.com.cn> - 1.4.1-2
- Support kiran desktop
* Wed Jan 12 2022 yaoxin <yaoxin30@huawei.com> - 1.4.1-1 * Wed Jan 12 2022 yaoxin <yaoxin30@huawei.com> - 1.4.1-1
- Upgrade xorg-x11-xinit to 1.4.1 - Upgrade xorg-x11-xinit to 1.4.1