我的系统出现了很多问题,不得不重新安装。其中一个问题就是这些消息。重新安装系统并使用相同的图标后,我再次收到警告,并担心将来会出现问题。这有多危险?我应该删除图标主题吗?
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:553:10: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:553:12: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:553:14: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:553:16: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:574:10: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:584:11: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:588:16: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:589:17: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:601:13: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:602:16: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:648:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:649:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:661:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:692:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:694:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:746:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:747:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:794:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:795:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:943:15: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:945:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:967:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:968:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1032:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1032:23: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1045:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1177:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1222:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1223:14: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1223:16: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1223:18: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1223:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1229:24: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1229:26: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1230:21: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1230:23: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1230:25: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1239:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1239:23: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1239:25: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1240:14: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1264:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1264:26: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1270:22: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1270:24: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1271:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gnome-panel.css:8:10: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gnome-panel.css:23:20: '' is not a valid color name
(gedit:637): Gtk-WARNING **: Theme parsing error: gnome-terminal.css:23:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: gnome-terminal.css:56:1: Expected a valid selector
(gedit:637): Gtk-WARNING **: Theme parsing error: unity.css:11:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: unity.css:21:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: unity.css:21:21: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: unity.css:21:25: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:11:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:32:16: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:64:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:64:22: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:65:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:5:14: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:10:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:33:10: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:33:12: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:61:23: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:127:22: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:161:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:163:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:178:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:5:14: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:10:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:33:10: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:33:12: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:66:23: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:132:22: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:166:20: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:168:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:183:19: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:207:15: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:207:17: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:207:21: Not using units is deprecated. Assuming 'px'.
(gedit:637): Gtk-WARNING **: Theme directory actions/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory animations/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory apps/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory categories/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory devices/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory emblems/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory mimetypes/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory places/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory status/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory stock/16 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory actions/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory animations/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory apps/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory categories/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory devices/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory emblems/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory mimetypes/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory places/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory status/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory stock/22 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory animations/24 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory apps/24 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory categories/24 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory devices/24 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory emblems/24 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory mimetypes/24 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory places/24 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory stock/24 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory actions/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory animations/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory apps/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory categories/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory devices/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory emblems/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory mimetypes/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory places/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory status/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory stock/32 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory actions/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory animations/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory apps/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory categories/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory devices/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory emblems/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory mimetypes/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory places/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory status/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory stock/48 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory actions/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory animations/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory apps/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory categories/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory devices/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory emblems/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory mimetypes/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory places/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory status/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory stock/64 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory actions/96 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory animations/96 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory apps/96 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory categories/96 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory devices/96 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory emblems/96 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory mimetypes/96 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory places/96 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory status/96 of theme malys-uniblue has no size field
(gedit:637): Gtk-WARNING **: Theme directory stock/96 of theme malys-uniblue has no size field
答案1
此错误表示软件正在使用有效 GTK 库调用和较新版本的 GTK 库。有时在软件开发过程中,希望摆脱“旧方法”,同时保持向后兼容性。这可以通过标记不需要的调用来实现已弃用。这告诉开发人员他们的代码在此版本中有效,但将来他们的代码将需要更新才能与新版本的库一起使用,可能在未来的许多版本中都需要更新。
在这种情况下,GTK 希望更严格地包含尺寸单位。它告诉开发人员,GTK 假设单位是像素,这正是软件开发人员首先做出的假设。
Not using units is deprecated. Assuming 'px'.
这是一种很长且非常复杂的说法,这些警告是针对图标主题开发人员的,并不反映实际的运行时问题。
使用 Ubuntu 软件存储库,您将不会收到不兼容的程序和库。
答案2
如果您没有发现任何错误或错误,您可以放心地忽略这些警告。请记住,这些只是警告,而不是错误。