Desktop Shortcuts - mdeguzis/RetroRig GitHub Wiki
Table of Contents
About
This section services to describe the desktop shortcut structure and how scripts call each other. You can consider this part of the explanation in the XBMC wiki stub.
Background information (Ubuntu)
Unity sets the icon one of two ways:
- It could launch the process with the launcher itself, in which case it's easy for it to determine the icon. This usually even works correctly for launcher scripts, which is good because they generally involve child processes.
- You could launch the process from the command-line, in which case it determines the icon from the database it constructs of the launcher files (looks for the executable name).
Solutions involve making sure that it considers xbmc to be a child of the application (reffering to how you launch the child process). The easy solution is to add to the system an additional launcher that is just for xbmc. That way when the process launches then Unity will look it up in the database and see which icon to use.
Note: This information above is mainly for historical purposes only.