Linux system Gentoo installation KDE5 how to set up

Source: Internet
Author: User
Tags documentation

Linux system Gentoo installation KDE5 how to set up

Configuration method:

1, add KDE overlay:

Layman-a KDE

Echo-e "-qt5" >>/etc/portage/profile/use.stable.mask

Or add QT5 to the/etc/portage/make.conf use.

2, the lifting of Kde5 mask

Method One: Make soft links in the official wiki:

Cd/etc/portage/package.accept_keywords

Ln-s/var/lib/layman/kde/documentation/package.accept_keywords/kde-frameworks-5.9.keywords

Ln-s/var/lib/layman/kde/documentation/package.accept_keywords/kde-plasma-5.2.keywords

Method Two: A simple and rude way (not recommended):

rm/var/lib/layman/kde/profiles/package.mask/frameworks*

rm/var/lib/layman/kde/profiles/package.mask/plasma*

Method III: Add the Mask bag to the/etc/portage/package.unmask (note: Modify the parameters according to the actual situation):

cat/var/lib/layman/kde/profiles/package.mask/plasma-5.3.0 >>/etc/portage/package.unmask

cat/var/lib/layman/kde/profiles/package.mask/kde-apps-15.04.0 >>/etc/portage/package.unmask

Sed-i "S/~//g;s/-15.04.0//g;s/-5.9.0//g;s/-5.3.0//g"/etc/portage/package.unmask

I'm using method three.

3. Installation of frameworks and plasma

Emerge @kde-frameworks @kde-plasma

This step is the most troublesome, you will encounter a number of package block or collisions, the use of simple and rough method can be encountered which package has problems to kill it.

Another problem is that Gentoo developers will write KDE5 's ebuild ahead of KDE's official release, such as plasma-5.3.0 now, which needs to be dealt with on its own.

4, the installation of KDE5 components

Now KDE5 application transplant is not complete, some software even the beta version is not, had to be compatible with KDE4, such as kde-apps-14.12.3 in this form of the package appears. The beta software I use currently has (Cat/etc/portage/package.keywords):

=kde-apps/dolphin-9999 * *

=kde-apps/libkonq-5.9999 * *

=kde-apps/kcalc-9999 * *

=kde-apps/ksnapshot-5.9999 * *

=kde-apps/okular-5.9999 * *

=kde-apps/libkexiv2-5.9999 * *

=kde-apps/kmix-5.9999 * *

=kde-apps/ark-5.9999 * *

Where the KDE-APPS/LIBKONQ package is a package supported by the Dolphin Add right menu.

After the package has been added to Package.keywords, the installation is as follows:

Emerge-av =kde-apps/ark-5.9999

5, System tray icon problem

Qt4 program in KDE5 without system tray, need to install SNI-QT this package, such as Qbittorrent software.

GTK program and WINEQQ need to install Wmsystemtray (you need to install Font-misc-misc this font pack) this package to implement the tray, but not to the system tray.

6, KDE5 can not use KDM to guide the desktop environment, install SDDM, replace KDM.

Emerge-av SDDM

7, set Qt5 as the default QT compiler

cd/etc/xdg/qtchooser/

RM default.conf

Ln-s qt5.conf default.conf

8, Input method, FCITX need to install Gentoo-zh overlay in the FCITX-QT5 this package:

Emerge Fcitx-qt5

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.