.xsession-errors file

D. Michael McIntyre michael.mcintyre at rosegardenmusic.com
Wed May 9 23:54:56 UTC 2007


On Wednesday 09 May 2007 12:08 pm, Osman Kemal Kadiroğlu wrote:
> routine cleanup services I ereased 65BG of the same file. Any idea why it
> grows so large and what to do with it?

Yes.  They have some junk in /etc/X11/xorg.conf for Wacom tablets that 99.99% 
of users don't need.  Every time you start a program, you get some errors 
about invalid devices, and these errors get logged to ~/.xsession-errors.  As 
you've seen, if you ignore this, it can swell to enormous proportions.

Possible solutions are:

  1)  Edit your /etc/X11/xorg.conf to get rid of the Wacom references
  2)  Symlink ~/.xsession-errors to /dev/null so all future errors go
      straight into the bit bucket.

I chose 2) myself, because I was too lazy to edit the conf file, and debug my 
edits.

  rm ~/.xsession-errors
  ln -s /dev/null ~/.xsession-errors

Yields:

lrwxrwxrwx    1 me me 9 Jan 9 16:10 /home/me/.xsession-errors -> /dev/null

-- 
D. Michael McIntyre 




More information about the kubuntu-users mailing list