由于我升级到Ubuntu18.04,Okular不遵循Adwaita-黑暗或弧形主题,当我设置他们与Gnome调整工具。有办法解决这个问题吗?我真正想要的是,Okular在菜单和工具栏上使用深色。
编辑:当我尝试
GTK2_RC_FILES=Adwaita:dark okular在终端机上,我收到了一些错误,比如
(okular:16699): Gtk-WARNING **: 22:58:15.581: Theme parsing error: gtk.css:137:54: Using one color stop with linear-gradient() is deprecated.
(okular:16699): Gtk-WARNING **: 22:58:15.587: Theme parsing error: gtk.css:1839:9: Expected a string.
(okular:16699): Gtk-WARNING **: 22:58:15.590: Theme parsing error: gtk.css:2913:17: Using Pango syntax for the font: style property is deprecated; please use CSS syntax我还尝试下载系统设置和kde gtk风格,并在那里激活主题,没有响应。
发布于 2018-06-07 09:09:58
对我有用的是:
sudo apt-get install qt5-style-plugins这是取自ArchLinux文档的。它还建议设置QT_QPA_PLATFORMTHEME=gtk2环境变量,但我不需要。
请参见另一个AskUbuntu问题,此解决方案适用于所有KDE应用程序。
https://askubuntu.com/questions/1044340
复制相似问题