KDE SC 4 to Plasma 5 Tutorial

I found a better solution to Qt not finding KDE configs: add an environment variable named KDEHOME, and set it to ~/.kde4. This should be set before KDE startup.

For those who don’t know how to do that, have a shell script (named maybe “exports.sh”) with the following:

export KDEHOME=~/.kde4

Set it to executable (Dolphin can do it via File Properties). Add it to Autostarts under System Settings > Startup and Shutdown. Then set the script to execute on Pre-KDE startup.

Wouldn’t it be better to put the shell script in the /etc/xdg/autostart?
This will ensure that it loads before Plasma 4, just a thought. :wink:

Whatever works best, really :slight_smile: . So long as it gets into the KDE environment for Qt to pick it up.

Finally dived in. I went though the procedure for one of my systems. Everything went fine and smooth so thanks a lot for the very clear instructions. I do have a couple of questions.

Previously in the system settings there was a removable devices section were I could just tick the various devices/partitions that i would like kde to mount on login but I can’t find something similar in the new system settings? I can do this with fstab no problem just wondering if I missed something.

An other thing in the system settings, when I try to change the sddm, when i click on it it gets on of those yellow warning signs, any idea why? Also it seems very slow and can stop responding when I click on it. It does seem though that I can change the sddm theme and so on, so I don’t get why that sign is popping up.

Also a more general question. What does “netrunnerarch-systemsettings-settings netrunnerarch-default-settings netrunner-desktop” do? If I would uninstall it what would change/miss.

How to get transparent window borders back? On the PC where I have kde4 still it says I use something called FormaN for window theme, is that one available in kde5 yet? Any other way to mess around with the window apperance or other “Air” like themes, couldn’t find any in the settings?

The right click root actions open txt does not work? Is there some fix for this? I get asked for the psw but the file does not open. I can do “kdesu kate whatever.txt” fine and it works like that, but not the right click option.

Cheers

It’s now recommended that you use device actions to mount devices and.or open specific apps once mounted.

"netrunnerarch-systemsettings-settings, netrunnerarch-default-settings and netrunner-desktop, have the various configuration files, etc. when they made the original ISO they used config files that pointed to netrunner specific directories to make system changes without overwriting files owned by installed packages. If you remove one of them the system may or may not boot up again, I just don’t remember which one it was.

The SDDM issue is also related to the redirecting links of system files to netrunner specific ones as explained above.

The last one may also be related to the above issue, however you may want to do a search for this on in Manjaro forums, I think I remember the issue discussed there as well.

Hi, I’m stuck on #1. I can’t seem to locate the pacman.conf file (via Find in Dolphin). Also, can you suggest a specific editor to use to edit the file? Thanks!

It’s located under /etc/pacman.conf

The easiest way is to make sure all of octopi is installed and up to date:

sudo pacman -Syy
sudo pacman -S octopi octopi-repoeditor  octopi-cachecleaner octopi-notifier-qt4

Then use the octopi repoeditor to move the blue shell repository:
In the octopi top menu Tools > Repository Editor click on the blue shell entry and use the move down button on the right save and exit. Now refresh the repositories again with the refresh button in octopi and continue on with the tutorial.

If you would rather edit the file manually any editor will do , it’s a plain text file, I recommend kate as root though.

$ sudo pacman -S plasma-meta kimageformats breeze-kde4 oxygen-kde4 kmix print-manager sddm-kcm

warning: print-manager-15.04.1-1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…
:: kmix and kdemultimedia-kmix are in conflict. Remove kdemultimedia-kmix? [y/N] y

