Use correct binary for the KDE Plasma session (#1954847)
This changes Xsession and Xclients to call to the KDE Plasma X11 session binary directly, rather than assuming that "startkde" will start an X11 session.
This commit is contained in:
parent
f2caebdf90
commit
9a3b27705c
2
Xclients
2
Xclients
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
GSESSION="$(type -p gnome-session)"
|
GSESSION="$(type -p gnome-session)"
|
||||||
MSESSION="$(type -p mate-session)"
|
MSESSION="$(type -p mate-session)"
|
||||||
STARTKDE="$(type -p startkde)"
|
STARTKDE="$(type -p startplasma-x11)"
|
||||||
STARTLXDE="$(type -p startlxde)"
|
STARTLXDE="$(type -p startlxde)"
|
||||||
|
|
||||||
# check to see if the user has a preferred desktop
|
# check to see if the user has a preferred desktop
|
||||||
|
4
Xsession
4
Xsession
@ -60,8 +60,8 @@ case $# in
|
|||||||
exec -l $SHELL -c gnome-session
|
exec -l $SHELL -c gnome-session
|
||||||
exec /bin/sh -c "exec -l $SHELL -c \"gnome-session\""
|
exec /bin/sh -c "exec -l $SHELL -c \"gnome-session\""
|
||||||
;;
|
;;
|
||||||
kde|kde1|kde2)
|
kde|kde1|kde2|kdeplasma)
|
||||||
exec $CK_XINIT_SESSION $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"startkde\""
|
exec $CK_XINIT_SESSION $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"startplasma-x11\""
|
||||||
;;
|
;;
|
||||||
twm)
|
twm)
|
||||||
# fall back to twm
|
# fall back to twm
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Summary: X.Org X11 X Window System xinit startup scripts
|
Summary: X.Org X11 X Window System xinit startup scripts
|
||||||
Name: xorg-x11-%{pkgname}
|
Name: xorg-x11-%{pkgname}
|
||||||
Version: 1.4.0
|
Version: 1.4.0
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://www.x.org
|
URL: https://www.x.org
|
||||||
|
|
||||||
@ -119,6 +119,9 @@ install -p -m644 -D %{SOURCE18} $RPM_BUILD_ROOT%{_datadir}/xsessions/xinit-compa
|
|||||||
%{_datadir}/xsessions/xinit-compat.desktop
|
%{_datadir}/xsessions/xinit-compat.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 29 2021 Neal Gompa <ngompa13@gmail.com> - 1.4.0-10
|
||||||
|
- Use correct binary for the KDE Plasma session (#1954847)
|
||||||
|
|
||||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-9
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user