5 ms·
Using a mouse jiggler, as I'm on meetings most of the day, and inactivity timeout is 5m, so that while looking at the screen it'll lock up and takes almost a mi
by tracker1 2y ago
Using a mouse jiggler, as I'm on meetings most of the day, and inactivity timeout is 5m, so that while looking at the screen it'll lock up and takes almost a minute to come back up (external connection to docked, closed macbook). Mac just sucks at recovering with an external display and the laptop closed.
Not "pretending" anything... just one pain over another.
edit: For clarity, it's a relatively locked down system, and even then, I'm generally connected to a remote Windows based VM for working "inside" a secured and more locked down environment. I can't use a software solution for this.
- lancesells 2y agoMaybe this might help? https://www.caffeine-app.net https://www.caffeine-app.net
- accrual 2y agoI haven't used Caffeine but used the very similar app Amphetamine and found it worked great. https://apps.apple.com/us/app/amphetamine/id937984704?mt=12 https://apps.apple.com/us/app/amphetamine/id937984704?mt=12
- skunkworker 2y agomacOS has `caffeinate` built in as well. https://ss64.com/mac/caffeinate.html https://ss64.com/mac/caffeinate.html
- fingerlocks 2y agoThis will not show you as active. Teams and Slack and check the presence of HID events. If you have Xcode/swift installed you can script this instead: #!/usr/bin/swift import Foundation import AppKit let source = CGEventSource(stateID: CGEventSourceStateID.hidSystemState) CGEvent(keyboardEventSource: source, virtualKey: 0x37, keyDown: true)?.post(tap: .cghidEventTap) CGEvent(keyboardEventSource: source, virtualKey: 0x37, keyDown: false)?.post(tap: .cghidEventTap) This simulates one press/depress of the command key (0x37). The rest of the key codes can be found in Events.h in the location of your MacOS SDK library (deep in Xcode usually). Add it to a cron job or whatever.
- loco5niner 2y agoBut that isn't the goal. Keeping the computer from going to lock screen is.
- fingerlocks 2y agoThis will also do that. It has the same effect as tapping a key repeatedly
- mberger 2y agoOn Windows you can open windows media player and play a silent track on repeat.
- cm2187 2y agoOr if you can code, it's a simple flag an application can set to tell the OS it can't fire a screen saver (that flag the player uses). https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setthreadexecutionstate https://learn.microsoft.com/en-us/windows/win32/api/winbase/...
- AceyMan 2y agoOr, the ultimate zero-software solution ... just rest your mouse on top of a running analog wristwatch; bonus points if said watch is mechanical ::grin::
- deleted 2y ago[deleted]
- geuis 2y agoReally? I've had mine connected to 2 external monitors for years and it's always closed. I never have a problem getting it to wake back up. You can change the inactivity timeout settings under preferences. Should be under Displays or Power settings I think.
- tracker1 2y agoThe settings in question are locked down, and I don't have the ability to change them... I've had similar experiences with prior macs. In any case the hardware jiggler works. I shut it off when I am away/done... mostly just a "keep alive" method without having to install software. It could be the display device through the thunderbolt dock I'm using...
- pavel_lishin 2y agoI have a corner of my screen as the dedicated "do not turn on the screensaver" corner, and the rest as dedicated "screensaver NOW" corners. OS X supports this natively.