Add the run icon for Android studio on launcher in Ubuntu

Source: Internet
Author: User

To run a command to create a desktop file:

sudo gedit/usr/share/applications/android_studio.desktop

Open the window and enter the following, noting that exec and icon are modified to the path of Android studio under their own system.

[Desktop Entry]
Type=application
Name=android Studio
Exec= "/opt/android-studio/bin/studio.sh"%f
Icon=/opt/android-studio/bin/studio.png
Categories=development;ide;
Terminal=false
Startupnotify=true
Startupwmclass=jetbrains-android-studio

Save the closing file and run the following command to add the Execute permission:

sudo chmod +x/usr/share/applications/android_studio.desktop

After that, use the command to open the Applications folder:

sudo nautilus/usr/share/applications

Locate the Android_studio.desktop file, and drag the file onto the Launcher bar.

Add the run icon for Android studio on launcher in Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.