Make android studio startup icon in startup bar

  • 2021-08-28 21:05:25
  • OfStack

https://www.linuxidc.com/Linux/2017-08/146066.htm

First, create a new Studio. desktop file under the ~/bin/android-studio folder and open it with gedit, then copy the following contents and change them.


[Desktop Entry]
Name=AndroidStudio
Type=Application
Icon= Yours AndroidStudio Absolute path of unzipped folder /android-studio/bin/studio.png
Exec=sh  Yours AndroidStudio Absolute path of unzipped folder /android-studio/bin/studio.sh

After filling in the content, save and exit (when copying, pay attention to the fact that there can be no space behind every line, and many students fail to make it because there is a space above copy), but this shortcut can't be used at this time, and you will find that the icon has not changed, and double-clicking will make mistakes.

Don't worry at this time, right-click the file > Attribute > Authority > Select Agree as the program run file, ok, this time you will find that the icon has changed wonderfully.

At this time, we can open Android studio by double-clicking, but it is still inconvenient now. We hope to put it in the startup bar of ubuntu, which is easy. At this time, we only need ctrl key, and drag this file to the startup bar with the mouse to ok.

Summarize

The above is the site introduced to you in the startup bar to make android studio startup icon related knowledge, I hope to help you, if you have any questions welcome to leave me a message, this site will reply to you in time!


Related articles: