Viele "GTK-Warnungen" im Terminal. Ist das ernst gemeint?


15

Ich hatte viele Probleme mit meinem System und musste es neu installieren. Eine davon waren genau diese Botschaften. Nachdem ich das System neu installiert und dieselben Symbole verwendet habe, erhalte ich die Warnungen erneut und bin vorsichtig bei zukünftigen Problemen. Wie riskant ist das und sollte ich das Icons-Theme entfernen?

(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

Antworten:


10

Dieser Fehler weist darauf hin, dass die Software gültige GTK-Bibliotheksaufrufe mit einer neueren Version der GTK-Bibliothek verwendet. Manchmal ist es während der Softwareentwicklung wünschenswert, die "alte Art" loszuwerden, um Dinge zu tun und gleichzeitig die Abwärtskompatibilität aufrechtzuerhalten. Dies wird erreicht, indem die unerwünschten Anrufe als veraltet markiert werden . Dies teilt dem Entwickler mit, dass sein Code in dieser Version gültig ist, aber in Zukunft muss sein Code aktualisiert werden, um mit einer neuen Version der Bibliothek zu arbeiten, möglicherweise mit vielen späteren Versionen.

In diesem Fall möchte GTK die Maßeinheiten strenger einbeziehen. Dem Entwickler wird mitgeteilt, dass GTK davon ausgeht, dass die Einheiten Pixel sind. Dies ist die genaue Annahme, die der Softwareentwickler in erster Linie getroffen hat.

Not using units is deprecated. Assuming 'px'.

Das ist eine lange und sehr komplizierte Art zu sagen, dass diese Warnungen für die Entwickler des Icon-Themas sind und nicht die tatsächlichen Laufzeitprobleme widerspiegeln.

Bei Verwendung der Ubuntu-Software-Repositorys erhalten Sie keine inkompatiblen Programme und Bibliotheken.


5

Wenn Sie keine Bugs oder Fehler bemerken, können Sie diese Warnungen ignorieren. Beachten Sie, dass dies nur Warnungen und keine Fehler sind.


10
Das sichere Ignorieren von Warnungen hindert sie jedoch nicht daran, Ihre Terminalausgabe zu ruinieren: P
jozxyqk

In der Tat ruinieren sie. Gibt es eine Möglichkeit, diese Warnungen für Endbenutzer zu deaktivieren?
Wizek

@wizek Weiterleitung von stdout und stderr an / Dev / null
trognanders

1
@ BaileyS Dann müsste ich das jedes Mal tun, wenn ich diese Programme starte. Manchmal kümmere ich mich auch um stdout und manchmal sogar um andere Teile des stderr-Streams, so dass eine solche manuelle und pauschale Weiterleitung höchst unerwünscht ist. Ich möchte nur alle GTK-Warnungen für alle Apps auf meinem Computer deaktivieren und sonst nichts. Sollte irgendwo eine GTK-Konfigurationsoption sein.
Wizek

Ich glaube nicht, dass es eine Möglichkeit gibt, stdout und stderr global dauerhaft umzuleiten. Meine superpragmatische Lösung besteht darin, ein Garbage Terminal zu verwenden, um bei Bedarf grafische Dinge zu starten, oder sie einfach über ein Dock oder eine Symbolleiste zu starten, die sie automatisch an einem unsichtbaren Ort ablegt. Die Protokollierung ist in der Regel ein echtes Chaos. Es würde mich nicht wundern, wenn dies bedeuten würde, viele Abzüge direkt auf stderr zu verfolgen.
Trognanders
Durch die Nutzung unserer Website bestätigen Sie, dass Sie unsere Cookie-Richtlinie und Datenschutzrichtlinie gelesen und verstanden haben.
Licensed under cc by-sa 3.0 with attribution required.