Add support for MATE to Xclients (#1147905)
This commit is contained in:
parent
a2a0799ba4
commit
bc47eb7490
3
Xclients
Executable file → Normal file
3
Xclients
Executable file → Normal file
@ -9,6 +9,7 @@
|
|||||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
GSESSION="$(type -p gnome-session)"
|
GSESSION="$(type -p gnome-session)"
|
||||||
|
MSESSION="$(type -p mate-session)"
|
||||||
STARTKDE="$(type -p startkde)"
|
STARTKDE="$(type -p startkde)"
|
||||||
STARTLXDE="$(type -p startlxde)"
|
STARTLXDE="$(type -p startlxde)"
|
||||||
|
|
||||||
@ -18,6 +19,8 @@ if [ -f /etc/sysconfig/desktop ]; then
|
|||||||
. /etc/sysconfig/desktop
|
. /etc/sysconfig/desktop
|
||||||
if [ "$DESKTOP" = "GNOME" ]; then
|
if [ "$DESKTOP" = "GNOME" ]; then
|
||||||
PREFERRED="$GSESSION"
|
PREFERRED="$GSESSION"
|
||||||
|
elif [ "$DESKTOP" = "MATE" ]; then
|
||||||
|
PREFERRED="$MSESSION"
|
||||||
elif [ "$DESKTOP" = "KDE" ]; then
|
elif [ "$DESKTOP" = "KDE" ]; then
|
||||||
PREFERRED="$STARTKDE"
|
PREFERRED="$STARTKDE"
|
||||||
elif [ "$DESKTOP" = "LXDE" ]; then
|
elif [ "$DESKTOP" = "LXDE" ]; then
|
||||||
|
@ -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.3.4
|
Version: 1.3.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
@ -105,6 +105,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
|
||||||
|
* Wed Oct 1 2014 Hans de Goede <hdegoede@redhat.com> - 1.3.4-2
|
||||||
|
- Add support for MATE to Xclients (#1147905)
|
||||||
|
|
||||||
* Thu Sep 11 2014 Hans de Goede <hdegoede@redhat.com> - 1.3.4-1
|
* Thu Sep 11 2014 Hans de Goede <hdegoede@redhat.com> - 1.3.4-1
|
||||||
- New upstream release 1.3.4
|
- New upstream release 1.3.4
|
||||||
- Resolves #806491 #990213 #1006029
|
- Resolves #806491 #990213 #1006029
|
||||||
|
Loading…
Reference in New Issue
Block a user