Hi, and thanks for taking the time to submit this bug report. I've confirmed that this does occur; however, I do not believe it's a bug. It should probably be prioritized as "Wishlist". I'm guessing this is not how upstream will want to go, but I'll let someone else make that decision.
The PWD is probably whatever it was when the session was started (gdm will typically change to the home dir before beginning a session). Just because you executed it from a certain location doesn't mean that should be the current working directory. Executing a script from a desktop is analagous to invoking "~/Desktop/test", not "cd ~/Desktop; ./test". ** Changed in: nautilus (Ubuntu) Sourcepackagename: None => nautilus Status: Unconfirmed => Confirmed -- 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