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:
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.
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.