fcanas / mirror-displays Goto Github PK
View Code? Open in Web Editor NEWA Mac app and command-line tool for fiddling with display mirroring: on/off/toggle
A Mac app and command-line tool for fiddling with display mirroring: on/off/toggle
Love the app functionality however it does not seem to work with 10.11 or 10.12. The past behavior of the toggle function not working is back. I am running both 10.11 and 10.12 on separate machines, both with 1 additional display. The app starts mirroring but it will not turn off. Querying the mirroring state while the displays are mirrored shows that mirroring is off. Thanks!
Just found this awesome project and find that it can turn mirroring on in Yosemite, but not off. Any plans to update?
I note that there was a commit about 2 years ago with the comment "Bump version to 1.1". But when I download the command-line tool from http://fabiancanas.com/open-source/mirror-displays it report version 1.02.
I'd like to mirror my laptop screen to my larger external monitor (when I'm using the larger monitor for a different computer), but I cannot get mirrordisplays to do so. These two commands have the exact same result (mirroring the external monitor to the Retina laptop screen, resulting in tiny text on the laptop):
mirror -l 0 1
mirror -l 1 0
Is this behavior expected? If it can be fixed, is there a way of changing the default behavior when running the app (from e.g. Sherlock).
I'm running 10.14.6, if that matters.
Hey,
is there any chance to distribute binary for the Catalina? I really don't want to install the Xcode just to build this small utility.
Thanks.
Could you please explain more on how to run:
mirror -l A B
How can I get my display indexes?
Line 163 in 06b9e20
Maybe you should use "secondaryDisplayIndex" as count?
Similar to the Yosemite issue, while I can get mirroring to turn on using the command line commands (-on and -t) I cannot get mirroring to turn off and return to extended display mode (-off or -t)
Trying to install on a new MacMini 2023. My first Apple Silicon machine.
Thank you
john@Mac-mini ~ % brew install fcanas/tap/mirror-displays
==> Tapping fcanas/tap
Cloning into '/opt/homebrew/Library/Taps/fcanas/homebrew-tap'...
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 48 (delta 10), reused 3 (delta 3), pack-reused 31
Receiving objects: 100% (48/48), 8.26 KiB | 4.13 MiB/s, done.
Resolving deltas: 100% (15/15), done.
Tapped 5 formulae (19 files, 20KB).
==> Fetching fcanas/tap/mirror-displays
==> Downloading https://github.com/fcanas/mirror-displays/releases/download/v1.2/mirror.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/1603
############################################################################################### 100.0%
==> Installing mirror-displays from fcanas/tap
==> Downloading https://formulae.brew.sh/api/formula.jws.json
############################################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
############################################################################################### 100.0%
🍺 /opt/homebrew/Cellar/mirror-displays/1.2: 3 files, 15.0KB, built in 2 seconds
==> Running `brew cleanup mirror-displays`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
john@Mac-mini ~ % mirror
zsh: bad CPU type in executable: mirror
On OS X Big Sur 11.6 it seems to be unable to get discovered via Spotlight, nor is the terminal version recognized.
It is in the Applications folder and clicking it does function as expected but this still is quite cumbursome to use.
Your utility has been mentioned in several places as a way to restore functionality to an issue with displayplacer. I would like to use automator to run mirror-displays to turn off mirroring but I am unable to understand how to find the correct path. I have tried the following in automator: 1. select run shell script 2. change shell to bin/bash 3. add the following /usr/local/bin/mirror -off
I get the following: The action “Run Shell Script” encountered an error: “-: /usr/local/bin/mirror: No such file or directory”
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.