Thanks for working on this!
For what it's worth, I've been using the following, and had to move the
"set -x" now below the "exec 2>>$logfile", otherwise this was detected
as being an error.
1. I've been using the following in ~/.profile, mainly for debugging
purposes:
logfile=/tmp/debug-profile-calls.log
echo -n "Calling .profile (via $0) " >> $logfile
date >> $logfile
echo "SHELL: $SHELL" >> $logfile
set -x
exec 1>>$logfile
exec 2>>$logfile
2. I was confused that kdialog was being used / preferred: I am using
some KDE apps, but use awesome WM and the software stack based on
Unity/Gnome. Maybe there's a better method to detect a KDE system than
just checking if "kdialog" is installed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/678421
Title:
Error message for a faulty ~/.profile script
To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/678421/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs