ターミナルにたくさんの「gtk-warnings」。これは深刻ですか?


15

システムに多くの問題があり、再インストールする必要がありました。それらの1つは、これらのまさにメッセージでした。システムを再インストールし、同じアイコンを使用した後、警告が再び表示され、将来の問題に注意しています。これはどれほど危険ですか、アイコンのテーマを削除する必要がありますか?

(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

回答:


10

このエラーは、ソフトウェアがGTKライブラリの新しいバージョンで有効なGTKライブラリコールを使用していることを示します。ソフトウェア開発中に、下位互換性を維持しながら物事を行うために、「古い方法」を取り除くことが望ましい場合があります。これは、不要な呼び出しを非推奨としてマークすることで実現さます。これにより、開発者は自分のコードがこのリリースで有効であることがわかりますが、将来的には新しいバージョンのライブラリを使用するためにコードを更新する必要があります。

この場合、GTKはディメンションに単位を含めることについてより厳密にしたいと考えています。開発者に、GTKは単位がピクセルであると仮定していることを伝えます。これは、ソフトウェア開発者が最初に行った正確な仮定です。

Not using units is deprecated. Assuming 'px'.

これは、これらの警告がアイコンテーマの開発者向けであり、実際の実行時の問題を反映していないと言う、長くて非常に複雑な方法です。

Ubuntuソフトウェアリポジトリを使用すると、互換性のないプログラムやライブラリは提供されません。


5

バグやエラーに気付かない場合は、これらの警告を無視しても問題ありません。これらは単なるエラーであり、エラーではないことに注意してください。


10
警告を安全に無視しても、端末の出力が
損なわれる

確かに彼らは台無しにします。エンドユーザーに対してこれらの警告を無効にする方法はありますか?
ウィゼク

@wizekはstdoutとstderrを/ Dev / nullにリダイレクトします
trognanders

1
@BaileySその後、これらのプログラムを実行するたびにそれを行う必要があります。また、時々stdoutを気にし、時にはstderrストリームの他の部分を気にすることもあるので、そのような手動およびブランケットリダイレクトは非常に望ましくありません。私は自分のマシン上のすべてのアプリのすべてのgtk警告を無効にしたいだけです。どこかでGTKの設定オプションにする必要があります。
ウィゼク

stdoutとstderrをグローバルに永続的にリダイレクトする方法はないと思います。私の非常に実用的な解決策は、本当に必要な場合は1つのガベージターミナルを使用してグラフィカルなものを起動するか、ドックまたはツールバーを使用してそれらを自動的に非表示にします。ロギングは通常、本当に混乱です。それが大量の印刷物を直接stderrに追跡することを意味するのであれば、私は驚かないでしょう。
トログナンダー
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.