我非常喜欢 Nautilus 文件管理器,但在 KDE 上缺少图标。它在 Unity 和 Gnome 上运行良好。
如果我从终端(写入nautilus
)启动 nautilus,我会看到以下日志:
$ nautilus
Initializing nautilus-dropbox 1.4.0
(nautilus:29369): Gtk-WARNING **: Theme directory apps/22 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/24 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/32 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/48 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/64 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/128 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/192 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory of theme unity-webapps has no size field
(nautilus:29369): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
(nautilus:29369): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
(nautilus:29369): Gtk-WARNING **: Theme directory apps/22 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/24 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/32 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/48 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/64 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/128 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory apps/192 of theme unity-webapps has no size field
(nautilus:29369): Gtk-WARNING **: Theme directory of theme unity-webapps has no size field
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
屏幕截图:
我该如何修复它们?
我在 KDE 下运行的其他应用程序中也看到了“X”图标。
答案1
为了让您的 GTK3 应用程序正确显示图标,您需要安装一组软件包:
sudo apt-get install kdeartwork-theme-icon gtk3-engines-oxygen kde-config-gtk-style
您还需要配置 GTK 应用程序以使用 Oxygen,查找 KDE 系统设置 -> 外观面板,确保已激活在 GTK 应用程序中使用 KDE 主题。这应该会让您的 GTK 应用程序具有 kde 外观。
资料来源:
答案2
2016-02 我的图标也消失了。
通过进入“系统设置->外观”并选择主题来修复此问题,设置是空白的。