Nautilus Script Fun
David M. Carney
david at n1zhe.org
Mon Oct 11 01:59:48 UTC 2004
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
More information about the ubuntu-users
mailing list