Re: Transferring current path in nautilus, file browser to command line ??



On Sat, 2006-11-25 at 13:53 -0500, William Case wrote:
> I.E.  I believe there was an environmental constant something like
> NAUTILUS_CURRENT_WORKING_DIRECTORY that was used.  In any case, I am
> half way there with the right click 'Open Terminal'.  If I have selected
> a directory in nautilus and then right click 'Open Terminal' the
> terminal opens with [user at machine 'nautilus selected directory]$ so
> the command line is finding the path for the
> NAUTILUS_CURRENT_WORKING_DIRECTORY somewhere.  I just can't find it.

For scripts, Nautilus exports NAUTILUS_SCRIPT_CURRENT_URI, maybe that's
what you're looking for?
http://www.gnome.org/learn/users-guide/latest/gosnautilus-440.html

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]