LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 11-10-2009, 02:15 AM   #1
d1s4st3r
Member
 
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, 10:33 PM   #2
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Rep: Reputation: 41
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



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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration