nautilus script variables not set in search results window

Bug #833520 reported by PGScooter on 2011-08-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)

Bug Description

I can use nautilus scripts in any folder but I just realized I can't use them (at least to act a single selected file) in the "search results" folder.
I think that the problem is that the following variable is not set for some reason in the "search results" folder:

I want to make a simple script to copy the location of that file. The following script works fine except in that folder:
echo "`dirname "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"`" | perl -pe 's/\n//' | parcellite

This behavior was confirmed by another user. See the following thread:

I am using 11.04 with Unity, 64-bit, Nautilus version Installed: 1:

Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in nautilus (Ubuntu):
importance: Undecided → Wishlist
Sebastien Bacher (seb128) wrote :
Changed in nautilus (Ubuntu):
importance: Wishlist → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers