Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Solved Antix => POWER OFF SYSTEM won't work as expected
#1
Hi here
Everything works fine on my system and on Kodi except.
When I choose the "power off system" option, my PC doesn't switch off.
Kodi just closes itself and I go back to the desktop as if I had chosen exit.
I can't figure out how to set the option to turn the computer off.
Regards
Reply
#2
Have a look at your skin's menu definition file and verify that it's set to call Kodi's internal Powerdown function. Eg. in the Estuary skin's /usr/share/kodi/addons/skin.estuary/xml/DialogButtonMenu.xml:
Code:
  
                                      <item>
                                                <label>$LOCALIZE[13016]</label>
                                                <onclick>Powerdown()</onclick>
                                                <visible>System.CanPowerDown</visible>
                                        </item>

If that's all right, then enable debugging and post logs. I am using a closely related system, MX Linux, and "Power off system" in the "Power Options" menu works for me.
Reply
#3
it depends if the user kodi is running under has the needed permission.
check custom-actions.pkla from https://forum.kodi.tv/showthread.php?tid=231955
If that doesn't help, provide a Debug Log
Reply
#4
(2024-02-25, 08:35)wsnipex Wrote: If that doesn't help, provide a Debug Log

perhaps the one posted 3 days ago is useful https://forum.kodi.tv/showthread.php?tid...pid3185188
https://paste.kodi.tv/ofocusiqox.kodi

all i know is it's Manjaro and seems to have an issue with CanStop on line 193 (which seems to be an indicator)
but couldn't say what needs to be done on Manjaro or even if it has to do with that
Reply
#5
No that not on the same computer this one is under Manjaro. The one I'm talking about here is under AntiX.

My skin is AeonNox no directory here (/usr/share/kodi/addons/)

I created the custom-actions.pkla file but it didn't change anything.

Here for the logs : https://paste.kodi.tv/urasipuyim.kodi
Reply
#6
something is missing.
maybe have a look here: https://linuxaudiofoundation.org/install...-bookworm/
Reply
#7
(2024-02-25, 10:25)yoyoda Wrote: My skin is AeonNox no directory here (/usr/share/kodi/addons/)

I created the custom-actions.pkla file but it didn't change anything.

it's not the skin

Quote:The name org.freedesktop.ConsoleKit was not provided by any .service files
The name org.freedesktop.UPower was not provided by any .service files

you need to install consolekit and upower for kodi to even attempt this
they need to be configured properly for kodi to perform it successfully
Reply
#8
Nice, now everything work fine.
Thank you all
Reply
#9
(2024-02-26, 23:20)yoyoda Wrote: works
Reply
#10
Thread marked solved.
Reply

Logout Mark Read Team Forum Stats Members Help
Antix => POWER OFF SYSTEM won't work as expected0