Packages (57) bluedevil-1:5.3.1-1 bluez-5.30-1 bluez-qt-5.3.1-1 breeze-5.3.1-2 breeze-icons-5.3.1-2 drkonqi-5.3.1-1
frameworkintegration-5.10.0-1 kde-cli-tools-5.3.1-1 kdecoration-5.3.1-1 kdemultimedia-kmix-15.04.1-1 [removal]
kdeplasma-addons-5.3.1-1 kdesu-5.10.0-1 kdoctools-5.10.0-1 khelpcenter-5.3.1-1 khotkeys-5.3.1-1 khtml-5.10.0-1
kinfocenter-5.3.1-1.1 kio-extras-5.3.1-1 kjs-5.10.0-1 kjsembed-5.10.0-1 kmenuedit-5.3.1-1 kpty-5.10.0-1 kross-5.10.0-1
kscreen-5.3.1-1 ksshaskpass-5.3.1-1 ksysguard-5.3.1-1 kwayland-5.3.1-1 kwin-5.3.1-1 kwrited-5.3.1-1 kxmlrpcclient-5.10.0-1
libkscreen-5.3.1-1 libksysguard-5.3.1-1 milou-5.3.1-1 modemmanager-qt-5.10.0-1 networkmanager-qt-5.10.0-1 openslp-2.0.0-1
oxygen-5.3.1-1 oxygen-cursors-5.3.1-1 plasma-desktop-5.3.1-2 plasma-mediacenter-5.3.1-1 plasma-nm-5.3.1-1 plasma-workspace-5.3.1-1
plasma-workspace-wallpapers-5.3.1-1 polkit-kde-agent-5.3.1-1 powerdevil-5.3.1-1 qt5-graphicaleffects-5.4.1-9 qt5-multimedia-5.4.1-9
systemsettings-5.3.1-1 ttf-oxygen-1:5.3.1-1 xcb-util-cursor-0.1.2-1 breeze-kde4-5.3.1-2 kimageformats-5.10.0-2 kmix-15.04.1-1
oxygen-kde4-5.3.1-1 plasma-meta-5.3-1 print-manager-15.04.1-1 sddm-kcm-5.3.1-1

Total Installed Size: 283.76 MiB
Net Upgrade Size: 280.76 MiB

