Thursday, October 20, 2011

Terminal launcher with drag and drop location for Unity

The following launcher configuration will allow you to add a Gnome Terminal launcher into your unity launcher bar. This has the ability of opening the terminal for a given folder which. To do that you can simply drag the folder onto the launcher shortcut which will open the terminal in the dropped folder. The motivation behind this effort was that the open terminal nautilus extension is not working properly with nautilus 3.2 right now on my Ubuntu 11.10.


[Desktop Entry]
Version=1.0
Name=Gnome Terminal
Comment=Drag and drop a folder to open in.
GenericName=youtube uploader
Exec=gnome-terminal --working-directory=%u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=gnome-terminal
Categories=GTK;Graphics;
MimeType=inode/directory;
StartupNotify=false
TargetEnvironment=Unity
X-Ayatana-Desktop-Shortcuts=NewTerminal
[NewTerminal Shortcut Group]
Name=New Terminal
Exec=gnome-terminal
TargetEnvironment=Unity

No comments: