Your script has a bug - a URI is not the same as a directory.
cd file:///home/user/Desktop
is not the same as:
cd /home/user/Desktop
"cd" is an old skool program that knows not of URIs. Use some sed in there and it'll work:
#!/bin/bash
gnome-terminal --working-directory=$(echo $NAUTILUS_SCRIPT_CURRENT_URI | sed 's!file://!!g')
Your script has a bug - a URI is not the same as a directory. /home/user/ Desktop
cd file://
is not the same as:
cd /home/user/Desktop
"cd" is an old skool program that knows not of URIs. Use some sed in there and it'll work:
#!/bin/bash directory= $(echo $NAUTILUS_ SCRIPT_ CURRENT_ URI | sed 's!file://!!g')
gnome-terminal --working-