!27 Support UKUI and kiran desktop
From: @peijiankang Reviewed-by: @weidongkl Signed-off-by: @weidongkl
This commit is contained in:
commit
9dc65824a9
6
Xclients
6
Xclients
@ -10,8 +10,10 @@
|
|||||||
|
|
||||||
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)"
|
||||||
|
USESSION="$(type -p ukui-session)"
|
||||||
|
|
||||||
# check to see if the user has a preferred desktop
|
# check to see if the user has a preferred desktop
|
||||||
PREFERRED=
|
PREFERRED=
|
||||||
@ -25,6 +27,10 @@ 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"
|
||||||
|
elif [ "$DESKTOP" = "UKUI" ]; then
|
||||||
|
PREFERRED="$USESSION"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: xorg-x11-xinit
|
Name: xorg-x11-xinit
|
||||||
Version: 1.4.2
|
Version: 1.4.2
|
||||||
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
|
||||||
|
* 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
|
* Sat Sep 02 2023 wulei <wu_lei@hoperun.com> - 1.4.2-1
|
||||||
- Update to 1.4.2
|
- Update to 1.4.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user