-
Notifications
You must be signed in to change notification settings - Fork 24
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
Multi Monitor Support #5
Comments
Hows it going here? |
I haven't made any progress really - been super busy and wasn't sure if this was still a requested feature. I've bought a second monitor, so I can start to work on this soon. I still need to work out how to represent workspaces - does each monitor have its own set of workspaces or is a monitor classed as a single workspace? |
I would LOVE to be able to do any! So that I could say: Monitor 1+2, please display workspace 1, and monitor 3, please display workspace 2. The usecase is (for me) pretty obvious: |
Having relative sizing for workspaces on different sized monitors would be killer. Also restoring groups workspaces to specific monitors when they are plugged in would make me install arch on my MacBook! |
May I give another ping here? I'm looking forward to this feature. |
I've researched this a bit more, but not put together any code yet - work has been busy. I think it is best to not support Xinerama and instead only support Xrandr - Xinerama seems to be legacy stuff now. |
I've finally got some time and have started working on this. My idea is to convert
Then we can move on to getting multi monitor support working:
I'm sure there are some other things I am missing... |
I've nearly got the basis of this working for a single monitor - the next release of howm will make use of the monitor structure. Unfortunately my laptop's bootloader has exploded and the code is on my laptop, so I need to recover it from there... Once that is done, I'll dig into the xrandr stuff so that multiple monitors will work. |
@HarveyHunt thanks for the update! |
Just done it, the multi monitor work is going to be in the |
I've made some more progress - Multi monitor support isn't far off now, just a matter of time. Work is super busy right now, so progress will be slow for a little while. :-) |
Thanks for the hint! I'm trying to understand the tools you're using in your howm example setup. I'm fairly new to arch and full control setups. :) |
By the way I can give you some code how to detect monitor changes with xrandr. Basically it will keep executing xrandr and then grep which ports are connected and compare them to the latest iterarion. |
@Anachron that sounds useful - thanks. |
Looks like you are making good progress! |
Progress has been good - adding and removing workspaces dynamically works and howm can now recognise XRandR outputs and treat them as monitors. I need to do some more testing and handle focusing a monitor, but there isn't much left to do now. :-) |
Things are coming along well now - I hope to test out multi monitor stuff tomorrow. Then I have a horrible rebase to do. :-( |
Well, there is no rebase I experienced which was not horrible. 👍 |
Hey Harvey, is there still any Todo left here? |
The only TODO in the code is here. It would also be nice to add dynamic plug/unplug support for monitors, moving windows between monitors and merging monitor contents. |
I would agree with all except last. What would merging do exactly? |
The idea is that you can merge all of the windows from one monitor onto another. The user could do it explicitly, or howm could do it automatically as part of removing a monitor. |
Yes I got that, but if you have three monitors and remove one, on which way will it decide which desktop gets which clients? Since I have multiple monitors and can plugin/unplug at any time, this feature is quite important for me. |
This has been requested by a lot of people and is something that should be added in the future.
The text was updated successfully, but these errors were encountered: