-
Notifications
You must be signed in to change notification settings - Fork 39
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
Feature request: keybindings to move windows between monitors #23
Comments
Hello @prosoitos, It sounds like a system configuration. For instance, tiling window managers like i3wm manage their workspaces and layers placement regarding the monitors. Please, could you specify your distribution ? |
I am on Arch Linux (4.15.15-1-ARCH). I did look into setting this in the openbox config but did not find any documentation on it. It might be totally possible and it could just be my ignorance though. It certainly would be nice to be able to set a default config, either on the openbox settings or as suggested by #21. That said, while on non linux OS, I used softwares that allowed to quickly move a window between monitors; and on my current system, it is very easy to move windows between desktops. So I thought that maybe it was something implementable with |
Note that, once I am set, extended mode does what I would expect (e.g. in a presentation, etc.). My "problem" is only when getting started: running As a side note, I am really thankful that the daemon mode with |
I've well understood your need.
Have you tried wmctrl ? It is for EWMH compliant window manager like openbox.
Please, could you give me a screenshot ? |
Thank you so much @Ventto for your time! 🙂 I do have Screenshots: My 2nd monitor (let's call it m2) is above my primary (laptop) monitor (m1). So I use When I unplug m2, windows in full screen on m2 "land" nicely on m1 (in full screen) and windows which already were on m1 in full screen remain on m1 in full screen. So this works great. Windows which were on m2 not in full screen land a little low on m1 (see the upper terminal on the screenshot: it was centered on m2 but isn't on m1. I have to say that both my monitors have different shapes though and m2 is longer than m1. So, had I have 2 monitors with the same length/width ratios, it might work nicely). But what doesn't work well at all is windows not in full screen which were already on m1. These get thrown down so that only their very top remains visible (see lower terminal on screenshot). So they are thrown down "as if" they were on m2 while they already were on m1... The daemon which should leave them alone is acting on them. Issues when unplugging monitor 2Full screen windows: Non full screen window thrown from monitor 2 to monitor 1 (see upper terminal window) Non full screen window already in monitor 1 (see lower terminal window) And another example here Issue when launching monitor 2
Window after getting into extended mode (some times only) |
Correction: I had in fact tried |
Thanks @prosoitos. |
It is hard to get the idea without reading the information. Screenshot picture titles only don't do it. But I tried to add some formatting to make it more clear and readable. (And sorry for writing so much). Thanks. |
Thanks @prosoitos. I got it. What about your DPI at boot with your native monitor ?
$ xdpyinfo | grep resolution
resolution: 96x96 dots per inch Have you tried to run xrandr command lines manually ? Same issue with another window manager ? |
Up ? |
My apologies for the slow response. I have been caught in other things and away from my 2nd monitor lately. I will get back to your questions very soon now. Thank you! and sorry about that. |
I think that I will abandon openbox for exwm, which will solve my problem. I will see how that works. Either way, I am abandoning trying to solve this. If I go back to using mons and openbox at some point, I will keep moving windows manually the tedious way. |
Fell free to come back. |
Thanks! I am very happy with exwm, so definitely settling on this. And it is easy to set xrandr directly with exwm. |
Thank you very much for mons. I use it daily.
There may already be something that I missed, or it might be hard to implement within mons, but it would be amazing if a keybinding could easily move windows between monitors. When I get into extended mode, all of my windows are thrown to the second monitor and I need to move some of them back to my primary monitor. For some of them, it is quite easy, for others, that I configured in full screen and without decoration, it is a little tedious. Unplugging the 2nd monitor, however briefly to move somewhere (my primary monitor is a laptop), and replugging it requires to do this exercise all over again.
Note that I also really like the feature request #21 and if it becomes implemented, I guess that being able to switch windows easily won't be as critical as I wouldn't have to redo it each time.
Thank you!!!
The text was updated successfully, but these errors were encountered: