How does Linux create desktop shortcuts
This article mainly explains "how to create desktop shortcuts in Linux". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to create desktop shortcuts in Linux.
Gedit / usr/share/applications/phpstorm.desktop
Write the following
[Desktop Entry]
Categories=Development
Commit [zh _ CN] =
Comment=
Note: the directory here is the location of your own file program.
Exec=/opt/phpstorm/PhpStorm-172.3544.41/bin/phpstorm.sh
GenericName [zh _ CN] = IDE
GenericName=IDE
Note: the directory here is the location of your own file program.
Icon=/opt/phpstorm/PhpStorm-172.3544.41/bin/phpstorm.png
MimeType=
Note: the name here is defined by itself.
Name [zh _ CN] = phpstorm
Name=phpstorm
Path=
StartupNotify=true
Terminal=false
Type=Application
XmurDBUSripServiceNameName=
XmurDBUSMutual StartupType =
X-KDE-SubstituteUID=false
X-KDE-Username=owen
Chmod + x phpstorm.desktop
Go to the / usr/share/applications directory and find the file
Copy, paste to the desktop
Ok
Thank you for your reading, the above is the content of "how to create desktop shortcuts in Linux". After the study of this article, I believe you have a deeper understanding of how Linux creates desktop shortcuts, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!