This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE Plasma 5 Runtime Setup / Path Issues on CentOS 7

Tags: None
(comma "," separated)
User avatar
ahoffman
Registered Member
Posts
21
Karma
0
OS
I've completed bulding modules for KF5/KDE Plasma 5 on CentOS 7 (which is currently running Plasma 4), and seem to be having an issue with the runtime setup when following the official instructions.

I have exported paths as follows:
Code: Select all
    export KF5=/opt/kde/install
    export QTDIR=/usr/lib64/qt5
    export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS:/usr/share
    export XDG_CONFIG_DIRS=$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg
    export PATH=$KF5/bin:$QTDIR/bin:$PATH
    export QT_PLUGIN_PATH=$KF5/lib/plugins:$KF5/lib64/plugins:$KF5/lib/x86_64-linux-gnu/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH
    export QML2_IMPORT_PATH=$KF5/lib/qml:$KF5/lib64/qml:$KF5/lib64/x86_64-linux-gnu/qml:$QTDIR/qml
    export QML_IMPORT_PATH=$QML2_IMPORT_PATH
    export KDE_SESSION_VERSION=5
    export KDE_FULL_SESSION=true

The problem is that when I test it by running
Code: Select all
which ksnapshot
to make sure it's the correct/new KDE5 in my path the console returns `/usr/bin/ksnapshot` which is the old KDE4 version as installed on my system.

Thanks in advance for any help.
User avatar
ahoffman
Registered Member
Posts
21
Karma
0
OS
Hmm.. 'which kwrite' and 'which kate' etc. are correctly mapped to the /opt/kde/install/bin directory, so paths are correct. I guess I'm missing ksnapshot. :)
wolfi323
Registered Member
Posts
1129
Karma
11
OS
ahoffman wrote:Hmm.. 'which kwrite' and 'which kate' etc. are correctly mapped to the /opt/kde/install/bin directory, so paths are correct. I guess I'm missing ksnapshot. :)

ksnapshot is a KDE4 application, there is no KF5 version (at least none that has been released).

It has been replaced by spectacle in KDE Applications 15.12...
See also https://www.kde.org/announcements/annou ... 5.12.0.php
User avatar
ahoffman
Registered Member
Posts
21
Karma
0
OS
Very good to know, thanks wolfi, and cheers for the link!


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]