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.
Asked
Active
Viewed 6.7k times
20
Arm
- 303
1 Answers
38
To create a desktop file do this:
Open Gedit.
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 StudioNow, save this file as somename.desktop, to your desktop.
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.