File aaa_base-pullreq42-default-wm.patch of Package aaa_base
From 7d8c55b2980e4548e32a91b119affdb1972af64e Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Thu, 29 Jun 2017 10:51:12 +0200
Subject: [PATCH] Use 'default' as standard window manager
'default' is managed using update-alternatives and allows for priorization
of WM's upon installation. Especially paired with the new, role-based
desktop selection this is nescessary, as YaST no longer has a way to properly
decide what WM to set as default (only GNOME and KDE still have this capability)
Anybody installing the system using 'custom roles' and adding Desktop Environments
was ending up with a system that would not have working autologin just after the
installation.
http://bugzilla.opensuse.org/show_bug.cgi?id=1030873
---
files/var/adm/fillup-templates/sysconfig.windowmanager | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: aaa_base-13.2+git20140911.61c1681/files/var/adm/fillup-templates/sysconfig.windowmanager
===================================================================
--- aaa_base-13.2+git20140911.61c1681.orig/files/var/adm/fillup-templates/sysconfig.windowmanager
+++ aaa_base-13.2+git20140911.61c1681/files/var/adm/fillup-templates/sysconfig.windowmanager
@@ -1,12 +1,13 @@
## Path: Desktop/Window manager
## Description:
## Type: string(gnome,kde4,kde,lxde,xfce,twm,icewm)
-## Default: kde4
+## Default: default
## Config: profiles,kde,susewm
#
# Here you can set the default window manager (kde, fvwm, ...)
-# changes here require at least a re-login
-DEFAULT_WM="kde-plasma"
+# changes here require at least a re-logina
+# 'default' is a session handled by update-alternatives, use "yast2 alternatives" to update
+DEFAULT_WM="default"
## Type: yesno
## Default: yes