Here's how I switched to KDE Frameworks 5 / Plasma 5 / Qt 5 / SDDM from a v4 environment running on openSUSE 13.2.
(replace with your version of openSUSE)
zypper ar -f -n qt5 http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_13.2/ qt5
zypper ar -f -n kf5 http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_13.2/ kf5
zypper ar -f -n kf5apps http://download.opensuse.org/repositories/KDE:/Applications/openSUSE_13.2/ kf5apps
zypper ar -f -n kf5extra http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/ kf5extra
zypper in plasma5-session
Resolving package dependencies...
Problem: plasma5-session-5.4.3-47.1.noarch requires plasma5-desktop >=
5.4.3, but this requirement cannot be provided
...and so on. As there was one solution besides 'do not install' or 'break', selecting them was not really hard and resulted in a few package vendor changes and deinstallations. And here we go:
The following 239 NEW packages are going to be installed:
...
6 packages to upgrade, 239 new, 9 to remove, 6 to change vendor.
It does install SDDM and everything needed for a working KF5, at least when KDE4 is already installed.
System configuration
In /etc/sysconfig/displaymanager:
DISPLAYMANAGER="sddm"
In /etc/sysconfig/windowmanager:
DEFAULT_WM="kde-plasma"
Themes and avatars
In /etc/sddm.conf:
[Theme]
Current=maui
CursorTheme=breeze_cursors
...
Avatars can be searched by SDDM in user directories, but I think it's a better idea to disable this (see manpage) and copy avatar PNGs to /usr/share/sddm/faces/ as $LOGNAME.face.icon (lgee.face.icon, for example)
For the lock screen, use the System Settings -> Account Details panel and set your photo there!
Workaround for focus on password field
Bug 337079 - sddm theme doesn't focus password field
diff -b /usr/lib64/qt5/qml/SddmComponents/PasswordBox.qml /usr/lib64/qt5/qml/SddmComponents/PasswordBox.qml.bak
62,66d61
< Timer {
< interval: 200
< running: true
< onTriggered: txtMain.forceActiveFocus()
< }
(this is nested in the TextBox {} section)
See also
man sddm.conf
Select the repo explicitly.
Example:
zypper in --from kf5apps konsole
After 2 weeks of use at the time of writing
- System settings (very much the same as before)
- KRunner (Alt+F2)
- KMenu
- Activities
- Desktop effects
- Applets: Audio Volume, Networks (Wireless with NetworkManager), Battery and Brightness, Device Notifier, Calendar, keyboard layouts
- Shutdown, reboot, logout, lock
- Konsole
- File dialog
- KF5 didn't start from KDM (UI is partially initialized and only F2 works, no panels/activities etc)
- SDDM settings don't fully work from System Settings
- No v5 Apper applet (v4 does exist but would bring the whole kdebase4 back), not that I miss it a lot...
- Dolphin is there in Applications but I haven't tested it as I don't use it
- Session termination is somewhat slower
- Hibernation/suspend and resume was not tested
What had to be left installed from 'old stuff', among others
libqt4 libkde4 libkdecore4
I have really no time for playing with KDE these days, but it's stable so far.
Work in progress. SDDM process and X do run, but they don't produce a graphic interface. startkde brings up something, so it must not be a library problem, but rather something system related. I installed the base server selection without X11, then added the repos and installed plasma5-session and the x11 pattern and configured systemd graphical.target (runlevel 5) and windowmanager/displaymanager.