Re: [gpm] how to awake display from power down?



>Hmm. Do you want to mark your session as not idle? This seems a good use
>of the gnome-screensaver inhibit methods.

My caller id application is always running in the background, so inhibit
doesn't really express my intent.  My problem is that when an event
(phone call) fires, I need to see the displayed caller id info as soon
as possible so I can decide whether to answer.  I only have about four
rings, and I am often not switched to that display on the KVM, or across
the room from my desk, etc.  The extra time to wiggle the mouse and wait
for the display to power on is a significant fraction of the decision
time, amounting to maybe 1.5 seconds, before I need to pickup or the
call is rerouted to my cell phone and then voice mail.  I would like to
programmatically be awakening the display from power down as soon as I
know I will be sending an xmessage popup to the display, and thus shave
about 1.5 seconds off the reaction time.

Maybe you could point me to some way to simulate a mouse movement or a
key press?  Since I don't see any wakeup code in the power manager, I
presume something in the mouse/keyboard input stream hooks into the
kernel power management system.

The caller id script does a database lookup now, and I'll eventually
have it voice the information so the visual part will be less important,
but for now it can be a race to wake up the display and make the
decision in time.  [I work at home and filter out junk calls with this
application.]


Thanks!

Lester


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]