Difference between revisions of "Talk:Kodi"

From ArchWiki
Jump to: navigation, search
(Comments Welcome: Remove closed discussion.)
m (policykit rules)
Line 14: Line 14:
 
Somebody confirm this.  
 
Somebody confirm this.  
 
[[User:Unikum|Unikum]] ([[User talk:Unikum|talk]]) 01:15, 19 October 2012 (UTC)
 
[[User:Unikum|Unikum]] ([[User talk:Unikum|talk]]) 01:15, 19 October 2012 (UTC)
 +
* I tested this. Seems it work. [[User:Unikum|Unikum]] ([[User talk:Unikum|talk]]) 07:37, 20 October 2012 (UTC)

Revision as of 07:37, 20 October 2012

policykit rules

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

/etc/polkit-1/rules.d/50-xbmc.rules
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)

  • I tested this. Seems it work. Unikum (talk) 07:37, 20 October 2012 (UTC)