doshere equivalent?
Magnus Therning
magnus at therning.org
Fri Sep 16 09:19:33 UTC 2005
On Fri, Sep 16, 2005 at 08:18:52AM +0100, Mark Nottingham wrote:
>Hi
>
>Is there an Ubuntu equivalent for the windows tool doshere.inf that
>enables you to right click on a folder and create - in this case - a
>terminal window that is already at the folder's drive and folder path?
$ cat ~/.gnome2/nautilus-scripts/OpenTerminalHere
#!/bin/sh
# $Id: OpenTerminalHere 3 2005-04-29 16:58:30Z magnus $
dir=${NAUTILUS_SCRIPT_CURRENT_URI/file:\/\///}
exec gnome-terminal --working-directory=${dir}
The menu item might not turn up in the most convenient place
(Scripts->OpenTerminalHere), but it's an easy way of getting what you
want.
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus
Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.
In cyberspace everyone will be anonymous for 15 minutes.
-- Graham Greenleaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050916/81400b50/attachment.sig>
More information about the ubuntu-users
mailing list