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
Desktop Bugs, which is subscribed to gdm in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to