LinHES Forums http://forum.linhes.org/ |
|
xscreensaver ignores lirc- and how to fix it! http://forum.linhes.org/viewtopic.php?f=17&t=16921 |
Page 1 of 1 |
Author: | graysky [ Tue Oct 09, 2007 11:12 pm ] |
Post subject: | xscreensaver ignores lirc- and how to fix it! |
EDIT: this issue is now resloved, scroll down to see how and thanks to kirk! It seems like if I don't use my hauppauge gray remote (the one that came with my pvr-250) before xscreensaver turns on, input from lirc is ignored by xscreensaver. In other words, the screensaver won't 'wake up' by any button on my grey remote. It doesn't matter if the box is idle at a menu, or watching a show. For example, I just booted the mythtv box and left it idle for a while. I switched on my TV and found the phosphors screensaver running. I couldn't break out of it with any button on my gray remote. I did end it via a spacebar on the keyboard. After watching a captured show for the specified period of time, it again kicked on -- while the show was playing -- and again I couldn't break out of it. I wonder if input from lirc HAS to occur prior to the screensaving starting. I just did a pkill xinit and began to use the box via the remote and it's behaving normally. I'm running a more or less unmodified R5F27. Anyone have any thoughts on this or can anyone reproduce this on their box? My ~/.fluxbox/apps Code: [startup] {xset -dpms s off}
[startup] {xscreensaver} [startup] {gnome-volume-manager} [startup] {/usr/bin/x11vnc -nap -wait 50 -passwd mythtv -display :0 -forever -o$ [startup] {xvattr -a XV_COLORKEY -v 0} [startup] {mythfrontend} [app] (SDL_App) [Layer] {2} [Deco] {NONE} [end] |
Author: | graysky [ Thu Oct 11, 2007 1:43 pm ] |
Post subject: | |
Are the no replies due to a lack of knowledge, interest, or because am I doing something obviously wrong? |
Author: | khrusher [ Thu Oct 11, 2007 2:25 pm ] |
Post subject: | |
I dont use xscreensaver. If I recall there may have been some work a bit ago that would check to see if the frontend was doing anything prior to running the screen saver. That will help stop it from running mid-show. It will not however help break the save via the remote. |
Author: | graysky [ Thu Oct 11, 2007 3:15 pm ] |
Post subject: | |
I think I figured it out... at least what is causing the problem. After googling around for a while, it seems that xscreensaver has to load BEFORE mythfrontend loads. If I sit and watch my mythbox load up, I don't see the splash screen for xscreensaver on a freshboot. If however, I issue a Code: $ pkill xinit do see the xscreensaver splash screen and it does respond to lirc commands.
The question before the group is, why isn't this happening on a freshboot? If you look at my ~/.fluxbox/apps shown in the 1st post of this thread, xscreensaver should start before the frontend. Is there a way I can build a delay into the sequence some how? In other words, after xscreensaver loads, how can I make the box wait say 5 or 10 seconds before loading up mythfrontend? Thanks all! |
Author: | Kirk [ Thu Oct 11, 2007 6:03 pm ] |
Post subject: | |
graysky wrote: Is there a way I can build a delay into the sequence some how? In other words, after xscreensaver loads, how can I make the box wait say 5 or 10 seconds before loading up mythfrontend?
How about making a wrapper script called, say, /usr/bin/delay_mythfrontend.sh Code: #!/bin/sh
sleep 10s mythfrontend Modify your apps file to point to the script. Regards, Kirk. |
Author: | graysky [ Fri Oct 12, 2007 12:53 pm ] |
Post subject: | |
Sounds like a cool idea. I'll give it a shot and report back. Thanks! |
Author: | graysky [ Fri Oct 12, 2007 3:22 pm ] |
Post subject: | |
Thanks dude... that little script did the trick (w/ a 5 sec delay). Seems to be enough time for the screensaver to initialize or whatever it needs to do. Thanks again! I might copy/paste into my HOWTO install xscreensaver. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |