Linux HOW TO: Minimal Ubuntu 16.04 with Kodi, Steam & EmulationStation
#74
@gammelobst:

here is a better solution for the problem with the missing entries in the shutdown menu.
I don't know what is the problem in general but the issue came when I started Kodi via scripts.

Here is the solution ($USER is a placeholder for the operating user):

Code:
sudo nano /etc/polkit-1/localauthority/50-local.d/custom-actions.pkla

Code:
[Actions for $USER user]
Identity=unix-user:$USER
Action=org.freedesktop.login1.*;org.freedesktop.udisks.*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

[Untrusted Upgrade]
Identity=unix-user:$USER
Action=org.debian.apt.upgrade-packages;org.debian.apt.update-cache
ResultAny=yes
ResultInactive=yes
ResultActive=yes

Now I can start Kodi via scripts and I have the entries in the shutdown menu. Now I needn't to start Kodi with gnome-terminal and there is no Terminal-window in the background.

Greetings

Nicke
Reply


Messages In This Thread
RE: HOW TO: Minimal Ubuntu 16.04 with Kodi, Steam & EmulationStation - by Nickelino - 2017-02-05, 17:08
Logout Mark Read Team Forum Stats Members Help
HOW TO: Minimal Ubuntu 16.04 with Kodi, Steam & EmulationStation4