LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 11-10-2009, 02:15 AM   #1
d1s4st3r
Member
 
Registered: May 2004
Location: Italy
Distribution: Ubuntu, Slackware, OpenBSD, PC-BSD
Posts: 68

Rep: Reputation: 15
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, 10:33 PM   #2
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 358

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

Code:
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,
rabbit2345
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 10:41 PM
GTK applications doesn't look well jpostma Slackware 5 07-20-2007 11:53 AM
Backporting GTK+-2 applications to GTK-1.2 gnashley Programming 0 02-22-2007 04:25 AM
Weird font problem with GTK applications running in KDE Jeshua Linux - Software 1 02-22-2006 08:16 AM
Running gtk applications shezkhan Linux - Software 1 11-24-2005 09:32 AM


All times are GMT -5. The time now is 02:15 PM.

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