Comment 19 for bug 678421

Revision history for this message
Matthieu Baerts (matttbe) wrote :

Hi Gunnar,

> It would make the file not being loaded in case of a syntax error, and an entry printed to ~/.xsession-errors.

I don't know if it's better to ignore this file in case of syntax errors or to refuse to start a new session but for me, the most interesting thing is to notify the user what's wrong. That can be made by adding a line in the ~/.xsession-errors file but I think it's better to display a new dialogue which explains the error.

Because if you just ignore this file and print an error in ~/.xsession-errors, I'm not sure that the user will see that there is a problem with his/her ~/.profile file.
Personally I don't often read this file :-)