20

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.

1
  • Inside Android Studio: Android Studio -> Tools -> Create Desktop Entry Jun 5, 2020 at 16:20

1 Answer 1

38

To create a desktop file do this:

  1. Open Gedit.

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

    #!/usr/bin/env xdg-open
    [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.

8
  • Glad! I could help.
    – Raphael
    Dec 25, 2015 at 18:25
  • 3
    for help other.enter Icon such: /home/ur_pc_name/path/to/icon.ico
    – Arm
    Dec 25, 2015 at 18:33
  • 1
    android studio icon as studio.png is also located at the same place where you have your studio.sh Jun 5, 2017 at 6:02
  • 6
    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, 2017 at 4:30
  • 23
    Android Studio -> Tools -> Create Desktop Entry Sep 27, 2017 at 18:11

Not the answer you're looking for? Browse other questions tagged .