Ubuntu 中不显示 KDE 应用程序图标

Ubuntu 中不显示 KDE 应用程序图标

Ubuntu 中的 KDE 应用程序(Okular)缺少一些图标。

如何修复此问题?

Opening okular from terminal shows:
android@android:~$ okular
Invalid Context= "Apps" line for icon theme:  "/snap/communitheme/current/share/icons/Suru/256x256@2x/apps/"
Invalid Context= "Mimetypes" line for icon theme:  "/snap/communitheme/current/share/icons/Suru/256x256@2x/mimetypes/"
Invalid Context= "Mimetypes" line for icon theme:  "/snap/communitheme/current/share/icons/Suru/scalable/mimetypes/"
Invalid Context= "Apps" line for icon theme:  "/snap/communitheme/current/share/icons/Suru/256x256@2x/apps/"
Invalid Context= "Mimetypes" line for icon theme:  "/snap/communitheme/current/share/icons/Suru/256x256@2x/mimetypes/"
Invalid Context= "Mimetypes" line for icon theme:  "/snap/communitheme/current/share/icons/Suru/scalable/mimetypes/"

在此处输入图片描述

答案1

首次安装qt5ct

sudo apt install qt5ct

然后运行它并选择您喜欢的图标/主题:

在此处输入图片描述

最后QT_QPA_PLATFORMTHEME设置qt5ct.profile

echo 'export QT_QPA_PLATFORMTHEME=qt5ct' >> $HOME/.profile

重新登录应该可以解决问题。

相关内容