Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #583169
| From | Jeff-Relf.Me @. |
|---|---|
| Message-ID | <Jeff-Relf.Me@May.24--10.23am.Seattle.2021> (permalink) |
| References | <Jeff-Relf.Me@May.17--9.49pm.Seattle.2021> <Jeff-Relf.Me@May.23--10.41pm.Seattle.2021> <hUPqI.209834$sd3.30625@fx02.iad> |
| Newsgroups | comp.os.linux.advocacy |
| Subject | A mouse button toggles my "Video Signal" Off&On. |
| Organization | blocknews - www.blocknews.net |
| Date | 2021-05-24 10:23 -0700 |
You (DFS) asked me:
> Your program uses monitor on-off as a proxy for awake-sleep ?
Yes, the only reason I'd ever be "off-line" ( sans "Video Signal" )
for 5+ hours would be if I was sleeping.
Also, "8:34 HrNights" & "12:53 HrsOnLine" are "means"
( from the middle of a sorted list ) not averages,
thus eliminating odd deviations.
SleepPat's "day" begins at 8am, not 12am.
My "day" should begin as predicted, e.g. "8:59pm WakeUp";
when it doesn't, it means people are waking me up,
& I don't consider it a "Sunday"
( notionally, 3 DaysOff/Week but bunched together ).
Also, I predict when my day might begin at 8am ( once again ).
http://Jeff-Relf.Me/SleepPat.PNG
When calculating the difference between two timestamps*,
I consider the DaylightSavingsTime at both times.
[ *: // e.g. YРʝɧ - YПтП, Seconds since the start of 1970, base 360.
typedef unsigned __int64 u64 ; u64 Seconds ;
localtime( ( time_t * ) &Seconds ); ]
> How do you capture the state of your monitor ?
Sadly, I don't/can't.
A mouse button toggles my "Video Signal" Off&On.
http://Jeff-Relf.Me/MouseKeyboardLayout.PNG
Because the monitor gives me the annoyingly bright "No Signal"
message whenever the mouse is moved, I manually turn it Off&On;
sadly, there's no alternative, as far as I know.
"X.EXE" handles the "global hotkey" event from the mouseclick,
recording the time the "Video Signal" was turned Off|On.
See: "KeepMonOff" & "WM == WM_HOTKEY && C == 'M'"
in "X.CPP" in "http://Jeff-Relf.Me/X.ZIP".
"SleepPat()" ( in "X.CPP" ) guarantees the integrity
( including the length ) of the log files,
alerting me when problems arise.
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
There are a lot of "Sundays" in my week. Jeff-Relf.Me @. - 2021-05-17 21:49 -0700
Seattle is a veritable slumlord. Jeff-Relf.Me @. - 2021-05-18 17:44 -0700
I blame the "pigeon" feeders (Moroney), not the pigeons (them). Jeff-Relf.Me @. - 2021-05-18 22:42 -0700
Re: I blame the "pigeon" feeders (Moroney), not the pigeons (them). DFS <nospam@dfs.com> - 2021-05-19 10:34 -0400
I don't like taking photos. Jeff-Relf.Me @. - 2021-05-19 15:35 -0700
Re: I blame the "pigeon" feeders (Moroney), not the pigeons (them). chrisv <chrisv@nospam.invalid> - 2021-05-19 14:17 -0500
Your bathroom smells worse. Jeff-Relf.Me @. - 2021-05-19 14:29 -0700
Re: Your bathroom smells worse. chrisv <chrisv@nospam.invalid> - 2021-05-19 17:51 -0500
Hawaii Kawaii. Jeff-Relf.Me @. - 2021-05-19 16:42 -0700
Skipping to the parts I like. Jeff-Relf.Me @. - 2021-05-19 17:48 -0700
23 Days from now, I'll probably wake up at 8am. Jeff-Relf.Me @. - 2021-05-23 22:41 -0700
Re: 23 Days from now, I'll probably wake up at 8am. DFS <nospam@dfs.com> - 2021-05-24 11:47 -0400
A mouse button toggles my "Video Signal" Off&On. Jeff-Relf.Me @. - 2021-05-24 10:23 -0700
40 days & nights. Jeff-Relf.Me @. - 2021-05-30 17:42 -0700
csiph-web