Switch all windows between main and secondary monitors
up vote
0
down vote
favorite
I'm looking for a way to take all the windows from the main monitor and move them to the secondary one, and simultaneously moving the windows from the secondary monitor to the main one.
I'm aware that Shift+Super+Arrow will move individual window to the right/left, but I'm looking for a one shot shortcut.
I'm using Ubuntu 18.10 with the default Gnome desktop.
Background
My monitors are set up in a way that the main monitor is right in front of me and the secondary is tilted to the side.
I often find myself researching something on the web and then going back to write code on my IDE while keeping the browser open on the other monitor.
So what happens is either I do the searches on the secondary monitor (with my head tilted to the monitor), and then resume normal position to write code, or (too often) I'm searching on the main monitor than continue to work on the code on the secondary monitor in an uncomfortable head position.
I'd like to have a way to quickly switch between them upon changing the main focus such that the main focus window will always be on the main monitor.
If such a thing is not currently possible, I'd love to hear some insight on where should I start in implementing such a feature.
Edit:
This thread seems to attempt to find a solution (3 years ago) using wmctrl.
But wmctrl is a buggy utility that produces inconsistent results.
shortcut-keys multiple-monitors
add a comment |
up vote
0
down vote
favorite
I'm looking for a way to take all the windows from the main monitor and move them to the secondary one, and simultaneously moving the windows from the secondary monitor to the main one.
I'm aware that Shift+Super+Arrow will move individual window to the right/left, but I'm looking for a one shot shortcut.
I'm using Ubuntu 18.10 with the default Gnome desktop.
Background
My monitors are set up in a way that the main monitor is right in front of me and the secondary is tilted to the side.
I often find myself researching something on the web and then going back to write code on my IDE while keeping the browser open on the other monitor.
So what happens is either I do the searches on the secondary monitor (with my head tilted to the monitor), and then resume normal position to write code, or (too often) I'm searching on the main monitor than continue to work on the code on the secondary monitor in an uncomfortable head position.
I'd like to have a way to quickly switch between them upon changing the main focus such that the main focus window will always be on the main monitor.
If such a thing is not currently possible, I'd love to hear some insight on where should I start in implementing such a feature.
Edit:
This thread seems to attempt to find a solution (3 years ago) using wmctrl.
But wmctrl is a buggy utility that produces inconsistent results.
shortcut-keys multiple-monitors
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm looking for a way to take all the windows from the main monitor and move them to the secondary one, and simultaneously moving the windows from the secondary monitor to the main one.
I'm aware that Shift+Super+Arrow will move individual window to the right/left, but I'm looking for a one shot shortcut.
I'm using Ubuntu 18.10 with the default Gnome desktop.
Background
My monitors are set up in a way that the main monitor is right in front of me and the secondary is tilted to the side.
I often find myself researching something on the web and then going back to write code on my IDE while keeping the browser open on the other monitor.
So what happens is either I do the searches on the secondary monitor (with my head tilted to the monitor), and then resume normal position to write code, or (too often) I'm searching on the main monitor than continue to work on the code on the secondary monitor in an uncomfortable head position.
I'd like to have a way to quickly switch between them upon changing the main focus such that the main focus window will always be on the main monitor.
If such a thing is not currently possible, I'd love to hear some insight on where should I start in implementing such a feature.
Edit:
This thread seems to attempt to find a solution (3 years ago) using wmctrl.
But wmctrl is a buggy utility that produces inconsistent results.
shortcut-keys multiple-monitors
I'm looking for a way to take all the windows from the main monitor and move them to the secondary one, and simultaneously moving the windows from the secondary monitor to the main one.
I'm aware that Shift+Super+Arrow will move individual window to the right/left, but I'm looking for a one shot shortcut.
I'm using Ubuntu 18.10 with the default Gnome desktop.
Background
My monitors are set up in a way that the main monitor is right in front of me and the secondary is tilted to the side.
I often find myself researching something on the web and then going back to write code on my IDE while keeping the browser open on the other monitor.
So what happens is either I do the searches on the secondary monitor (with my head tilted to the monitor), and then resume normal position to write code, or (too often) I'm searching on the main monitor than continue to work on the code on the secondary monitor in an uncomfortable head position.
I'd like to have a way to quickly switch between them upon changing the main focus such that the main focus window will always be on the main monitor.
If such a thing is not currently possible, I'd love to hear some insight on where should I start in implementing such a feature.
Edit:
This thread seems to attempt to find a solution (3 years ago) using wmctrl.
But wmctrl is a buggy utility that produces inconsistent results.
shortcut-keys multiple-monitors
shortcut-keys multiple-monitors
edited Nov 22 at 12:52
asked Nov 22 at 11:11
Liran Funaro
1014
1014
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2faskubuntu.com%2fquestions%2f1095073%2fswitch-all-windows-between-main-and-secondary-monitors%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