Eun / DisableMonitor

Easily disable or enable a monitor on your Mac.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Locking screens (ctrl+shift+eject) the internal monitor returns

iangregsondev opened this issue · comments

commented

Hi,

I got it setup and everythign was working but once you lock the screen (ctrl+shift+eject) all screens dim, typing on the keyboard then the mac asks for a password (which is correct) but on the internal montior which was disabled.

Entering password returns all 3 monitors (internal, montor 1 and monitor 2) so it reactivates all 3 monitors to ON where as I had internal monitor set to OFF and rest to ON.

Thanks

I'm not experiencing the same troubles with login/logout but you can add a script to your login items that would disable to the correct monitors to the terminal. Just chmod +x startup.sh, toss it in Applications or whatever, and yeah. Figure out what the monitor is with /Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -l
then in your script
/Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -d /Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -l | grep [monitor]| sed 's|[A-Z-a-z]||g'