端末でGUIテキストエディタを開くたびに、エラーメッセージが表示されます。

端末でGUIテキストエディタを開くたびに、エラーメッセージが表示されます。

コマンドを使用して端末でGnomeテキストエディタを開くたびに、gnome-text-editor ./example.txt次のエラーメッセージが表示されます。

(gnome-text-editor:9560): dconf-WARNING **: 00:00:58.433: failed to commit changes to dconf: The connection is closed

(gnome-text-editor:9560): dconf-WARNING **: 00:00:58.444: failed to commit changes to dconf: The connection is closed
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)

(gnome-text-editor:9560): dconf-WARNING **: 00:00:59.141: failed to commit changes to dconf: The connection is closed

(gnome-text-editor:9560): dconf-WARNING **: 00:00:59.142: failed to commit changes to dconf: The connection is closed

(gnome-text-editor:9560): dconf-WARNING **: 00:00:59.142: failed to commit changes to dconf: The connection is closed

エラーメッセージにもかかわらず、エディタを使用すると問題なく動作します。でも正しく保存されます。 GUIを閉じると、他のメッセージが表示されます。

(gnome-text-editor:9560): dconf-WARNING **: 00:01:18.853: failed to commit changes to dconf: The connection is closed

この投稿に興味があるでしょうか? gnome-text-editorが故障しましたか?

ベストアンサー1

これは完全に正常です。

GUIアプリケーションは、メニューまたはアイコンで実行されていると仮定すると、STDERRに多数の警告メッセージをエクスポートする傾向があり、これらの出力はすべて~/.xsession-errors

いつでもstderr(およびオプションでstdout)を/ dev / nullにリダイレクトできますbash。たとえば、次のようになります。

 gnome-text-editor ./example.txt &> /dev/null

または〜/.xsession-errorsに追加してください。

 gnome-text-editor ./example.txt &>> ~/.xsession-errors

おすすめ記事