if you compiled with default options, then your xbmc.bin binary is in /usr/local/lib/xbmc/xbmc.bin
similarly the icons are under /usr/local/share/..
Hi wsnipex!
Thanks for the support.
Like I said, the launcher itself actually works. I've been debugging this issue now for two evening, it's really a tricky one.
The only hint I have is that the Unity launch bar does recognize the original xbmc.bin file, exchanging only the xbmc.bin to the self compiled version breaks the icon.
I've been testing this now on a fresh Ubuntu install, where xbmc was never before installed via the package manager.
I do configure it with --prefix=/usr. I compile it as usual and say 'sudo make install'.
The latest starter I was testing with is this:
http://slexy.org/view/s2Ahinu7GQ
I can say 'sudo desktop-file-validate /usr/share/applications/xbmc.desktop' which leads to no messages.
I install it with 'sudo desktop-file-install /usr/share/applications/xbmc.desktop'
And restart the database with 'sudo update-desktop-database'.
The icon is broke when I launch this. It works by just replacing /usr/lib/xbmc/xbmc.bin
First I thought that apt-get install xbmc does some registering with the database or something like that. So that's why I now tested on a fresh Ubuntu install.
One thing that I didn't mention so far is, that I compile the fernetMenta/xbmc version. That's the version used in OpenElec with dual-head support.
But that shouldn't make a difference, right?
Regards, beauman
git diff of the media dir doesn't show any difference between xbmc master and fernetmenta master.
So I'm not sure where this comes from, but tbh I'm not going to install a fresh ubuntu to test it.
That's totally fine! I wanted to know, if there's some kind of special trick to package fernetMentas version. Well, there is no, and I know this now.
You did help me zeroing in on this issue!
Things left to do for me are to find somebody at
https://github.com/FernetMenta/xbmc how can confirm this issue or maybe has some opinion about it. I think it's worth looking into this. I understood the fernetMenta branch is merged upstream to
https://github.com/xbmc/xbmc, so it's likely that it will break the icon display in there too.
To find out the strange behavior of the Unity launch bar, it probably needs running it as a debug version.
I've stopped working on this now in favor of more urgent issues. I'll report back, when I pick up my work on this again.
Hello FernetMenta!
Thanks for joining this thread!
I got it working now, it's indeed this line here:
https://github.com/FernetMenta/xbmc/blob....cpp#L1052
I was wondering, why it needs to be hard-coded in there. Why override the settings from the desktop launchers with so much code? Is that needed for OpenELEC?
But I'm really glad, that it's working now
Regards,
Beauman
Hi FernetMenta and wsnipex, thank you SO much for helping us figure this out (I started this project back in may). I really appreciate your time and effort in assisting us.
(2014-07-13, 12:29)beauman Wrote: [ -> ]I was wondering, why it needs to be hard-coded in there. Why override the settings from the desktop launchers with so much code? Is that needed for OpenELEC?
In regard to Unity this may be an override but with WMs like Fluxbox you won't get any icon without this code.