View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Oct 09, 2007 11:12 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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]

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Last edited by graysky on Sat Oct 13, 2007 3:17 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 11, 2007 1:43 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Are the no replies due to a lack of knowledge, interest, or because am I doing something obviously wrong?

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 11, 2007 2:25 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
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.

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 11, 2007 3:15 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 11, 2007 6:03 pm 
Offline
Joined: Mon Mar 13, 2006 2:28 am
Posts: 143
Location: Brisbane, Australia
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.

_________________
MBE/FE ~ R5F27 ~ Asus A8N-VM-CSM ~ AMD64 3500+ ~ 1GB RAM ~ 1.5TB Storage ~ Nova-T-500 ~ SH-S183A DVDRW ~ LC20M Case ~ iMON-Pad Remote
FE ~ Diskless ~ Asus M2NPV-VM ~ AMD X2 BE-2350 (45w) ~ 1GB RAM ~ TT Lanbox Lite ~ iMON-Pad Remote


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 12, 2007 12:53 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Sounds like a cool idea. I'll give it a shot and report back. Thanks!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 12, 2007 3:22 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu