From f592d4a451c0190248df4df058337cd612b691fa Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 27 Nov 2014 08:22:04 +0000 Subject: [PATCH] - use LXDE as default WM --- tld.patch | 20 ++++++++++++++++++++ xinitrc-ng.spec | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 tld.patch diff --git a/tld.patch b/tld.patch new file mode 100644 index 0000000..6ca7aec --- /dev/null +++ b/tld.patch @@ -0,0 +1,20 @@ +diff -ur xinitrc-ng-1.1.orig/desktop xinitrc-ng-1.1/desktop +--- xinitrc-ng-1.1.orig/desktop 2012-04-19 20:58:34.000000000 +0000 ++++ xinitrc-ng-1.1/desktop 2014-11-27 08:18:28.011000000 +0000 +@@ -1,13 +1,13 @@ + # Put the name of the system default session here + # (can be program/script name or desktop xsession name). +-# Examples: gnome, kde-plasma, twm, xfce4 +-DEFAULTWM=twm ++# Examples: gnome, kde-plasma, twm, xfce4, startlxde ++DEFAULTWM=startlxde + + # Preferred Display Manager to start in runlevel 5 + # May be one of: GNOME (for gdm or gdm2.20), KDE (for kdm), LXDE (for lxdm), + # WDM (for wdm), XDM (for xdm), LightDM (for lightdm), or a path specifying the + # binary to run. +-DISPLAYMANAGER=XDM ++DISPLAYMANAGER=LXDE + + # Put here the name of the directory that contains sessions desktop files. + # Default is "/usr/share/xsessions". diff --git a/xinitrc-ng.spec b/xinitrc-ng.spec index 5d74f39..35a8089 100644 --- a/xinitrc-ng.spec +++ b/xinitrc-ng.spec @@ -4,12 +4,13 @@ Summary: The default startup scripts for the X Window System Summary(pl.UTF-8): Domyślne skrypty startowe X Window System Name: xinitrc-ng Version: 1.1 -Release: 4 +Release: 5 License: GPL Group: X11 Source0: %{name}-%{version}.tar.gz # Source0-md5: f369317256368bf00dd07957929d5a63 Patch0: xinitrc-execute.patch +Patch1: tld.patch URL: http://svn.pld-linux.org/trac/svn/wiki/packages/xinitrc-ng Requires: /bin/sh Requires: which @@ -35,6 +36,7 @@ odpowiednie plik konfiguracyjne. %prep %setup -q %patch0 -p1 +%patch1 -p1 %install rm -rf $RPM_BUILD_ROOT -- 2.37.3