Skip to content

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?

1 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
5ztmlc

Author

46
posts
147
comments
14
media
View profile

7 comments

Have you tried awesome ?

2 points

Not yet, I don't know how I overlooked it. Thanks for the mention.

2 points

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.

1 points

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

bspc monitor DVI-I-1 -d I II III IV
bspc monitor DVI-I-2 -d V VI VII
bspc monitor DP-1 -d VIII IX X

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.

1 points

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.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.