[Bug 49767] NAUTILUS_SCRIPT_CURRENT_URI is set to $HOME when executing scripts from desktop
Nicolas Maquet
nmaquet at gmail.com
Wed Jun 14 20:32:54 UTC 2006
Public bug reported:
Binary package hint: nautilus
When I execute a nautilus script via the context menu by right-clicking
on the desktop, nautilus sets the variable NAUTILUS_SCRIPT_CURRENT_URI
to the value $HOME.
Shouldn't it be $HOME/Desktop instead ?
This would be more sensible IMHO.
For instance, I have a script 'Open Terminal Here' which reads :
#!/bin/bash
cd $NAUTILUS_SCRIPT_CURRENT_URI
exec gnome-terminal
Then, when I right-click on the desktop and select 'Open Terminal Here',
I get a terminal with a current directory set to the home folder instead
of the ~/Desktop folder.
** Affects: nautilus (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
NAUTILUS_SCRIPT_CURRENT_URI is set to $HOME when executing scripts from desktop
https://launchpad.net/bugs/49767
More information about the desktop-bugs
mailing list