Getting Ubuntu 14.10 Unity Launcher to launch Android-Studio

2.5k Views Asked by At

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?

3

There are 3 best solutions below

0
Mounir Elfassi On BEST ANSWER

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

3
Gary On

You will love this: (1) Go into your-> .Android Studio directory/folder in your GUI your ./studio.sh file should be there. ->(2)Right click inside the folder ->(3) Open Terminal here ->(4)Type: ./studio.sh ->Android Studio will open up the flash screen-> When Android Studio fully opens ->(5)Look on menu bar -> (6)Find:Tools -> (7)Choose: Create Desktop Entry ->(8)After it self configures (as your machine audibly roils with the new configuration):PRESTO!!!

0
Linh On

Simply

Android Studio -> Tools -> Create Desktop Entry

enter image description here

It will work