Saturday, February 16, 2013

Add shortcut to Ubuntu Unity Launcher

To add any shortcut to Ubuntu 12.10 Unity Launcher just

  1. Create file with such content:
    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=JetBrains RubyMine
    Exec="/home/.../RubyMine-5.0/bin/rubymine.sh" %f
    Icon=/home/.../RubyMine-5.0/bin/RMlogo.svg
    Comment=Develop with pleasure!
    Categories=Development;IDE;
    Terminal=false
    StartupNotify=true
    StartupWMClass=jetbrains-rubymine
  2. Place it in ~/.local/share/applications/<any name>.desktop
  3. Drag and drop this file into the Unity Launcher.
  4. Profit!!!