Linux launcher
This is the manual way to create a launcher for any application in linux
First of all we need to creat a file at the following route:
/usr/share/applications/file.destkop
The content of that file is sort of like that:
[Desktop Entry] Name=oxygenJavaSE Name[en]=oxygenJavaSE Type=Application Exec=/home/phoenixrlv/eclipse/oxygen/javaSE/eclipse Terminal=false Icon=/home/phoenixrlv/eclipse/oxygen/javaSE/icon.xpm Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE
Some times we need sudo permissions. In that case for GNOME would be like this:
[Desktop Entry]
Comment[en_US]=Start/Stop XAMPP Comment=Start/Stop XAMPP Comment[en_CA]=Start/Stop XAMPP Encoding=UTF-8 Exec=gksu /opt/lampp/manager-linux.run GenericName[en_US]= GenericName= Icon=/opt/lampp/xampp.png Icon[en_CA]=/opt/lampp/xampp.png MimeType= Name[en_US]=XAMPP Control Panel Name=XAMPP Control Panel Name[en_CA]=XAMPP Control Panel Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType= X-KDE-SubstituteUID=false X-KDE-Username= Y si fuese del estilo KDE:
On the other hand for KDE would be like this:
[Desktop Entry] Comment[en_US]=Start/Stop XAMPP Comment=Start/Stop XAMPP Comment[en_CA]=Start/Stop XAMPP Encoding=UTF-8 Exec=kdesu /opt/lampp/manager-linux.run GenericName[en_US]= GenericName= Icon=/opt/lampp/xampp.png Icon[en_CA]=/opt/lampp/xampp.png MimeType= Name[en_US]=XAMPP Control Panel Name=XAMPP Control Panel Name[en_CA]=XAMPP Control Panel Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType= X-KDE-SubstituteUID=false X-KDE-Username=












