Nautilus Script Fun
Erik Bågfors
Zindar at gmail.com
Mon Oct 11 09:59:28 UTC 2004
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