ubuntu, deepin custom program startup menu creation

 Copyright statement: This article is the original article of the official account of the transcript of the code farmer, and may not be reproduced without the permission of the blogger. https://blog.csdn.net/yp090416/article/details/88692054

ubuntu, deepin program startup menu creation##

Start menu creation of programs such as webstorm, androidsudio and idea in ubuntu and deepin.

  1. First, we download the compressed package from the idea website, unzip it after downloading, and then copy the path, full path/bin/studio.sh
  2. Open the folder /usr/share/applications as a super administrator, and the command for root to modify the password is sudo passwd root
  3. We can see that there are a lot of .desktop files, this is the application menu.

  1. Let's copy one, or create a new as.desktop and enter the following content, we only need to replace Exec and Icon with our own path, change the name at will, after saving, we can see our launcher icon
Categories=Application;
Comment=this is Android Studio
Exec=/home/nelson/soft/android-studio/bin/studio.sh
Icon=/home/nelson/soft/android-studio/bin/studio.png
Name=as
Terminal=false
Type=Application

Recommended Posts

ubuntu, deepin custom program startup menu creation
Ubuntu startup service