Thanks for your bug. What version of Ubuntu do you use? That works fine for me.
I just tried with that code:
"#!/bin/bash
zenity --title "NAUTILUS_SCRIPT_CURRENT_URI" --info --text
"$NAUTILUS_SCRIPT_CURRENT_URI""
the URI displayed has the Desktop directory mentionned. Do you use the
option to have your user directory as desktop? Note that the nautilus-
open-terminal package would probably be appropriate to do that
** Changed in: nautilus (Ubuntu)
Importance: Untriaged => Low
Assignee: (unassigned) => Ubuntu Desktop Bugs
Status: Unconfirmed => Needs Info
--
NAUTILUS_SCRIPT_CURRENT_URI is set to $HOME when executing scripts from desktop
https://launchpad.net/bugs/49767
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs