Difference between revisions of "Talk:Kodi"

From ArchWiki
Jump to: navigation, search
(policykit rules: new section)
(Comments Welcome: Remove closed discussion.)
Line 1: Line 1:
==<s> Comments Welcome </s> ==
I recently went through an XBMC install on Arch, and while not terribly complicated, it did take me a while to research everything. I've concatenated my findings here to share with the community. I found it especially odd that this wiki did not have a page devoted to XBMC (although it does have one for near equivalents like [[MythTV]] and [[boxee-source]]), especially considering all the great Arch Linux information available on the XBMC Wiki, just not all in one place. That's what my thought was here: let's have it all in one place. Indeed, it's the Arch Way! Simple, minimalist, tested instructions.
That said, this is all based on my limited experience both with XBMC and with installing it on one machine (an intel iMac running single-boot Arch Linux). Please help expand the article by adding any extra tidbits you might know, correcting any hideous oversight or error I'm sure I might have made somwehere, or especially adding anything you can about troubleshooting. There will also probably be minor formatting errors, e.g., if there's a way to get the XBMC wiki links working in the inter-wiki link format, I've not figured it out yet. :)
[[User:Palintropos|Palintropos]] 07:24, 13 March 2012 (EDT)
: Thanks for the page, it's definitely a good start.  I started out with an approach like you mention, but when I wanted to use the Launcher plugin to run programs I eventually gave up on chasing D-Bus errors.  My current process is to install openbox and lxdm.  I have xbmc in the openbox autostart script, and lxdm set to autologin.  This way I don't have to micromanage consolekit settings, shutdown/hibernate/etc. all work properly, and everything I launch through launcher works.  It's also pretty close to the official XBMCbuntu method of starting xbmc in lxde. [[User:TheCycoONE|TheCycoONE]] 09:08, 26 March 2012 (EDT)
:: Close log info. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 11:26, 5 October 2012 (UTC)
== policykit rules ==
== policykit rules ==

Revision as of 02:51, 19 October 2012

policykit rules

Seems policykit config format is deprecated. I found following variant:

polkit.addRule(function(action, subject) {
    if (( (action.id.indexOf("org.freedesktop.udisks.") == 0) || (action.id.indexOf("org.freedesktop.upower.")== 0) || (action.id.indexOf("org.freedesktop.consolekit.")== 0) ) &&
        subject.user=="xbmc") {
        return polkit.Result.YES;

Somebody confirm this. Unikum (talk) 01:15, 19 October 2012 (UTC)