Search code examples
ubuntuandroid-studiolauncherubuntu-unity

Getting Ubuntu 14.10 Unity Launcher to launch Android-Studio


I am having trouble getting Ubuntu Unity Launcher to launch Android-Studio. Here is my desktop file:

more Android-studio.desktop
[Desktop Entry]
Type=Application
Name=Android-studio
Comment=Android Integrated Development Environment
Icon=/home/jumbo/android-studio/bin/idea
Exec=/home/jumbo/android-studio/bin/studio.sh
Terminal=false
Categories=Development;IDE;Android;
StartupWMClass=Android-studio
Name[en_GB]=Android-studio

I copied the above from the Ubuntu web site but the icon blinks several times and then nothing happens.

I can find no clear instructions through Google browser.

Does unity launcher store launch errors?


Solution

  • try adding to your code: StartupNotify=true

    "This command in the desktop file enables the desktop to use whatever startup notification is built in to either your application or your toolkit."

    for more details: https://developer.gnome.org/integration-guide/stable/startup-notification.html.en