KWIN 4 in Leap

I have sat out Leap so far as I keep waiting for Window Tabs to be implemented in Plasma 5 (it’s still listed as a missing feature in the errata ).

I’d really like to move to 42.2, but the lack of window tabs is a substantial detractor from my present workflows.

Having read over the thread LEAP 42.1 Can I have openSUSE Leap 42.1 with plasma 4 instead of plasma 5, it seems it was possible to keep KDE4 with 42.1.
I’ve tried approximating the install method in that thread with wolfi323’s corresponding 42.2 repo for Frameworks 5, but with little success.

Is it possible to run KDE4 in 42.2 (or even just Kwin), and if so would anyone be kind enough to post instructions?
-And also anywhere to vote for the missing feature to be restored for Plasma5?

Thanks!

FYI, somebody worked on reimplemented it recently, but it’s still in review:
https://git.reviewboard.kde.org/r/129542/
https://git.reviewboard.kde.org/r/129543/
https://git.reviewboard.kde.org/r/129544/
https://phabricator.kde.org/D3472

I wouldn’t expect it before Plasma 5.10 though…

Having read over the thread LEAP 42.1 Can I have openSUSE Leap 42.1 with plasma 4 instead of plasma 5, it seems it was possible to keep KDE4 with 42.1.
I’ve tried approximating the install method in that thread with wolfi323’s corresponding 42.2 repo for Frameworks 5, but with little success.

It should work, although I haven’t tested it myself yet.

What exactly did you do and what problems do you have?
Basically you just need to install kdebase4-workspace, that should pull in everything necessary for a basic desktop.

You may need to uninstall the Plasma5 packages and patterns first though, otherwise you’ll get conflicts and updates will probably replace the KDE4 desktop again.

Or do a full switch to my repo, my Plasma5 packages can co-exist with KDE4.
You’d need KDE:Frameworks5 and KDE:Qt5 as well then though.

It should also be possible to use kwin4 as windowmanager in a Plasma5 session instead of kwin5.
Here’s a possible way to do that:
https://wiki.archlinux.org/index.php/KDE#Using_an_alternative_window_manager
The KDE4 version of kwin is in the package kwin (which should be co-installable with kwin5), the executable is /usr/bin/kwin (as opposed to /usr/bin/kwin_x11 in case of kwin5).

I never tried that though.

Hi - thanks for the quick reply.
Great to hear that window tabs aren’t gone for good, with a couple of settings tweaks I find them awesome.
Just using the KDE4 version of kwin in Plasma5 as covered in the Arch link works perfectly for me.
So I’m happy and ready to run without needing all of KDE4 - but I did detail my results at bottom if they’ll help.

For anyone else wanting just what I queried in the title, for me it was a simple as

sudo zypper in kwin kdebase4-workspace-addons
echo "export KDEWM=/usr/bin/**kwin**" > ~/.config/plasma-workspace/env/set_window_manager.sh
chmod +x ~/.config/plasma-workspace/env/set_window_manager.sh

Then log out/in and we’re all go.
-Noting that kdebase4-workspace-addons is required to provide systemsettings (the kde4 version), which I run instead of the default systemsettings5 get the ‘Automatically group similar windows’ settings to apply -and any other settings related to kwin.

OK, as for trying KDE4+42.2, I’m in a VM with a totally clean install of 42.2, with all updates.
Following the thread from last year, and checking your updated repos, I tried:

zypper ar -f http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Qt5/openSUSE_Leap_42.2/home:wolfi323:branches:KDE:Qt5.repo
zypper ar -f http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_Leap_42.2/home:wolfi323:branches:KDE:Frameworks5.repo


zypper dup --from http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Qt5/openSUSE_Leap_42.2/
zypper dup --from http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_Leap_42.2/

zypper in kdebase4-session kdebase4-workspace kdebase4-workspace-addons kdebase4-workspace-ksysguardd kdebase4-workspace-liboxygenstyle dolphin4 kdm kscreen krandr plasma-nm

After accepting the repo key I get bounced with a pile of QT dependency problems (very first few of many lines below)
I’ve tried with and without the zypper dup on QT


Problem: nothing provides libQt5Core.so.5(Qt_5.7)(64bit) needed by libqt5-qtwebengine-5.7.1-90.5.x86_64                                                        
 Solution 1: Following actions will be done:                                                                                                                   
  deinstallation of libqt5-qtwebengine-5.6.1-4.2.x86_64                                                                                                        
  deinstallation of messagelib-16.08.2-1.1.x86_64                                                                                                                        
  deinstallation of libksieve-16.08.2-1.1.x86_64                                                                                                                         
  deinstallation of libKF5PimCommon5-16.08.2-1.1.x86_64                                                                                                                                
  deinstallation of libKF5AkonadiContact5-16.08.2-1.1.x86_64                                                                                                                           
  deinstallation of kontact5-16.08.2-1.1.x86_64
  deinstallation of kdepim-runtime-16.08.2-1.1.x86_64
  deinstallation of kdepim-addons-16.08.2-1.1.x86_64

Great that it works, and thanks for the detailed instructions, maybe it helps someone else. :wink:

Regarding my repo:

zypper ar -f http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Qt5/openSUSE_Leap_42.2/home:wolfi323:branches:KDE:Qt5.repo
zypper dup --from http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Qt5/openSUSE_Leap_42.2/

This is a wrong repo, I only use that to build/submit changes to the standard KDE:Qt5 repo. It doesn’t contain most Qt5 packages.

You need the standard KDE:Qt5 repo instead, and the standard KDE:Frameworks5 repo too.

I don’t have the time to create a specific repo for each openSUSE version, it contains over 500 packages already… So I’m just building against the latest Qt5 and Frameworks5 versions.

Just installing the KDE4 packages (without doing a “zypper dup”) should work though without the other 2 repos if you uninstall Plasma5 as mentioned.