00:00:00
Ready
1
Click Start
← Press the green button to keep your screen awake and browser active.
2
Run Mouse Jiggler
Required
Teams checks your OS for real mouse/keyboard input. Paste this in Terminal/PowerShell:
while true; do osascript -e 'tell application "System Events" to key code 56'; sleep 240; done
Add-Type -AssemblyName System.Windows.Forms; while($true){ $p = [System.Windows.Forms.Cursor]::Position; [System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point(($p.X+1), $p.Y); Start-Sleep -Milliseconds 100; [System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point(($p.X), $p.Y); Start-Sleep -Seconds 240 }
while true; do xdotool mousemove_relative -- 1 0; sleep 0.1; xdotool mousemove_relative -- -1 0; sleep 240; done
To stop: press Ctrl+C in the terminal.
3
Prevent Sleep
Recommended
If your computer sleeps, Teams goes yellow. Run this in a second terminal tab:
caffeinate -di
while($true){ $w = New-Object -ComObject WScript.Shell; $w.SendKeys('{SCROLLLOCK}'); Start-Sleep 60 }
xset s off -dpms
To stop: press Ctrl+C. Windows alternative: Settings → Power & Sleep → set to Never. Linux re-enable:
xset s on +dpms