What window managers can be configured to have desktops independent of monitors?
After a few months in dwm I started looking around for something more configurable, but haven't really found a window manager that works the same way regarding multiple desktops.
In dwm I can have deskops 1-9 on one monitor, and independently manage 1-9 on another monitor. I like this approach because I usually have at least 5 desktops in use on my main monitor (sometimes more), and a few other desktops on a secondary monitor.
Now the way i3, xmonad and bspwm seem to work is that desktops are independent of monitors, leading to things like 1-5 on main monitor, 6-9 on a secondary monitor. I haven't really found a way to make i3 and bspwm behave like dwm in this regard.
Am I missing something, or is this a principle that's hard coded deep in the window manager? Are there others that work the same way as dwm does with regards to multi-montior, while allowing for easier/more flexible configuration?
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 5ztmlc
7 comments
The Arch wiki has a comparison of tiling window managers including the multi monitor behavior for some of them. https://wiki.archlinux.org/index.php/Comparison_of_tiling_window_managers
Have you tried awesome ?
Not yet, I don't know how I overlooked it. Thanks for the mention.
Not sure i quite understand your requirement. But for bspwm and herbstluftwm it is simply a matter of scripting the behaviour to raise the desktop in question on the desired monitor -- which can be done in a myriad number of ways dependent on which monitor has focus, what desktops are currently visible, etc. e.g. in herbstluftwm if I raise a desktop on monitor A and it is visible on monitor B, the desktops on A and B effectively swapped which is just an arbitrary rule I have implemented. Obviously, raising a hidden desktop on monitor A, does not affect monitor B. bspwm was originally inspired by herbstluftwm so I am not sure if by default desktops are tied to monitors but scripting allows me to make herbstluftwm pretty much dance to whatever tune I desire. My desktops are not bound to any particular monitor in my multihead setup.
I think you understood my requirement backwards. I don't want to raise a desktop onto a particular monitor, but rather to have desktops pinned to monitors without the ability to move them around.
From what I've seen in bspwm docs, the idea is that I'd define which desktops go onto which monitors. Then one would bind hotkeys to switch to a particular desktop, which would be monitor independent.
The wiki shows an example of this, creating desktops on each monitor separately
In contrast, in dwm I can think in terms of monitors each having their own "instance" of the whole set of desktops. I can move programs between monitors, but I can't do the "swap two monitors around" or "show desktop X on my current monitor" kind of thing. This is the behavior I want to avoid, but it is exactly what you described.
You should be able to script the behaviour you desire. However, your scripts may need to do the requisite housekeeping to track and facilitate what you want if simple keybinds don't achieve what you need.
Deleted before we saved it.