0

Creating an Unity launcher for Android Studio

Posted on Monday, May 20, 2013


We have installed Android studio, and now we want to be able to run it from the Unity launcher.
First we will create a .desktop file:

gedit ~/.local/share/applications/android_studio.desktop
Then, paste this inside, changing the Icon and Exec values:

[Desktop Entry]
Type=Application
Name=Android-studio
Comment=Android Integrated Development Environment
Icon=/home/<< your username here >>/android-studio/bin/idea.png
Exec="/home/<< your username here >>/android-studio/bin/studio.sh" %f
Terminal=false
StartupNotify=true
StartupWMClass=jetbrains-android-studio
Categories=Development;IDE;Android;
Now open the folder with Nautilus:
nautilus ~/.local/share/applications


and drop android-studio.desktop to the desired position in launcher.

Discussion

Leave a response