Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-10-2009, 03:15 AM   #1
Registered: May 2004
Location: Italy
Posts: 70

Rep: Reputation: 16
Inhibit GTK verbose messages when running GTK/Gnome applications from terminal

Hi guys,

do anyone know a quick way to inhibit/hide GTK warning, info and debugging messages when running GTK+/Gnome applications from terminal?

I means those boring messages like "Gtk-WARNING blablabla..." and similar ones.

Thanks in advance!
Old 11-10-2009, 11:33 PM   #2
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 371

Rep: Reputation: 40
I think if you pipe stderr to /dev/null, it should stop the messages from the program.

program --start-now /home/jack/me.iso 2>/dev/null 1>/dev/null
Just as a side note, does anyone know why 2>&1 1>/dev/null is not the same as piping 1 and 2 to /dev/null like 1>/dev/null 2>/dev/null?

good luck,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Top 10 Best GTK Applications Not Included in GNOME LXer Syndicated Linux News 0 06-21-2008 11:41 PM
GTK applications doesn't look well jpostma Slackware 5 07-20-2007 12:53 PM
Backporting GTK+-2 applications to GTK-1.2 gnashley Programming 0 02-22-2007 05:25 AM
Weird font problem with GTK applications running in KDE Jeshua Linux - Software 1 02-22-2006 09:16 AM
Running gtk applications shezkhan Linux - Software 1 11-24-2005 10:32 AM

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration