On Tue, Apr 20, 2004 at 01:09:10AM +0300, David Harel wrote: > Hi, > > I noticed that the ~/.xsession-errors file becomes rather large and I > can see that most of the messages are merely internal operations or > debug messages that I get whenever I touch any KDE GUI component.
I agree. They are too noisy. (E.g.: one atvantage of xterm and gnome-terminal over konsole is that the latter prints too much debug output to the running terminal. Thus you wouldn't want to invoke konsole from another terminal). > I recently upgraded to KDE 3.2.1 by building the source packages with > default configuration (simple ./configure). I guess there is a debug > switch that was active on compile time on a basic component like kwin. > I want to switch those messages off. One of the reasons is that I am > afraid, having a slow machine (Laptop with P3 700), that it slows things > down. > Of course I can override those messages by streaming them to /dev/null > but this is far too ugly (Fedge, a friend of mine used to call it) > Did anyone bump into this situation and knows what to do? If your X sessions are not too long (if you end them periodically) you can try having a session file per session. Look at the X init scripts. If you don't want to change the distro's x init scripts there are still a number of things you can do. e.g.: if you use startx, you can create a simple $HOME/.xinitrc file that will run: ERRFILE=$HOME/.xsession-errors rm -f $ERRFILE touch $ERRFILE chmod 600 $ERRFILE exec /etc/X11/Xsession Note that if you run two X sessions simultaniously, the second file's However if your X sessions are long-running such a strategy won't do (and deleting that file in the middile of a session won't help you a bit). -- Tzafrir Cohen +---------------------------+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---------------------------+ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
