This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

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

From Gentoo Wiki (test)
< KDE
Jump to:navigation Jump to:search
This page is a translated version of the page KDE/Troubleshooting and the translation is 39% complete.
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 должен быть запущен.

Unable to mount devices using KDE Plasma Device Notifier

If the error message "You are not authorized to mount this device." is being displayed when trying to mount devices by clicking on them in the KDE Plasma Device Notifier (USB-stick-like icon in the system tray), add the following file to the configuration:

Файл /etc/polkit-1/rules.d/10-udisks.rules
polkit.addRule(function(action, subject) {
	if (action.id.indexOf("org.freedesktop.udisks2.filesystem-mount") == 0 && subject.isInGroup("plugdev")) {
		return polkit.Result.YES;
	}
});

This will allow all users who are members of the plugdev group to mount devices using the Device Notifier.

Use the following command to add users to this group:

root #gpasswd -a <username> plugdev
Заметка
A reboot may be required for the changes to take effect.

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/Flicker 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.

Remove gles2 USE flag and rebuild affected packages, most importantly the (installed) packages from the dev-qt category, as well as kde-frameworks/plasma and kde-plasma/kwin.

Missing shutdown/reboot/suspend/hibernate buttons (with consolekit)

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

If x11-misc/sddm is used, run the following command and make sure it matches the output including nox11:

user $grep pam_ck_connector /etc/pam.d/system-login
session         optional        pam_ck_connector.so nox11

Another option is to create the following polkit rule for suspend (as per this comment from the KDE bugzilla):

Файл /etc/polkit-1/rules.d/10-suspend.rules
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.upower.suspend") {
        return polkit.Result.YES;
    }
});

Also ensure dbus is added to the default runlevel so that it is started before logging in with sddm:

root #rc-update add dbus default

If all else fails, try x11-misc/lightdm instead.

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