Nautilus Script Fun

David M. Carney david at n1zhe.org
Mon Oct 11 20:33:32 UTC 2004


VERY good question. It does seem to work perfectly without it.

David

-- 
Registered Linux User #297958


On Mon, 2004-10-11 at 11:59 +0200, Erik Bågfors wrote:
> Why do you have "cd -" there?
> 
> /Erik
> 
> 
> On Sun, 10 Oct 2004 21:59:48 -0400, David M. Carney <david at n1zhe.org> wrote:
> > Here's a new one for you!
> > 
> > I've always wanted to be able to open a Gnome-Terminal in Nautilus and
> > have the terminal be in whatever folder Nautilus was in.
> > 
> > I figured out how to do it.
> > 
> > Create a short script (make sure it is executable) in your
> > ~/.gnome2/nautilus-scripts folder. Name it "Open Gnome-Terminal
> > here...", or whatever you want to name it.
> > 
> > The script is:
> > 
> > -------------------------------
> > 
> > #!/bin/bash
> > #
> > cd -
> > /usr/bin/gnome-terminal
> > done
> > exit0
> > 
> > -------------------------------
> > 
> > To use the script, just open Nautilus. Go to any folder that you want to
> > open a terminal in and right-click on any part of the background (not a
> > file or program icon).
> > 
> > Select the "open terminal" script from the scripts menu and a
> > Gnome-Terminal should open and it will be in the folder that Nautilus is
> > in.
> > 
> > David
> > 
> > --
> > Registered Linux User #297958
> > 
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> 





More information about the ubuntu-users mailing list