Support UKUI and kiran desktop

This commit is contained in:
peijiankang 2024-05-10 17:05:44 +08:00
parent 08ef5df826
commit b66e2cc829
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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 <peijiankang@kylinos.cn> - 1.4.2-2
- Support UKUI and kiran desktop
* Sat Sep 02 2023 wulei <wu_lei@hoperun.com> - 1.4.2-1
- Update to 1.4.2