Create desktop entry for an application in ubuntu | Android studio 2.3

Опубликовано: 19 Июнь 2026
на канале: LP Devs
4,309
33

Hello world, Today I want to share with you how to create a desktop entry for an application in Ubuntu. For example: Android Studio 2.3.

1) You need to create a file named as xxx.desktop in /usr/share/applications/. Now, open Terminal:

$ sudo gedit /usr/share/applications/androidstudio.desktop

I am using gedit for copying easily.

2) Edit this file:

[Desktop Entry]
Version=2.3
Type=Application
Terminal=false
Name=Android Studio
Exec=/home/lampv/Documents/android-studio/bin/studio.sh
Icon=/home/lampv/Documents/android-studio/bin/studio.png

With:
Name: name for this desktop entry
Exec, Icon : path to execute file and icon for this.

3) Optional: set permission:

$ sudo chmod 644 /usr/share/applications/androidstudio.desktop
$ sudo chown root:root /usr/share/applications/androidstudio.desktop

Thank you for watching my video. I hope it can help you. If you like it, do not forget to like and subscribe.

Song: Uplink & Jason Gewalt - Euphoria [NCS Release]
Music provided by NoCopyrightSounds.
Video Link:    • Uplink & Castion - Euphoria | Future House...  
Download: http://ncs.io/Euphoria

Visit me on:
Website:
➤ https://lpdevs.github.io/
➤ http://lpdevs.herokuapp.com/
➤ http://phamvanlam.com
Github:
➤ https://github.com/lpdevs

Thank you for watching my video. I hope it can help you. If you like it, do not forget to like and subscribe.

LP Devs.

You may be like:

Open source:
http://phanmemnguonmo.phamvanlam.com/

Pham Van Lam Blog:
http://phamvanlam.com/

Algorithm
http://thuattoan.phamvanlam.com/

Complete JavaScript:
https://completejavascript.com/

Others :
https://lpdevs.github.io/
https://lpdevs.herokuapp.com/