Saturday, September 02, 2006

open terminal here says Nautilus

Download nautilus-scripts archive

Extract to ~/.gnome2/nautilus-scripts

#!/bin/bash
#Created by vishah
#Opens a gnome terminal with the working directory same as nautilus
cwd=`echo $NAUTILUS_SCRIPT_CURRENT_URI|grep -oE '[/][^//].+'`
gnome-terminal --working-directory=$cwd

open a terminal with the working directory as Nautilus

No comments: