Is there any way to completely disable the .xsession-errors file? I have it as a symlink to /tmp so that my laptop hard disk can (hopefully) go to sleep for once, but at least 95% of the stuff in the file (it fills up at about 500k an hour) is...
(nautilus:1618): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
which is total garbage to me. I have tried doing a symlink to /dev/null but that does not work (the resulting link is overwritten), and I also do not want the activity so that hopefully my laptop can go to sleep for once.
I am using Ubuntu 11.04, with no special add-ons to Nautilus.
/etc/X11/Xsessiondoes not check what the symbolic link is pointing to. For me it creates a new.xsession-errorsregular file, and has.xsession-errors.oldlinked to/dev/null. That is not what I want. I want.xsession-errorsredirected to/dev/null- permantently unless I explicitly change it myself..xsession-errorsis hard coded(?!) into its source code. Is there a good way to run a script after GDM loads to redirect.xsession-errorsto/dev/null?