Adding an Ubuntu Unity Menu Link for IntelliJ

It’s pretty simple to add a menu launcher link for anything in Ubuntu.

Just make a file with a “.desktop” extension and then edit the file so that it has the pathing for the image file (48 px seems to be the size to choose) and the executable.  Here’s my intellij.desktop file contents:

#!/usr/bin/env xdg-open
[DesktopEntry]
Version=1.0
Terminal=false
StartupNotify=true
Icon=/home/bil/apps/intellij10/bin/idea_CE48.pngName=IntelliJ 10Exec=env UBUNTU_MENUPROXY=0 /home/bil/apps/intellij10/bin/idea.sh

Note the Icon line is a single line but doesn’t fit in this blog format.

I like to keep the file in the directory with the application folder, same level.

Now just drag the file to the Unity bar, and there you go.

Comments are closed.