]> TLD Linux GIT Repositories - packages/xinitrc-ng.git/commitdiff
- use LXDE as default WM
authorMarcin Krol <hawk@tld-linux.org>
Thu, 27 Nov 2014 08:22:04 +0000 (08:22 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 27 Nov 2014 08:22:04 +0000 (08:22 +0000)
tld.patch [new file with mode: 0644]
xinitrc-ng.spec

diff --git a/tld.patch b/tld.patch
new file mode 100644 (file)
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".
index 5d74f3930d3ed92357dd287c39d57e1b857e574c..35a80890fdfec2238ff827cf218dbabaff9fe523 100644 (file)
@@ -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