:: Proceed with installation? [Y/n] Y
(56/56) checking keys in keyring [#####################################################] 100%
(56/56) checking package integrity [#####################################################] 100%
(56/56) loading package files [#####################################################] 100%
(56/56) checking for file conflicts [#####################################################] 100%
error: failed to commit transaction (conflicting files)
kinfocenter: /usr/share/locale/bs/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/cs/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/da/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/de/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/el/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/es/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/fi/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/fr/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/gl/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/hu/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/lt/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/nl/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/pl/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/pt/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/pt_BR/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/ro/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/ru/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/sk/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/sl/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/sv/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/tr/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/ug/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
kinfocenter: /usr/share/locale/uk/LC_MESSAGES/kcm-about-distro.mo exists in filesystem
Errors occurred, no packages were upgraded.

On step # 6, i received the above error.

Thanks for the quick response.

Try to remove kcm-about-distro-kde4 or kcm-about-distro first

yaourt -R kcm-about-distro-kde4 

or

sudo pacman -R kcm-about-distro

That works! Thanks.

Yes, The kcm-about-distro project was merged into systemsettings and kinfocenter by the upstream Plasma developers around version 5.3. I will make the correction now.

PS. I did mention this in the 2015-05-17 update announcement as well:
http://forums.netrunner.com/showthread.php?tid=17608&highlight=kcm-about

I guess I’ve been so busy working on the Next Plasma 5 based ISO that I forgot to update this tutorial. I’m taking my time and using the Manjaro tools this time around, so there is a bit of learning going on. I’m shooting for releasing around the same time as the official Manjaro 0.8.13 release.

Thanks a lot for your replies, will continue checking out the the issue could be with the right click.

There is another issue that has popped up. I don’t know if it is associated with the move to plasma5 but it is little else I have done recently to my system to be anything else.

I have all of the sudden gotten sound issues. For whatever reason pulseaudio does not recognize my sound card and uses a “dummy” card. I have gone into alsamixer and actively choose my card and unmute and then in VLC for example choose my card then I can get sound, so no problem with the card as such.

I have actually fixed the issue by adding

[code]load-module module-alsa-sink device=hw:0,0

set-default-sink 0[/code]
to [color=#222222][size=x-small][font=monospace]/etc/pulse/default.pa [/font][/size][/color]then no problem the sound works again.
Just don’t get why pulseaudio does not recognize it by itself. Wast thinking if it is some booting/ racing issue when the computer starts up. Also I think that before the move to plasma5 I had actually removed pulseaudio and managed by just alsa. Does pulseaudio come together with the move to plasma5?.
Cheers

Yes, sort of. Phonon now requires libpulse to be installed but not all of pulseaudio.

What is the results of:

sudo pacman -Ss pulse

Hi AJSlye

This is what I get

blueshell/kdeplasma-applets-veromix-git 23.cac3925-1 A plasmoid mixer for the Pulseaudio sound server blueshell/kdeplasma-applets-veromix-git-blueshell 4.53c5233-1 A plasmoid mixer for the Pulseaudio sound server extra/libao 1.2.0-1 [installed] Cross-platform audio output library and plugins extra/libcanberra-pulse 0.30-5 [installed] PulseAudio plugin for libcanberra extra/libpulse 6.0-2 [installed] A featureful, general-purpose sound server (client library) extra/manjaro-pulse 2012.11-1 [installed] Manjaro Pulseaudio support (Meta-PKG) extra/pa-applet 1.0.2-1 PulseAudio system tray applet with volume bar extra/paprefs 0.9.10-4 A simple GTK-based configuration dialog for PulseAudio extra/pavucontrol 3.0-1 [installed] A GTK volume control for PulseAudio extra/pnmixer 0.5.1-2 (pnmixer) PNMixer is a GTK volume mixer applet that runs in the system tray. It is lightweight, works with both pulseaudio and alsa, supports mouse wheel volume adjustment, works with tint2, and can run outside of gnome. PNMixer provides many configuration options including which icon theme to use for display, middle click actions and more.PNMixer is a fork of OBMixer. extra/pulseaudio 6.0-2 [installed] A featureful, general-purpose sound server extra/pulseaudio-alsa 2-3 [installed] ALSA Configuration for PulseAudio extra/pulseaudio-bluetooth 6.0-2 Bluetooth support for PulseAudio extra/pulseaudio-equalizer 6.0-2 Equalizer for PulseAudio extra/pulseaudio-gconf 6.0-2 GConf support for PulseAudio extra/pulseaudio-jack 6.0-2 Jack support for PulseAudio extra/pulseaudio-lirc 6.0-2 IR (lirc) support for PulseAudio extra/pulseaudio-xen 6.0-2 Xen support for PulseAudio extra/pulseaudio-zeroconf 6.0-2 Zeroconf support for PulseAudio extra/xfce4-pulseaudio-plugin 0.2.3-1 (xfce4-goodies) Pulseaudio plugin for Xfce4 panel extra/xfce4-volumed-pulse 0.2.0-2 A volume keys control daemon for Xfce (using pulseaudio) community/floyd 2.0.1-5 displays system load with pulse of keyboard LED community/libcec 2.2.0-1 Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter community/mate-media-pulseaudio 1.8.0-3 (mate-extra) MATE Media Tools (pulseaudio) community/mate-settings-daemon-pulseaudio 1.8.3-1 (mate) The MATE Settings daemon (pulseaudio) community/ponymix 4-1 CLI PulseAudio Volume Control community/projectm-pulseaudio 2.1.0-10 ProjectM support for Pulseaudio community/pulseaudio-ctl 1.61-1 [installed] Control pulseaudio volume from the shell or mapped to keyboard shortcuts. multilib/lib32-libcanberra-pulse 0.30-4 [installed] PulseAudio plugin for libcanberra (32-bit) multilib/lib32-libpulse 6.0-1 [installed] A featureful, general-purpose sound server (32-bit client libraries)
Cheers

That’s strange manjaro-pulse was installed, so yes, you have pulse audio installed.

That happens when icons are set and doesn’t completely refresh, this issue has been present since KDE SC 4 came out and has never been fixed. Usually logging out and back in restores the icons that are missing.

I was thinking of removing pulseaudio, sound should work even without it, or not? As long as pulselib and alsa is there?

I don’t think that this problem was there in the beginning after moving to KDE5, I think it came after a few boots although I haven’t been doing anything to the sound.

I have now followed this migration procedure on my other desktop system as well and things seem to work fine, including the sound…

If you’re still using KDE SC 4 you will still be using KDE SC 4 no mater what the latest ISO has by default, if you used my tutorial to switch to Plasma 5, then you would still be using Plasma 5 and it would be just another update. Rolling release distributions like Arch and Manjaro don’t push the changes from one snaphot ISO release to another on it users, so there are no plans currently to switch users to plasma 5 automatically. If you wish to switch to Plasma 5 then yes, my tutorial will still be needed, otherwise the only other option would be a fresh install once a new Netrunner Rolling ISO is made available.

Just started the conversion. So far

Step 5

5: Remove kdebase-workspace:

I get a conflict -

Had to select Y as default was N and wouldn’t proceed.
Don’t know if that will mux things up. As haven’t rebooted yet.