![]() |
|
[SOLVED] Preventing system sleep when using Advanced Launcher - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111) +---- Forum: Linux and Live support (/forumdisplay.php?fid=52) +---- Thread: [SOLVED] Preventing system sleep when using Advanced Launcher (/showthread.php?tid=131392) |
[SOLVED] Preventing system sleep when using Advanced Launcher - deadwolfbones - 2012-05-12 19:32 Hey guys, Kind of a weird one... I have no problems with video playback when watching things inside of XBMCbuntu. However, I set up Advanced Launcher (per this guide) to launch a full-screen Chromium browser window so I can watch flash-based streaming sites (ESPN3, SPEED2, etc) that don't have great plugin support in XBMC. Everything works fluidly, except that after about 10 minutes my receiver loses its HDMI connection with the HTPC. At first, I only noticed this happening while watching full-screen video, and I found that if I hit ESC to exit the full-screen video mode, the HDMI connection was immediately re-established. Then, I left the Chromium window open on a random website, with no video playing, and walked away. About 10 minutes later, it lost its HDMI connection again. So, I'm assuming this has nothing to do with video playback and is instead some general setting somewhere in LXDE. Anyone have any ideas as to what might be causing it? RE: Losing HDMI connection when using Chromium launched from within XBMCbuntu - wsnipex - 2012-05-12 20:20 maybe xbmcs screensaver/powersaving? RE: Losing HDMI connection when using Chromium launched from within XBMCbuntu - deadwolfbones - 2012-05-12 20:27 I have XBMC set to turn off the display after 60 minutes idle, but this is definitely happening much, much sooner. Could be the screensaver, I'll look into that. RE: Losing HDMI connection when using Chromium launched from within XBMCbuntu - Angelscry - 2012-05-12 21:02 (2012-05-12 20:27)deadwolfbones Wrote: I have XBMC set to turn off the display after 60 minutes idle, but this is definitely happening much, much sooner. Could be the screensaver, I'll look into that.You will found here a way to disable system sleep : http://forum.xbmc.org/showthread.php?tid=128329&pid=1073943#pid1073943 RE: Losing HDMI connection when using Chromium launched from within XBMCbuntu - deadwolfbones - 2012-05-12 21:31 Thanks, that's potentially quite helpful. RE: Losing HDMI connection when using Chromium launched from within XBMCbuntu - Plaguester - 2012-05-13 01:45 It's actually better to just turn it off in your script that launches your application: See this post. That way the screensaver or screenblank and other DPMS functions will behave normally when your script finishes. RE: Losing HDMI connection when using Chromium launched from within XBMCbuntu - deadwolfbones - 2012-05-13 02:01 Thanks, I'll give it a try. Does your solution have exactly the same effect for my purposes (preventing X from going to sleep)? RE: Losing HDMI connection when using Chromium launched from within XBMCbuntu - Plaguester - 2012-05-13 02:08 Yup. "xset s off" turns the screensaver off and "xset -dpms" prevents X from going into any of the power saving modes (standby, suspend, hibernate, etc). I use it for SNES emulation because X doesn't count gamepad input as input. Just put the rest of your launch script in place of the zsnes line in the example. RE: Losing HDMI connection when using Chromium launched from within XBMCbuntu - deadwolfbones - 2012-05-13 23:20 Yep, this worked great. Thanks so much! |