As we all know, different from windows, linux software installation methods are varied =
Written using the sh script, which is compiled by the tar package, in rpm format, deb, and various wonderful paths, and then run with the + chmod permission, there are also various configuration files modified ......
Similarly, there are still a few software programs that can set shortcuts in the starter like wps linux. In most cases, you have to write the starter file yourself ..
The standard file format for desktop shortcuts under linux is. desktop. After many files are installed, a shortcut is created under the/usr/share/application folder, which can be copied directly to the desktop.
However, there are still many things without default shortcuts.
We can use a text editor to open a shortcut to see the content:
The format is as follows:
[Desktop Entry] // each desktop file starts with this label, indicating that this is a Desktop Entry file Version = 1.0 // indicating the Version of the Desktop Entry (optional) name = Firefox // program Name (required). Create a Firefox shortcut as an example. GenericName = Web Browser // general program Name (optional) comment = A Web Browser // program description (optional) Exec = firefox % u // program startup command (required), which can run with parameters // The current Type is Application, this effective Icon = firefox // sets the shortcut Icon (optional) Terminal = false // whether to run in the Terminal (Optional). When the Type is Application, valid Type = Application // desktop Type (required). Common values include "Application" and "Link" Categories = GNOME; Application; Network; // specify the category displayed in the menu bar (optional)
In this way, we can write shortcuts by ourselves.
EXEC can point to bash scripts, or use the methods described earlier (in the previous articles) to avoid administrator authentication, so that you can directly double-click it.
Of course, there is also a simple way to establish soft links using the ln-s command, which is not shown here.