What do I need to add to my .spec
file to create the desktop shortcut and assign an icon to the shortcut during install of my .rpm
? If a script is req
To create a desktop icon to an application follow the two steps below.
In an Editor create a new file.
gedit ~/.local/share/applications/NameYouWantForApplication.desktop
Place this section within the file and save it.
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=JeremysPentaho
Comment=Whatever Comment You want
Exec=/home/yourname@yourdomain.com/Source/Pentaho/data-integration/spoon.sh
Icon=/home/yourname@yourdomain.com/Source/Pentaho/data-integration/NameOfmyIconFile.jpg
Terminal=false