14

This question already has an answer here:

I recently have downloaded android studio to develop android.
I run program at terminal typing ./studio.sh
My question is :
Is there any way to start it as a GUI icon at desktop without use terminal.

marked as duplicate by mikewhatever, Jacob Vlijm, Mitch Dec 26 '15 at 12:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

31

To create a desktop file do this:

  1. Open Gedit.

  2. Paste the following into the file, editing the relevant parts:

    [Desktop Entry]
    Version=1.0
    Type=Application
    Terminal=false
    Icon=someicon
    Exec=sh /path/to/studio.sh
    Name=Android Studio
    
  3. Now, save this file as somename.desktop, to your desktop.

  4. Next, you need to make this file executable by typing the command:

    cd ~/Desktop && chmod a+x somename.desktop
    

Now, double-clicking the application should launch your application.

  • Glad! I could help. – Raphael Dec 25 '15 at 18:25
  • 3
    for help other.enter Icon such: /home/ur_pc_name/path/to/icon.ico – Arm Dec 25 '15 at 18:33
  • android studio icon as studio.png is also located at the same place where you have your studio.sh – Mohammed Sufian Jun 5 '17 at 6:02
  • 3
    When you start android studio, there is an option named configure. In the configure option, you will get Create a desktop Entry for Studio. Just do a couple of okays, and after restarting you can find Android Studio in your system menu. Checked in Ubuntu 16.04..:) – john400 Sep 2 '17 at 4:30
  • 18
    Android Studio -> Tools -> Create Desktop Entry – Ihab Shoully Sep 27 '17 at 18:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.