Zenity annoys me by always displaying the warning in terminal:
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Apparently I'm not the only one:
- linuxquestions.org - Gtk message gtkdialog mapped without a transient parent
- bugs.debian.org - GtkDialog mapped without a transient parent
- stackoverflow.com - GtkDialog mapped without a transient parent
- AskUbuntu - Error message when running zenity under 16.04 Gtk-message...
Almost all the answers tell you to change the way you call zenity by appending 2>/dev/null
to the end of the command. I don't want to do this to all the code I've already written and remember this for future code I write.
Is there an easier way of making this annoying message disappear?