Comment 4 for bug 49767

Revision history for this message
Nicolas Maquet (nmaquet) wrote : Re: [Bug 49767] Re: [Bug 49767] Re: [Bug 49767] Re: NAUTILUS_SCRIPT_CURRENT_URI is set to $HOME when executing scripts from desktop

Mmmhh... I have the weirdest thing : I tried your zenity script and it works !

Displays "file:///home/username/Desktop" as expected.

Apparently its my script whose buggy :

#!/bin/bash
cd $NAUTILUS_SCRIPT_CURRENT_URI
exec gnome-terminal

But it works for every single directory I tried.... *except* ~/Desktop
Can someone try it on his desktop to see if it does the same ?
I'll look into it tomorrow.