KDE/Troubleshooting
이 글은 KDE 사용자 시스템의 문제 해결을 돕는 다양한 섹션으로 구성했습니다.
프로그램 데이터베이스 재구성
KMenu에 어떤 프로그램이나 전체 프로그램 목록이 빠졌다면 KDE 프로그램 데이터베이스를 다시 구성해야 할 지도 모릅니다. 아이콘이 빠진 문제와 같은 KMenu 관련 문제를 수정하려면 이 방법으로도 처리됩니다.
user $
kbuildsycoca4 --noincremental
Akonadi에서 MySQL 설정이 잘못됐다고 징징댐
/usr/share/config 와 /usr/share/kde4의 권한 점검부터 시작하십시오. 700으로 되어 있으면, 재귀적으로 755로 바꾸십시오.
root #
chmod -R 755 /usr/share/config
root #
chmod -R 755 /usr/share/kde4
오류를 해결하지 못했다면, akonadi 설정을 열고 MySQL 기본 설정으로 바꾸십시오. 시스템 표시줄 아이콘이 동작하지 않으면 akonaditray를 시작하고, "Akonadi 서버 설정"을 선택한 후, "내부 MySQL 서버 사용"을 활성화하고 시험 단추를 누르십시오. MySQL 서버를 사용하고 자체 실행 프로그램을 사용하지 않으려면 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":
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.
...
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.
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.
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.
use-agent
# !! Remove this line from file if it exists:
# pinentry-mode loopback
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.