You are not logged in.
Think I finally found the right way to rotate .xsession-errors and save a copy too.
It is to use this script:
#!/bin/bash
for i in {9..1}; do
if [[ -f /home/$USER/.xsession-errors.${i} ]]; then
mv -f /home/$USER/.xsession-errors.${i} /home/svensson/.xsession-errors.$((i+1))
fi
done
And in Xfce autostart run it as script at shutdown. At boot doesn't work since the file won't be written to. For some reason.
Offline