Upgrade to KDE 5

I want to upgrade to kde 5 from kde 4.14 but i don’t know how to upgrade them. Anybody can show me how to upgrade to kde 5? I’m using opensuse 13.2.

There is no “KDE 5” (there actually is no “KDE 4” either…), KDE is a community that creates software… :wink:

To install Plasma 5, the desktop created by KDE, just install the package “plasma5-session”, it is included in 13.2. Then choose “Plasma 5” at the login screen, or set it as default in /etc/sysconfig/windowmanager.
But this will remove your “KDE 4” desktop, and none of the “KDE 4” applications are available for KF5 yet (you can continue to use the “KDE 4” versions though).

If you want to install Plasma 5 alongside your current “KDE 4”, I maintain a repo on OBS with packages that make that possible. This repo also contains pre-release versions of many KF5 applications, like dolphin, konqueror, gwenview, konsole, …, that can also co-exist with their “KDE 4” counterparts.
To use my repo, you first have to add the KDE:Qt5 and KDE:Frameworks5 repos (the libraries included in 13.2 are too old already), see here:
https://en.opensuse.org/SDB:KDE_repositories#KDE_Frameworks_5_.26_Plasma_5

Then add my repo, preferably with a higher priority (i.e. lower priority number in YaST->Software Repositories):
http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_13.2/
And like above, install “plasma5-session” to get everything needed for Plasma5, i.e. the desktop itself.
Please have a look at the “Repository” View in YaST->Software Management for other available applications from my repo and install what you want manually, they won’t be installed automatically.

I would recommen that you install plasma5 using this repo:

http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_13.2/

As explained in the post above. This will give you plasma5 (kde 5 - still to me sorry) and leave kde4 unaltered, so you can switch between the two whenever it suits.

Is it safe?

Is it work?

I have read wolfi’s instructions a few time in the past few weeks, decided to try Plasma5 in a 13.2 VM I had installed.

I added the QT5, Frameworks 5 and ‘wolfi Repo’ per the guidelines

I installed plasma5-session from the ‘wolfi repo’.
Dependencies pulled in 10 otherplasma5-xx-yy packages,
plasma5-addons and plasma5-addons-lang loaded from the Frameworks 5 repo, all others from the ‘wolfi repo’

I ran a “switch to files from this repo” on the “wolfi repo”,

When I logout and try to login to a Plasma5 session, I get an error popup:

Could not start kdeinit5. Check your installation

Went back and logged in to KDE4 Plasma.

I see kdeinit5 is installed from the kinit package in the Frameworks5 repo.

Might there be some othe Plasma5 libs or something I need to force load?

I tried Plasma 5 on openSUSE 13.2 x64 on two different machines, and had major problems with it. I can’t remember exactly what they were because it was a couple months ago, but I remember Amarok wouldn’t work at all, and the DE was for the most part not usable. I don’t know if anyone has had better luck with it, but I would not recommend running Plasma 5 as your main desktop.

Thanks for your advice. I think I’ll stick with my 4.14 KDE Plasma :slight_smile:

KDE Plasma 5 is now 5.1.2
KDE Framework 5 is now 5.5.0

Still no one recommends using it as the primary desktop and there is no KDE Applications 5 yet.
I remember the disappointing KDE 4 release so I have no problem waiting for KDE 5 to deliver a complete desktop (Framework, Plasma and Applications).

I’ve been using it for months on a few openSUSE machines, two used for dev work. RIght now, my wife is running the Plasma5 session on an old Toshiba laptop with Tumbleweed (KF5 v5.4, Plasma v5.1.2). My main dev box is running Tumblweed with KF5 Factory (v5.5) and wolfi’s repo so I can “dual-boot” to KDE-Plasma-old.

I had a minor hiccup a couple of weeks ago, but to answer your question, yes, someone else is using Plasma5 daily for work (and play) with great success. I have not tried to run Plasma5 on a straight up 13.2 install.

For TW, you can just add the KF5 Factory repo and Wolfi’s TW repo and QT is used from TW.
For Factory, you can just use the factory repos for all three (KF5, QT, wolfi).

One problem I have is with FireFox and the KWin compositor, either OGL 2.0 or 3.1, goes bonkers if you hit any video sites with FF. Shift_Alt_F12 is your friend. :slight_smile:

Also, all of my setups are x86_64, running kernel 3.18.

I followed the guide here: http://poisonpacket.wordpress.com/2014/11/04/installing-kde5-on-opensuse-13-2-as-the-only-desktop-enviorment/

I installed Plasma 5 from a clean install on both my desktop and laptop, and didn’t have very good results. The fact that I had problems on both machines told me it wasn’t an isolated issue related to my hardware. I remember my laptop’s screen was going crazy with artifacts if my memory serves me correctly. I would use it if it worked right, but Plasma 5 isn’t released so I would expect it to have issues.

Huh? It had already 2 releases, with 5.2 coming next month

You do not need KF5 Factory for Tumbleweed.
My Tumbleweed repo is built just against standard Tumbleweed, not KF5.

If you do want to use the KF5 repo, add the Factory repos (all 3, including KDE:Qt5).

