KDE/it

KDE è una community free software che produce un vasto campo di applicazioni, incluso il popolare ambiente desktop Plasma.

Il supporto Gentoo per il progetto KDE è eccellente, con un packaging completo di Framework KDE 5, plasma 5 e applicazioni 5, oltre ad una vasta gamma di altri software basati su KDE.

Profile
La scelta di un appropriato profile, anche se non è richiesto, è raccomandato in quanto definisce  delle USE flag sia globali sia specifiche del pacchetto per garantire un ottima esperienza con KDE.

Al fine di scegliere il profilo più adatto, ecco la lista di quelli disponibili:

Quindi, selezionare il profilo corretto sostituendo  con il corrispondente numero del profilo:

Per l'ambiente desktop Plasma 5 scegliere  con OpenRC o   con systemd.

Servizi
Default choices of these services will be pulled in automatically - by the installation steps in the following chapters - depending on the profile selection made earlier, but still need to be set up properly before starting KDE Plasma for the first time. For deviating from the defaults, it is recommended to install them in advance of KDE Plasma or KDE Applications via  so that Portage will take them into account. Follow the links for information how to set up these services.

Session tracker
Choose exactly one of:


 * elogind: Standalone logind package extracted from systemd project for use with OpenRC or other init systems.
 * systemd: Uses the session tracker part of systemd. Users of systemd do not need to take any other initiative here.
 * consolekit: Framework for defining and tracking users, login sessions, and seats. It is currently default for the profile.

Device manager
Choose exactly one of:


 * udev: Enables support for udev Linux dynamic and persistent device naming.
 * eudev: Fork of udev for better compatibility with older kernels and various toolchains.
 * systemd: Uses the device manager part of systemd. Users of systemd do not need to take any other initiative here.

Miscellaneous

 * D-Bus: Enables use of the D-Bus message bus system.
 * polkit: Enables the polkit framework for controlling privileges for system-wide services.
 * udisks: Enables support for some storage related services.

X server
Leggere e seguire le istruzioni contenute nell'articolo X server per impostare l'ambiente X.

Package conflicts
KDE Plasma and Applications come with many dependencies. Some of these dependencies will predetermine package choices where otherwise there would be options to choose from.


 * FFmpeg: By default, has USE   enabled, making it depend on . Users preferring  for the rest of their system will need to switch off that flag.
 * JPEG: depends on . It is Gentoo's recommended default over  anyway.

Plasma
Plasma 5 è l'attuale generazione dell'ambiente desktop di KDE, basato su Qt 5 e KDE Frameworks 5.

Installazione
Il pacchetto fornisce l'intera suite di Plasma 5, configurata con le seguenti USE flags:

In alternativa, fornisce il desktop di base, lasciando gli utenti liberi di installare solo i pacchetti aggiuntivi che richiedono:

Widgets
Many useful widgets are in the package (already pulled in by ):

Display manager
SDDM (Simple Desktop Display Manager) is the recommended login manager and is pulled in automatically via by default. This is the preferred option. Alternatively, LightDM can be used and pulled in by setting USE flag  for. Change the setting accordingly in. Also, be sure to read through the SDDM page if further issues appear.

SDDM does not yet support multiseat, while LightDM does.

No display manager
Plasma can be started the old-fashioned way with, but extra care needs to be taken to ensure it gets a valid session.

System tray
Plasma 5 uses the StatusNotifier specification for systray icons. As not all applications have been ported to the new system, some workarounds exist, and Plasma 5 has a means to convert old xembed-based system tray icons to StatusNotifier icons.

Legacy support is enabled by activating  for, which is pulling in.

Pidgin
requires. After install, the Ubuntu Indicator plugin can be found under Tools | Plugins.

KWallet
Many users will be introduced to, Plasma's encrypted password storage, while adding a (wireless) network connection after login or adding E-Mail accounts in.

For managing KWallets, importing and exporting passwords, there is :

KWallet auto-unlocking
provides a mechanism to avoid being subsequently asked for access to kwallet after login.

It requires the following setup:
 * For KWallet security, use classic blowfish encryption instead of GPG
 * Choose same password for login and kwallet
 * Configure a display manager with support for PAM - both and  fulfill that requirement:

Disabling KWallet
To disable the KWallet subsystem completely, edit the following file:

SSH/GPG Agent startup/shutdown scripts
ssh-agent scripts are located in and. Shutdown scripts require executable bit set because they are not sourced. The Keychain article provides more information about this.

Run GUI applications with root privileges
KDE Plasma has a utility in order to start graphical programs with root privileges. It is provided by - if built with USE flag , a graphical frontend to  is installed. This requires Xorg, and only works within X.

Remember to rebuild the package to pick up the changes:

It can be used by invoking either from KRunner or a terminal emulator:

A message dialog will be displayed prompting for the root password.

Applications
Releases consist of various applications and supporting libraries based on Qt 5/KDE Frameworks 5.

Available versions
KDE Applications is divided in the following meta packages:

Installation
The package provides the full Applications bundle, but alternatively, one or several smaller meta packages from the list above may be picked instead:

Localization
Plasma-5 and Applications are shipping their localization per-package. Enable your localization in systemsettings.

KDE PIM
KDE PIM is a whole suite of applications to manage personal information including mail, calendar, contacts and more. It has several optional runtime dependencies to extend its functionality:


 * Virus detection:
 * Spam filtering: or

Frameworks
KDE Frameworks 5 is a collection of libraries and software frameworks that provide the foundation for KDE Plasma 5 and KDE Applications, but may be leveraged by any Qt application.

As Frameworks are mostly libraries and provide little user functionality, it's not necessary to install them manually - the required packages will be pulled in automatically as dependencies.

More KDE software
The most important KDE applications are in the Gentoo ebuild repository and many are located in the kde-apps and kde-misc categories.

Troubleshooting
Refer to the Troubleshooting sub-article.