Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help Creating Automation #13

Open
tdmoreno opened this issue Mar 20, 2023 · 1 comment
Open

Help Creating Automation #13

tdmoreno opened this issue Mar 20, 2023 · 1 comment

Comments

@tdmoreno
Copy link

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”

@tdmoreno
Copy link
Author

So I guess I should have tried to read more before posting. A simple google search about how to find path to command line utility returned many results and pointed me to the whereis command so "whereis mirror" returned the following:
/opt/homebrew/bin/mirror
I then added the command to follow
/opt/homebrew/bin/mirror/ mirror -off
This is working for me so maybe it will be helpful to others.

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

No branches or pull requests

1 participant