每次我运行 Firefox、Chrome 或 qtoctave 等 UI 应用程序时,都会收到这些 GTK 警告:
(firefox:27271): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed
(firefox:27271): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed
(firefox:27271): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed
(firefox:27271): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed
(firefox:27271): Gtk-CRITICAL **: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(firefox:27271): Gtk-CRITICAL **: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(firefox:27271): Gtk-CRITICAL **: IA__gtk_icon_theme_prepend_search_path: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
(firefox:27271): Gtk-CRITICAL **: IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS (settings)' failed
(firefox:27271): Gtk-CRITICAL **: IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS (settings)' failed
(firefox:27271): Gtk-CRITICAL **: IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS (settings)' failed
** (firefox:27271): WARNING **: Failed to open webapp application path dir /usr/share/gnome-fallback/unity-webapps/userscripts: Error opening directory '/usr/share/gnome-fallback/unity-webapps/userscripts': No such file or directory
** (firefox:27271): WARNING **: Failed to open webapp application path dir /usr/share/gnome/unity-webapps/userscripts: Error opening directory '/usr/share/gnome/unity-webapps/userscripts': No such file or directory
** (firefox:27271): WARNING **: Failed to open webapp application path dir /usr/local/share/unity-webapps/userscripts: Error opening directory '/usr/local/share/unity-webapps/userscripts': No such file or directory
** (firefox:27271): WARNING **: Failed to open webapp application path dir /usr/share/unity-webapps/userscripts: Error opening directory '/usr/share/unity-webapps/userscripts': No such file or directory
我猜这是因为我曾经不小心这样做过sudo apt-get remove gnome*
。但我不知道如何解决这个问题。
有人能帮我解决这个问题吗?
答案1
这些错误很正常,您可能认为它们是程序或 GTK 的问题。请忽略它们。