Ir works fine here on two different systems.
But there are reports from others where it only works when switching desktop effects to use “XRender” instead of OpenGL.

Yes, it should be safe. You can keep KDE4 if you use my repo and it should not interfere at all with it, so there’s always a fallback if Plasma 5 doesn’t work for you… :wink:

Personally I could just as well use it at my primary desktop now (and even since months).
Some things are missing still, in particular not all plasmoid are ported yet, and there are some minor issues but nothing problematic I’d say.

And there are KF5 Applications. My repo contains over 130 packages already! :wink:
Most of them are pre-release snapshots, but a few of them have had their first release last Wednesday.
See also: https://kde.org/announcements/applications/14.12.0/

The release includes the first KDE Frameworks 5-based versions of Kate and KWrite, Konsole, Gwenview, KAlgebra, Kanagram,KHangman, Kig, Parley, KApptemplate and Okteta. Some libraries are also ready for KDE Frameworks 5 use: analitza and libkeduvocdocument.

You can of course just as well use KDE 4 Applications in a Plasma 5 session, Plasma 5’s systemsettings even adjusts KDE4’s settings (color scheme, widget style, fonts, …) so that KDE4 applications fit in to the Plasma 5 desktop.

I remember the disappointing KDE 4 release so I have no problem waiting for KDE 5 to deliver a complete desktop (Framework, Plasma and Applications).

Plasma 5 is much better than version 4.0 was.
Plasma 4.0 was a completely new product, where Plasma 5 is merely a redesign and refinement.

If you install “plasma5-session”, everything needed to at least start a Plasma 5 session should be pulled in automatically.

Please verify that plasma5-session and plasma5-workspace do indeed come from my repo.
Having the first one from my repo and the second one from KF5 will cause exactly the error message that you posted.

rpm -qi plasma5-session plasma5-workspace

The “Switch packages…” should have made sure that it comes from my repo, but maybe something went wrong?

Another suggestion: try to update everything and look for packages marked in red in those 3 repos. There have been a lot of rebuilds lately, maybe your system is on some inconsistent state.

And please post your repo list:

zypper lr -d

Wolfi -
I ran updates for all repos.
I checked, yes “Please verify that plasma5-session and plasma5-workspace do indeed come from my repo.” is correct,
That would be repo 10 below.

zypper lr -d
#  | Alias                     | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                                                 | Service
---+---------------------------+------------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------------------------------+--------
 1 | openSUSE-13.2-0           | openSUSE-13.2-0                    | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-VBOX_CD-ROM_VB2-01700376                                         |        
 2 | repo-debug                | openSUSE-13.2-Debug                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                                      |        
 3 | repo-debug-update         | openSUSE-13.2-Update-Debug         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2/                                                     |        
 4 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2-non-oss/                                             |        
 5 | repo-non-oss              | openSUSE-13.2-Non-Oss              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/                                        |        
 6 | repo-oss                  | openSUSE-13.2-Oss                  | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                                            |        
 7 | repo-source               | openSUSE-13.2-Source               | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.2/repo/oss/                                     |        
 8 | repo-update               | openSUSE-13.2-Update               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                                                           |        
 9 | repo-update-non-oss       | openSUSE-13.2-Update-Non-Oss       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/                                                   |        
10 | wolfi_KDE4/5_simultaneous | wolfi KDE4/5 simultaneous          | Yes     | Yes     |   25     | rpm-md | http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_13.2/ |        
11 | wolfi_Plasma5             | wolfi Plasma5 Qt5                  | Yes     | Yes     |   30     | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_13.2/                                   |        
12 | wolfi_Plasma5_1           | wolfi Plasma5 Frameworks5          | Yes     | Yes     |   30     | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_13.2/                           |        
carl@linux-rm2d:~> 


Still received same error.

In figuring out why my bi-directional clipboard was not working to the VM, I realized that my Guest additions were not properly installed.
Fixed that and reinstalled.
Since that changes the video driver situation, I am off to reload all the Plasma5 packages in case the funky driver situation messed the install.

Reinstalling all packages plasma5* did not help.

I logged out and logged into console as root.

# kdeinit5
kdeinit5: Aborting. $DISPLAY is not set.

is there a better way to try starting plasma5 from cli to get more diagnostics?

The rpm line I gave you should show exactly from which repo the packages come from (i.e. which “vendor” they have).
But if you say this is ok, I’ll believe you… :wink:

In figuring out why my bi-directional clipboard was not working to the VM, I realized that my Guest additions were not properly installed.
Fixed that and reinstalled.
Since that changes the video driver situation, I am off to reload all the Plasma5 packages in case the funky driver situation messed the install.

So do I understand you correctly? You are running openSUSE inside a VM (vmware?) and installed the Plasma 5 packages in this guest?

I don’t think the video driver could cause kdeinit5 to not start.

But openSUSE does include the guest additions, you should not have to install them yourself normally. OTOH, somewhere in the back of my head I remember a problem with the openvm-tools included in 13.2.
I only ever tried with Tumbleweed in VirtualBox I have to say, my Plasma 5 packages work fine there with the guest additions included in openSUSE (haven’t tried without them).

