After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320218 - no proper current directory if running scripts on Desktop
no proper current directory if running scripts on Desktop
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Scripts facilities
2.13.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-30 07:13 UTC by Marius Scurtescu
Modified: 2007-08-27 08:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
environment varaiables (31.88 KB, image/png)
2005-10-31 18:26 UTC, Marius Scurtescu
  Details
NautilusScriptsDebug (629 bytes, application/x-gzip)
2005-11-01 06:12 UTC, Marius Scurtescu
  Details
fixes the issue (718 bytes, patch)
2005-11-13 16:58 UTC, Sebastien Bacher
none Details | Review

Description Marius Scurtescu 2005-10-30 07:13:11 UTC
Please describe the problem:
The current directory is not right (it is the home director) if scripts are run
agains files on the Desktop.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?
yes

Other information:
Comment 1 Marius Scurtescu 2005-10-31 18:26:03 UTC
Created attachment 54149 [details]
environment varaiables

Check the value of 'pwd', it points to the home folder not to the Desktop
folder.
Comment 2 Marius Scurtescu 2005-11-01 06:12:41 UTC
Created attachment 54177 [details]
NautilusScriptsDebug

NautilusScriptsDebug was used to get the attached screenshot, it can help
debugging these type of issues.

See http://marius.scurtescu.com/?p=111
Comment 3 Sebastien Bacher 2005-11-13 16:30:30 UTC
Thanks for your bug.
Comment 4 Sebastien Bacher 2005-11-13 16:58:56 UTC
Created attachment 54705 [details] [review]
fixes the issue
Comment 5 Alexander Larsson 2007-08-27 08:12:21 UTC
commited.