6

I used to launch Android Studio by this steps:

  1. Open Android Studio folder.
  2. Open terminal there.
  3. Confirm sh studio.sh command.

Can I lauch Android Studio from the Desktop by the 1 click?

1
  • Possible duplicate. Give importance to the line: Exec=/home/samuel/ugene-1.11.5/ugene -ui. In your case change it to path to your script. Also, change the other relevant lines. – Raphael Sep 10 '16 at 4:38
5

The easiest and fastest way to do this is after you open the program the same way you mentioned, click right click on the program (from the programs bar/menu bar on the left) and click "Lock to Launcher".

8

Create a file ( Desktop File ) with this content:

[Desktop Entry]
Version=1.0
Name=Android Studio 
Type=Application 
Icon=/PATH/TO/ICON/studio.png 
Exec=/PATH/TO/studio.sh 

Change /PATH/TO/ICON/studio.png and /PATH/TO/studio.sh accordingly.
save the file as: android-studio.desktop in /usr/share/applications

Now you'll be able to search in the Dash for Android Studio

2
  • 2
    For whatever reason it is not working for me. I tried to write the path only with path/to/studio.sh and path/to/sh studio.sh Either way, not working and not able to launch from desktop icon – Nandete82 Jun 28 '20 at 19:19
  • It worked, but after I change the file permissions to 644 with chmod 644 file.desktop and I also had my Exec= path not right, and when I fixed it to the correct path, the "Allow launching" appeared and I was able to add it as a favorite in the launcher. – Frederiko Cesar Jan 13 at 0:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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