How to Create a Application Launcher in Linux?
In Linux with diffrent Desktop flavors like GNOME, MATE, KDE etc have diffrent options to create Application Launchers. But to create Application Launcher in Linux we have a simple and basic option. It works in every Linux flavor with any desktop environments.
Create Application Launcher in /usr/share/applications/
[root@test /]# vi /usr/share/applications/application-name
[Desktop Entry]
Encoding=UTF-8
Name=Application-Name
Exec=/path/to/application/executable
Icon=/path/to/application/icon
Type=Application
Categories=Development; //Define the application category.//
:wq // Write and exit from vi editor.//
That's it. After re-login it will show you in "Menu".
In Linux with diffrent Desktop flavors like GNOME, MATE, KDE etc have diffrent options to create Application Launchers. But to create Application Launcher in Linux we have a simple and basic option. It works in every Linux flavor with any desktop environments.
Create Application Launcher in /usr/share/applications/
[root@test /]# vi /usr/share/applications/application-name
[Desktop Entry]
Encoding=UTF-8
Name=Application-Name
Exec=/path/to/application/executable
Icon=/path/to/application/icon
Type=Application
Categories=Development; //Define the application category.//
:wq // Write and exit from vi editor.//
That's it. After re-login it will show you in "Menu".
No comments:
Post a Comment