From ArchWiki
Revision as of 01:15, 19 October 2012 by Unikum (Talk | contribs) (policykit rules: new section)

Jump to: navigation, search

Comments Welcome

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. :)

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. TheCycoONE 09:08, 26 March 2012 (EDT)
Close log info. -- Fengchao (talk) 11:26, 5 October 2012 (UTC)

policykit rules

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

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

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