pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
466 stars 82 forks source link

FR: Option to have workspaces independently from (multiple) displays / monitors #697

Open mrvantage opened 1 month ago

mrvantage commented 1 month ago

Currently there are two options "Workspaces span multiple displays" and "Displays have separate workspaces". The span option really locks the applications on the first display to the the applications on the second, while the separate option should make it more dynamic to mix and match what workspaces are used together from the separate displays.

However the separate option provides a "deck" of workspaces per display, that are pretty much tied to the display. It is pretty hard to move a workspace from one display to another. Yes there are some key bindings to move a workspace to the stack of another display, but it would take multiple key combinations to get a specific workspace from another display into focus on the active display.

So, what I'm missing is an option to really mix and match the workspaces between displays, to be able to call any workspace to be displayed on any of the displays. For example Qtile has this feature.

Basically it comes down to this:

I have no idea how hard it would be to implement this third mode of multi monitor behavior, or if it's even remotely possible. But this is a feature I'm really missing coming from Qtile.

wolandark commented 4 weeks ago

to move a workspace to the stack of another display

That is not a thing in any WM/DE afaik. You don't move workspaces, you move the programs in them.

The fact that cosmic is providing display independent workspaces is a huge leap in linux desktop development. The absence of this feature is why most developers use i3wm or other WMs.

Basically, as far as I know, the workspaces are numbered in order. So display 1 has workspaces 1 to 5 and display 2 has the rest of them, 6 to 10. To shuffle this order around should cause a lot of confusion and is probably pretty hard to implement in a solid way.

cobbles commented 3 weeks ago

I would like to add that being able to assign a workspace to a specific output like you can with swaywm would be a great improvement. Its a common workflow for tiling window managers to be able to "snap to" a workspace with a hotkey as @mrvantage describes. Keep up the great work and congrats on the alpha release 🙂

n-kremeris commented 5 days ago

to move a workspace to the stack of another display

That is not a thing in any WM/DE afaik. You don't move workspaces, you move the programs in them.

The fact that cosmic is providing display independent workspaces is a huge leap in linux desktop development. The absence of this feature is why most developers use i3wm or other WMs.

Basically, as far as I know, the workspaces are numbered in order. So display 1 has workspaces 1 to 5 and display 2 has the rest of them, 6 to 10. To shuffle this order around should cause a lot of confusion and is probably pretty hard to implement in a solid way.

This is very much a thing in I3 at minimum, and likely a few other minimalistic WM's. You can move entire workspaces between displays with a single key combo.