From 29b6e5fbfdae37622bd12431e8ff350d0c01ffd58c3da468585ef2ebddd7bda2 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 27 Feb 2019 10:29:57 +0000 Subject: [PATCH] - bsc#1127043: Use Openbox as default WM 0.14.0 removed Openbox as default WM from session config. At the same time if more than one WM is present at first start, a WM chooser dialog is shown. We want Openbox to stay the default WM even though we have it only as Recommends. OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-session?expand=0&rev=19 --- lxqt-session-default_wm.patch | 9 +++++++++ lxqt-session.changes | 9 +++++++++ lxqt-session.spec | 3 +++ 3 files changed, 21 insertions(+) create mode 100644 lxqt-session-default_wm.patch diff --git a/lxqt-session-default_wm.patch b/lxqt-session-default_wm.patch new file mode 100644 index 0000000..d669c5c --- /dev/null +++ b/lxqt-session-default_wm.patch @@ -0,0 +1,9 @@ +diff -urEbwB lxqt-session-0.14.0/config/session.conf lxqt-session-0.14.0.new/config/session.conf +--- lxqt-session-0.14.0/config/session.conf 2019-01-24 23:05:42.000000000 +0100 ++++ lxqt-session-0.14.0.new/config/session.conf 2019-02-27 11:29:12.615726091 +0100 +@@ -1,4 +1,5 @@ + [General] ++window_manager=openbox + leave_confirmation=true + + [Environment] diff --git a/lxqt-session.changes b/lxqt-session.changes index 52f635e..adaf8ce 100644 --- a/lxqt-session.changes +++ b/lxqt-session.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Feb 27 10:20:55 UTC 2019 - mvetter@suse.com + +- bsc#1127043: Use Openbox as default WM + 0.14.0 removed Openbox as default WM from session config. + At the same time if more than one WM is present at first start, + a WM chooser dialog is shown. We want Openbox to stay the default + WM even though we have it only as Recommends. + ------------------------------------------------------------------- Thu Jan 31 10:26:27 UTC 2019 - Michael Vetter diff --git a/lxqt-session.spec b/lxqt-session.spec index 299ddb8..0152292 100644 --- a/lxqt-session.spec +++ b/lxqt-session.spec @@ -30,6 +30,8 @@ Source2: %{name}.keyring Patch0: lxqt-0.13.0-xdg-config-dir.patch # mvetter@suse.com bsc#1112961 - Nicer icons - paper gets required by patterns-lxqt Patch1: lxqt-session-papericontheme.patch +# mvetter@suse.com bsc#1127043 - Use Openbox as default WM +Patch2: lxqt-session-default_wm.patch BuildRequires: cmake >= 3.0.2 BuildRequires: fdupes BuildRequires: gcc-c++ @@ -61,6 +63,7 @@ use when a user logs out and to restart them the next time the user logs in. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 # Changing LXQt into X-LXQt in desktop files to be freedesktop compliant and shut rpmlint warnings #find -name '*desktop.in*' -exec sed -ri 's/(LXQt;)/X-\1/' {} +