Ubuntu – Add Vim to Unity launcher


Please can someone explain how to add a launcher icon in Unity (along the left side) for Vim – or any other terminal-based application?

I press alt+f2, type vim, and drag the icon to the left … but the launcher does not accept the dragged item.

Assuming that to launch vim in a terminal I should launch gnome-terminal -e vim, my question is how do I get this command as a button in the Unity launcher?

Best Answer

  • Create Launcher for Terminal Application

    Right click on the desktop and select Create Launcher from the menu:

    enter image description here

    Choose Application in Terminal and give the desired name and command to run (in this case vim).

    Then simply drag and drop this icon on the Unity Launcher:

    enter image description here