KDE/Troubleshooting
この記事には、KDE ソフトウェアのユーザが自分のシステムのトラブルシューティングに役立てるための、様々なセクションが含まれています。
アプリケーションデータベースを再構築する
KMenu にアプリケーションやアプリケーションリスト全体が無い場合は、おそらく KDE アプリケーションデータベースを再構築する必要があります。これは、アイコンが表示されないなど、他の KMenu 関連の問題に対する解決策にもなるかもしれません。
user $
kbuildsycoca5 --noincremental
Akonadi complains about the MySQL config
まずは /usr/share/config 内のパーミッションを確認してください。700 になっている場合は、再帰的に 755 に更新してください。
root #
chmod -R 755 /usr/share/config
If that doesn't solve the error, open the akonadi configuration in ~/.config/akonadi/akonadiserverrc and change the default MySQL config. To use a MySQL server and not the local mysqld executable, make sure that MySQL is running.
ログイン後に画面が暗転したままになる
~/.bash_profile に keychain などの対話的な要素が含まれていないか確認してください。入力を促すプロンプトが無いか、~/.xsession-errors を確認してください。
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 の CPU 使用率が高い
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
コンパイル失敗
dev-qt/qtwebkit は、MAKEOPTS の -j 値が高すぎると、一貫して失敗することで知られているパッケージのひとつです。
謎のビルド失敗に直面した場合は、-j 値を下げてみてください。安全な値は、プロセッサの個数ぶんでしょう (+1 ではなく)。
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.
メモリ不足による失敗が起きている場合は、CFLAGS から pipe を取り除いてみるといいかもしれません。
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.
/home をアンマウントできない
このようなエラーが現れた場合:
* Unmounting /home ...
* in use but fuser finds nothing [ !! ]
kde-plasma/plasma-meta を kde-plasma/plasma-vault 無しで再インストールすることで解決するかもしれません。
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.