Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Whenever I launch a KDE application from the command line, for instance okular to view a pdf, I get spammed with tons of warnings and various messages that I am not interested in. Even hours after I shut the program I get random messages in that terminal. Here is a sample:

kded(26751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kded(26751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kded(26751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kded(26751)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

You get the idea. How can I turn this behavior off for all KDE applications without having to append something like >/dev/null every single time?

I'm using KDE 4.4.5.

share|improve this question
    
Is everything disabled in kdebugdialog? –  Bob Apr 25 '12 at 15:25

2 Answers 2

up vote 0 down vote accepted

Personally, I'd just shut the programs up by 2>/dev/null. Either you have to throw all error messages for all applications, or keep a list of binary names somewhere with the programs you want to be quiet.

To keep the list, you could e.g. put overloading scripts in your PATH with names corresponding to the binaries, e.g. okular:

#!/bin/sh
/usr/bin/okular "${@}" 2>/dev/null

Alternatively, you could create a script called e.g. q (for quiet) and put it in your path with contents:

#!/bin/sh
"${@}" 2>/dev/null

and then add aliases such as

alias okular="q okular"

and so on.

share|improve this answer

Run kdebugdialog

Check if kdecore (KConfigSkeleton) is checked. If yes, uncheck it, and the debug output should disappear.

Reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612597

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.