If it still doesn’t work, could you please login to IceWM or similar, run “/opt/kf5/bin/startkf5” and post the output? Maybe this would give a clue…

Do you mean a text mode console?
This cannot work, as you need an X session to run Plasma and things like kdeinit5.

is there a better way to try starting plasma5 from cli to get more diagnostics?

Yes.
I wrote this in my previous post.

Run “/opt/kf5/bin/startkf5” in a terminal window (xterm e.g.) inside an X session (IceWM or twm, e.g.).

I am running a Virtual Box VM of openSUSE 13.2, running on 13.2/KDE.

I guess I didn’t realize Guest additions were pre-installed, but clipboard sharing did not work until I reloaded them.
I built this VM about a month ago, to play with 13.2 before upgrade.
It may have been with a prior release of VBox…?

I forgot that it was when running this (attempting to copy-paste) that I got distracted fixing Guest additions.

rpm -qi plasma5-session plasma5-workspace
Name        : plasma5-session
Version     : 5.1.2
Release     : 46.1
Architecture: x86_64
Install Date: Sun 21 Dec 2014 02:31:49 PM EST
Group       : System/GUI/KDE
Size        : 18394
License     : GPL-2.0+
Signature   : RSA/SHA1, Sun 21 Dec 2014 01:50:01 PM EST, Key ID 3eb6fc6323312922
Source RPM  : plasma5-session-5.1.2-46.1.src.rpm
Build Date  : Sun 21 Dec 2014 01:49:45 PM EST
Build Host  : cloud112
Relocations : (not relocatable)
Vendor      : obs://build.opensuse.org/home:wolfi323
URL         : http://www.kde.org/
Summary     : The KDE Session
Description :
This package contains the startup scripts necessary to start a KDE
session from kdm.
Distribution: home:wolfi323:branches:KDE:Frameworks5 / openSUSE_13.2
Name        : plasma5-workspace
Version     : 5.1.2
Release     : 90.4
Architecture: x86_64
Install Date: Sun 21 Dec 2014 01:34:38 PM EST
Group       : System/GUI/KDE
Size        : 12996582
License     : GPL-2.0+
Signature   : RSA/SHA1, Fri 19 Dec 2014 09:22:09 AM EST, Key ID 3eb6fc6323312922
Source RPM  : plasma5-workspace-5.1.2-90.4.src.rpm
Build Date  : Fri 19 Dec 2014 09:19:20 AM EST
Build Host  : cloud123
Relocations : (not relocatable)
Vendor      : obs://build.opensuse.org/home:wolfi323
URL         : http://www.kde.org/
Summary     : The KDE Plasma Workspace Components
Description :
This package contains the basic packages for a Plasma workspace.
Distribution: home:wolfi323:branches:KDE:Frameworks5 / openSUSE_13.2


Hmmm, my first run with ICEwm
Could not figure out how to copy paste from Xterm, so got this with

/opt/kf5/bin/startkf5 2>outfile.txt, then opened with kwrite where I could copy/paste

AND, now I realize I could have use Konsole, copy/paste do work. Oh well, a learning session.

So here is the message:

/opt/kf5/bin/startkf5
startkde: Starting up...
/usr/bin/kdeinit5: symbol lookup error: /usr/lib64/libKF5Crash.so.5: undefined symbol: _ZN6QDebugD1Ev
startkde: Could not start kdeinit5. Check your installation.

Am I missing a debug package, perhaps?

So, you’re using VirtualBox?
Clipboard Sharing worked fine when I last tried without manually installing guest additions (I don’t use that normally).
But I think I had problems as well some time ago.

Hmmm, my first run with ICEwm
Could not figure out how to copy paste from Xterm, so got this with

Normally it should work to just select the text with the mouse and paste it by clicking the middle mouse button.

/opt/kf5/bin/startkf5 2>outfile.txt, then opened with kwrite where I could copy/paste

AND, now I realize I could have use Konsole, copy/paste do work. Oh well, a learning session.

Yes, those are options as well… :wink:

So here is the message:

/opt/kf5/bin/startkf5
startkde: Starting up...
/usr/bin/kdeinit5: symbol lookup error: /usr/lib64/libKF5Crash.so.5: undefined symbol: _ZN6QDebugD1Ev
startkde: Could not start kdeinit5. Check your installation.

Yes, that’s definitely the problem.

Am I missing a debug package, perhaps?

No, not a debug package. QDebug is a class of the Qt5 core libraries (and Qt4 as well) for outputting debug information.
But apparently not all your KF5 and Qt5 packages fit together (libQt5Core5 and libKF5Crash5 in particular), you probably have some of those from standard 13.2 (libKF5Crash5 maybe).
Try to run this to update all of them:

sudo zypper dup --from 10 --from 11 --from 12

This should sort it out. Priorities only have effect when installing new packages or when using “zypper dup”. For normal updates there’s the so-called “vendor-stickiness”, i.e. packages are not switched to other repos (“vendors”) automatically, even if there’s a higher version.

Making sure that libKF5Crash5 comes from the KDE:Frameworks5 repo should help as well, but there might be other problems.