LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-26-2012, 01:07 PM   #1
Ronayn
Member
 
Registered: Jan 2006
Posts: 55

Rep: Reputation: 0
How do I stop terminal output from being written to ~/.xession-error


OS: Fedora 14 64bit, GNOME desktop

I have a QT GUI application that prints out diagnostic information to the terminal while running. I run this application from a terminal when I am in debug mode; but for actual use, the applcation is launced through a launcher (icon) on the desktop. When the application is launched from the launcher, the terminal output for it gets sent to .xsession-error.

How do I prevent this behavior without modifying .xsession-error? (While still maintaining the ability to see the diagnostic print outs when launched directly from a terminal?)
 
Old 07-27-2012, 09:16 AM   #2
antegallya
Member
 
Registered: Jun 2008
Location: Belgium
Distribution: Debian
Posts: 109

Rep: Reputation: 42
Hello,

you may change the launcher by issuing "command &> /dev/null" instead of "command".
 
  


Reply

Tags
xsession


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
[SOLVED] Is there a way to stop command output to continue scrolling down the terminal uriha Linux - General 4 01-06-2011 02:38 AM
Script output for DD not being written to file mhouston100 Linux - Server 2 06-23-2010 12:24 AM
How To Stop Things Being Written To Clientmqueue onesikgypo Linux - Newbie 1 10-07-2009 12:04 PM
ld: fatal: Symbol referencing errors. No output written to server smartgupta Linux - Server 0 10-10-2008 05:09 AM
How to completely stop terminal output? stankelay Programming 6 08-20-2007 05:34 AM

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

All times are GMT -5. The time now is 02:20 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