A method to add an application quick starter in Ubuntu
- 2020-05-09 19:48:36
- OfStack
If you want to add Ubuntu to Dash home for a quick startup, you need to find the /usr/share/applications directory, which contains all the initiators in dash, and add xxx to it. The specific operation steps are as follows:
Command line operation content:
cd /usr/share/applications
sudo gedit xxx.desktop
Open the text content to be edited as follows:
[Desktop Entry]
Version=1.0
Name=xxx
Exec=/home/username/xxx.sh (this is the file path name that the launcher needs to execute)
Terminal=false
Icon=/home/username/xxx.png (this is the icon)
Type=Application
Categories=Development
This allows you to see the launcher icon for xxx in dash, or you can add and lock it directly to launcher