Sorry, perhaps I didn't explain it clearly enough.  This only happens in
~/Desktop, if you copy the same test script to ~/Desktop/test and run
it, you'll get the expected output - '/home/user/Desktop/test'.

I don't know why it only happens on the desktop (ie in the Desktop
folder), but it does.

-- 
scripts running from desktop : $PWD = /home/user
https://bugs.launchpad.net/bugs/103144
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug contact for nautilus in ubuntu.

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

Reply via email to