KDE/Устранение неполадок

From Gentoo Wiki
< KDE
Jump to:navigation Jump to:search
This page is a translated version of the page KDE/Troubleshooting and the translation is 28% complete.
Outdated translations are marked like this.
Other languages:

Эта статья содержит информацию, призванную помочь пользователям в устранении неполадок, которые могут возникнуть при работе с KDE.

Пересборка базы данных приложений

Если какое-либо приложение или целый список приложений отсутствует в KMenu, скорее всего, нужно пересобрать базу данных приложений KDE. Это также является возможным решением прочих проблем с KMenu, например, проблемы отсутствующих значков.

user $kbuildsycoca5 --noincremental

Akonadi выражает недовольство по поводу MySQL config

Проверьте права доступа в каталогах /usr/share/config. Если они установлены в 700, рекурсивно измените их на 755.

root #chmod -R 755 /usr/share/config

Если это не решит проблему, откройте конфигурацию akonadi и измените MySQL config по умолчанию. Если значок в области уведомлений отсутствует, запустите akonaditray, выберите "Akonadi Server Configuration", включите "Use internal MySQL server" и нажмите на кнопку test. Для того, чтобы использовать MySQL server вместо встроенного исполняемого файла, MySQL должен быть запущен.

Black screen after login

Make sure ~/.bash_profile does not have any interactive components like keychain. Check ~/.xsession-errors for the prompt for input.

Screen tearing or flickering when using Radeon graphics drivers

If there is severe flickering or "tearing" when using Radeon based graphics cards, it may be necessary to change the compositor sync settings to something other than the default "Automatic":

КОД Modifying compositor sync settings
System Settings --> Display Monitor --> Compositor --> VSync

Delayed response of KMenu, krunner, etc.

Packages from the dev-qt category provide a gles2-only USE flag which in the past has caused this effect. It is not advised to enable it. If for no good reason this flag is found to be enabled for dev-qt, kde-frameworks/plasma or kde-plasma/kwin, then remove all occurrences of this flag and rebuild affected packages.

Missing shutdown, reboot, suspend, or hibernate buttons

Заметка
Missing features like these are often symptoms of not using kde-plasma/plasma-meta. It only provides the desktop and is highly configurable with USE flags. Use it.

Make sure that kde-plasma/powerdevil and sys-power/upower are installed. Also check that the user is in the users group.

KDE Plasma high CPU usage

If you are noticing relatively high CPU usage (normally the dbus-daemon or kwin_x11 processes) when running KDE Plasma make sure to check the syslog for errors that look like the following. Normally just tailing the log will enable you to see this right away since the error is thrown at such a high rate.

ФАЙЛ /var/log/syslog
...
Oct 17 00:30:26 localhost obexd[32399]: obex_server_init failed 
Oct 17 00:30:26 localhost obexd[32401]: OBEX daemon 5.39 
Oct 17 00:30:26 localhost obexd[32401]: obex_server_init failed 
Oct 17 00:30:26 localhost obexd[32403]: OBEX daemon 5.39


This occurs due to being unable to connect to the bluetooth service, you can ensure this is started by running /etc/init.d/bluetooth start on OpenRC systems. To ensure this does not happen on any other start run the following.

root #rc-update add bluetooth

Alternatively bluetooth can be disabled via the GUI.

КОД Modifying Bluetooth settings
System Settings --> Bluetooth --> Advanced Settings --> Enable Bluetooth integration

Compilation failure

dev-qt/qtwebkit is one of the few packages known to consistently fail when the -j value on MAKEOPTS is set too high.

If you see mysterious build failure, try lowering your -j value. The safe value would be the number of processor times thread (not that plus one).

Similar case has been found when compiling with -j option while KDE Plasma is running (observed with dev-qt/qtwebkit and dev-qt/qtwebengine). The build failure would be accompanied with desktop program lagging (or crashing). If this happen, you might want to consider compiling under TTY.

In other case when you see out-of-memory failure, you may want to get rid of pipe on CFLAGS.

Plasma Browser Integration not working in Firefox

For the Plasma Browser Integration to work, not only must kde-plasma/plasma-browser-integration and the browser extension be installed, but also the browser history has to be enabled.

Device permissions issues and missing shutdown/reboot options

When experiencing authorization or permissions issues in an OpenRC profile make sure that sys-auth/elogind is present, properly configured and elogind USE flag is globally enabled.

Missing suspend or hibernate options

Beyond that, suspend and hibernate options depend on that support being enabled in the kernel, see also: Suspend and hibernate.

Can't unmount /home

If an error like this appears:

*   Unmounting /home ...
*   in use but fuser finds nothing  [ !! ]

Reinstalling kde-plasma/plasma-meta without kde-plasma/plasma-vault may help.

ФАЙЛ /etc/portage/package.use
kde-plasma/plasma-meta -crypt

Pinentry GPG dialogue for KDE Plasma isn't working

For example when using KMail to sign emails with PGP, the private key needs to be decrypted. If this key has a password, a Pinentry dialogue tries to open. To enable the Qt version, these configuration files need to be edited.

ФАЙЛ ~/.gnupg/gpg.conf
use-agent
# !! Remove this line from file if it exists:
# pinentry-mode loopback
ФАЙЛ ~/.gnupg/gpg-agent.conf
pinentry-program /usr/bin/pinentry-qt

zkde_screencast_unstable_v1 does not seem to be available when trying to screencast on Wayland

Make sure to install kde-plasma/kwin with the screencast USE flag.

Смотрите также