(2016-06-03 17:32)@DanMar Wrote:(2016-03-09 17:32)Bedwyr Wrote: I tried adding a homepage launcher to the main menu. It launches Chrome fine, but the launcher opens up a sub-folder instead of staying on the main menu. Is this normal behavior? I would very much prefer to simply launch Chrome, close Chrome, and return directly to the Kodi menu.
I have the same question and if anyone has an answer that would be really helpful. It specifically opens the Program add-ons menu when it opens up Chrome in kiosk mode. Once you use Alt+F4, your left on the Program add-ons page. A simple backspace/back press takes you back to the Home Menu, but that kind of defeats the point of trying to create a slick user experience. It's not a huge deal, but if there's a way to jump straight to the Home Menu after closing Chrome that would be great.
I don't know if you guys are still looking, because this was bothering me too. This involves editing some code, but only a little bit.. I'm running Kodi on Ubuntu 16.04, so my directories may be different, Find "default.py" in the chrome addon folder and make a backup copy, then open the file in a plain text editor. My directory was "/home/.kodi/addons/plugin.program.chrome.launcher". You're looking for the line
def showSite(url, stopPlayback, kiosk, userAgent):
Towards the end of that section (before
Test the website call to make sure it works, and enjoy. The one potential downside to this method is that this applies globally to any website opened with this addon. After the website opens, Kodi will always go to the Home screen. You could get it to be a setting for each website, but that would require some additional hackery. You can also replace the word "home" in that added line with one of the names here if you prefer to be taken back some place else. [/code]