2013-09-22, 15:35
Hi,
like explained here:
http://forum.xbmc.org/showthread.php?tid...pid1511987
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
EDIT:
Maybe someone can assist to change the default.py of this screensaver to trigger system.logoff
instead of the desired screensaver?
http://mirrors.xbmc.org/addons/frodo/scr...-0.0.2.zip
What needs to be changed to run system.logoff instead of launching the scr gui?
Greetz X23
like explained here:
http://forum.xbmc.org/showthread.php?tid...pid1511987
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
EDIT:
Maybe someone can assist to change the default.py of this screensaver to trigger system.logoff
instead of the desired screensaver?
http://mirrors.xbmc.org/addons/frodo/scr...-0.0.2.zip
What needs to be changed to run system.logoff instead of launching the scr gui?
Code:
#Qlock screensaver add-on by phil65
#credits to donabi & amet
import sys
import xbmcaddon
__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")
sys.path.append(__resource__)
if __name__ == '__main__':
import gui
screensaver_gui = gui.Screensaver('script-python-qlock.xml', __cwd__, 'default')
screensaver_gui.doModal()
del screensaver_gui
sys.modules.clear()
Greetz X23