Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Automaticly disable monitor when another (specific) monitor is attached #13

Open
Eun opened this issue Dec 17, 2014 · 3 comments
Open
Assignees

Comments

@Eun
Copy link
Owner

Eun commented Dec 17, 2014

Disable a set of monitors when another monitor is attached.
For example: plugging in HDMI.

Status: Beta in G1.9

@Eun Eun self-assigned this Dec 17, 2014
@tayeke
Copy link

tayeke commented May 7, 2015

Possibly along these lines. It would be great if a disabled monitors state persisted on restart. Obviously would need to check that it isn't the ONLY monitor left just in case.
I have a media screen I want turned off by default while I'm working.

@retorquere
Copy link

ControlPlane + the command line could possibly do this, but the command line doesn't actually work for me. I have the following script:

#!/bin/bash

set -e

DM=/Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor
BUILTIN=69680128

PHL=`$DM -l | grep -v '^ ID' | grep -v '^--' | grep PHL`
if [ -z "$PHL" ] ; then
  $DM -e $BUILTIN
else
  $DM -d $BUILTIN
fi

(69680128 is my built-in laptop screen, the PHL is a USB docking station), but the enable/disable calls just hang.

@tayeke
Copy link

tayeke commented May 11, 2015

The calls also just hang for me.

Sent from my Google Nexus device.
On May 11, 2015 12:10 AM, "retorquere" notifications@github.com wrote:

ControlPlane + the command line could possibly do this, but the command
line doesn't actually work for me. I have the following script:

#!/bin/bash

set -e

DM=/Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor
BUILTIN=69680128

PHL=$DM -l | grep -v '^ ID' | grep -v '^--' | grep PHL
if [ -z "$PHL" ] ; then
$DM -e $BUILTIN
else
$DM -d $BUILTIN
fi

(69680128 is my built-in laptop screen, the PHL is a USB docking station),
but the enable/disable calls just hang.


Reply to this email directly or view it on GitHub
#13 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants