like explained here:
iam searching for a possibility to send the system to logoff the current user.
A shutdown option "logoff" is missing in xbmc settings.
Also i tried to manipulate the blank screensaver but all i could find is the addon.xml
without any code to add logoff to.
Can someone make a Screensaver that sends a system.logoff or is it possible
to add logoff as shutdown option?
The reason i need that is that aeon mq 4 produces a cpu load of 22% while idle in
the main menu, i dont want to shutdown the system because its the server 3x2tb.
If i enter any option menu the load falls to 5% in main menu 22% in logon screen (profiles)
it has just around 0,5% cpu load. So thats why i need that
Maybe someone can assist to change the default.py of this screensaver to trigger system.logoff
instead of the desired screensaver?
What needs to be changed to run system.logoff instead of launching the scr gui?
#Qlock screensaver add-on by phil65
#credits to donabi & amet
__addon__ = xbmcaddon.Addon()
__addonid__ = __addon__.getAddonInfo('id')
__cwd__ = __addon__.getAddonInfo('path').decode("utf-8")
__resource__ = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib' ).encode("utf-8") ).decode("utf-8")
if __name__ == '__main__':
screensaver_gui = gui.Screensaver('script-python-qlock.xml', __cwd__, 'default')