Change Main Display via Keyboard Shortcut or command line in Mac OS XLaunch shell scripts via keyboard...
Should we avoid writing fiction about historical events without extensive research?
“I had a flat in the centre of town, but I didn’t like living there, so …”
Why would the IRS ask for birth certificates or even audit a small tax return?
Are small insurances worth it
Did Amazon pay $0 in taxes last year?
Four buttons on a table
Why did the Cray-1 have 8 parity bits per word?
How to merge row in the first column in LaTeX
Inconsistent behaviour between dict.values() and dict.keys() equality in Python 3.x and Python 2.7
Plagiarism of code by other PhD student
Is there a full canon version of Tyrion's jackass/honeycomb joke?
Is there a frame of reference in which I was born before I was conceived?
What is a term for a function that when called repeatedly, has the same effect as calling once?
PTIJ: Aharon, King of Egypt
Is there a way to find out the age of climbing ropes?
When to use mean vs median
Can I cast a spell through the Invoke Duplicity clone while inside a Forcecage?
Can I solder 12/2 Romex to extend wire 5 ft?
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
Must 40/100G uplink ports on a 10G switch be connected to another switch?
Are there other characters in the Star Wars universe who had damaged bodies and needed to wear an outfit like Darth Vader?
Can an earth elemental drown/bury its opponent underground using earth glide?
Meaning of word ягоза
Make me a metasequence
Change Main Display via Keyboard Shortcut or command line in Mac OS X
Launch shell scripts via keyboard shortcut in Mac OS XKeyboard Shortcut for Mirroring Display on Mac OS XCreate global keyboard shortcut to delete entire line on MacWhat would cause ripple interference on a monitor display attached to computer via VGA?Duplicating a scaled version of one display's output on another in Windows 7Disable main mac screen to use secondary as main displayMulti-monitor set-up: Prevent OSX from changing main displays when switching HDMI inputUpgraded to Retina MacBook Pro and now text on my external display is “haloed”How can I permanently change the main display on a dual display setup in Ubuntu?PC to projector HDMI handshake issue
I am using OS X 10.11.3 (15D21) with one monitor and one projector.
Mirroring is turned off.
Mac OS X has an option to switch the main display (the display that has the upper menu) via the System Preferences, as depicted in the attached screenshot:
Basically to switch one drags the little menu bar from one side to the other.
My question is: Is there a way to accomplish this switch via the keyboard or better yet as a command from the Terminal?
macos mac multiple-monitors keyboard-shortcuts
add a comment |
I am using OS X 10.11.3 (15D21) with one monitor and one projector.
Mirroring is turned off.
Mac OS X has an option to switch the main display (the display that has the upper menu) via the System Preferences, as depicted in the attached screenshot:
Basically to switch one drags the little menu bar from one side to the other.
My question is: Is there a way to accomplish this switch via the keyboard or better yet as a command from the Terminal?
macos mac multiple-monitors keyboard-shortcuts
What is your goal? To have the dock on both screens?
– Simon Sheehan
Jul 11 '16 at 3:24
My goal is to switch the "main" display (the one that has all the windows I've been working with).
– PPR
Jul 12 '16 at 10:19
What you want is to keybind that. look in the keyboard settings and under hotkeys select the display management app and set a keybinding to it and save.
– linuxdev2013
Jul 15 '16 at 13:52
add a comment |
I am using OS X 10.11.3 (15D21) with one monitor and one projector.
Mirroring is turned off.
Mac OS X has an option to switch the main display (the display that has the upper menu) via the System Preferences, as depicted in the attached screenshot:
Basically to switch one drags the little menu bar from one side to the other.
My question is: Is there a way to accomplish this switch via the keyboard or better yet as a command from the Terminal?
macos mac multiple-monitors keyboard-shortcuts
I am using OS X 10.11.3 (15D21) with one monitor and one projector.
Mirroring is turned off.
Mac OS X has an option to switch the main display (the display that has the upper menu) via the System Preferences, as depicted in the attached screenshot:
Basically to switch one drags the little menu bar from one side to the other.
My question is: Is there a way to accomplish this switch via the keyboard or better yet as a command from the Terminal?
macos mac multiple-monitors keyboard-shortcuts
macos mac multiple-monitors keyboard-shortcuts
asked Jul 10 '16 at 23:19
PPRPPR
1063
1063
What is your goal? To have the dock on both screens?
– Simon Sheehan
Jul 11 '16 at 3:24
My goal is to switch the "main" display (the one that has all the windows I've been working with).
– PPR
Jul 12 '16 at 10:19
What you want is to keybind that. look in the keyboard settings and under hotkeys select the display management app and set a keybinding to it and save.
– linuxdev2013
Jul 15 '16 at 13:52
add a comment |
What is your goal? To have the dock on both screens?
– Simon Sheehan
Jul 11 '16 at 3:24
My goal is to switch the "main" display (the one that has all the windows I've been working with).
– PPR
Jul 12 '16 at 10:19
What you want is to keybind that. look in the keyboard settings and under hotkeys select the display management app and set a keybinding to it and save.
– linuxdev2013
Jul 15 '16 at 13:52
What is your goal? To have the dock on both screens?
– Simon Sheehan
Jul 11 '16 at 3:24
What is your goal? To have the dock on both screens?
– Simon Sheehan
Jul 11 '16 at 3:24
My goal is to switch the "main" display (the one that has all the windows I've been working with).
– PPR
Jul 12 '16 at 10:19
My goal is to switch the "main" display (the one that has all the windows I've been working with).
– PPR
Jul 12 '16 at 10:19
What you want is to keybind that. look in the keyboard settings and under hotkeys select the display management app and set a keybinding to it and save.
– linuxdev2013
Jul 15 '16 at 13:52
What you want is to keybind that. look in the keyboard settings and under hotkeys select the display management app and set a keybinding to it and save.
– linuxdev2013
Jul 15 '16 at 13:52
add a comment |
1 Answer
1
active
oldest
votes
hmscreens work great. Here's a sample command line to swap monitors:
hmscreens -setMainID `hmscreens -info | grep "Screen ID:" | head -2 | tail -1 | sed 's/[^0-9]*//g'`
New contributor
Steve C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1099253%2fchange-main-display-via-keyboard-shortcut-or-command-line-in-mac-os-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
hmscreens work great. Here's a sample command line to swap monitors:
hmscreens -setMainID `hmscreens -info | grep "Screen ID:" | head -2 | tail -1 | sed 's/[^0-9]*//g'`
New contributor
Steve C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
hmscreens work great. Here's a sample command line to swap monitors:
hmscreens -setMainID `hmscreens -info | grep "Screen ID:" | head -2 | tail -1 | sed 's/[^0-9]*//g'`
New contributor
Steve C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
hmscreens work great. Here's a sample command line to swap monitors:
hmscreens -setMainID `hmscreens -info | grep "Screen ID:" | head -2 | tail -1 | sed 's/[^0-9]*//g'`
New contributor
Steve C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
hmscreens work great. Here's a sample command line to swap monitors:
hmscreens -setMainID `hmscreens -info | grep "Screen ID:" | head -2 | tail -1 | sed 's/[^0-9]*//g'`
New contributor
Steve C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited yesterday
Worthwelle
2,80531325
2,80531325
New contributor
Steve C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered yesterday
Steve CSteve C
1
1
New contributor
Steve C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Steve C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Steve C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1099253%2fchange-main-display-via-keyboard-shortcut-or-command-line-in-mac-os-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What is your goal? To have the dock on both screens?
– Simon Sheehan
Jul 11 '16 at 3:24
My goal is to switch the "main" display (the one that has all the windows I've been working with).
– PPR
Jul 12 '16 at 10:19
What you want is to keybind that. look in the keyboard settings and under hotkeys select the display management app and set a keybinding to it and save.
– linuxdev2013
Jul 15 '16 at 13:52