.xsession-errors file and KDE debugging output

Derek Broughton news at pointerstop.ca
Fri Oct 6 17:31:50 UTC 2006


Øyvind Stegard wrote:

> On Friday 06 October 2006 14:58, Derek Broughton wrote:
>> It would
>> be nice if most programs could have that output suppressed with a switch,
>> but it's Unix-traditional to just redirect stderr (eg: kate 2>/dev/null).
> Of course, I know this, but that's cumbersome to type just for all KDE
> apps. There is a nice gcc switch called '-DNDEBUG' that can be used when
> compiling KDE :). I do realize that bug-reports might be of better quality
> when the debug output is available.

Indeed.  I would say it would be a very bad thing to suppress all this
output to the extent that a user would be unable to get it without
recompiling the app.  I very much expect (and hope) that it will never
happen.

> .xsession-errors is not the biggst of issues, but having to silence KDE
> apps' stderr from the terminal is. I guess I'll end up rebuilding all the
> packages (w/o debugging) myself.

It's rather self-defeating to run all your KDE apps from the terminal.  If
you run everything from a terminal, do you really need a desktop
environment? The odd time I do it, it's usually because I want to see that
output.  One or two apps (kate & kompare in particular) I do run that way,
frequently, but for just a couple of apps, it's easier to just create an
alias to a command that diverts the output.
-- 
derek





More information about the kubuntu-users mailing list