budgie-desktop
budgie-desktop copied to clipboard
Wraparound desktops
Current Budgie version budgie-desktop 10.6.1
Use-cases
Wraparound desktops
Proposal
Suggest an option in settings that can be enabled or disabled. When end-user reaches last desktop, it wraps around to the first, and vice versa.
References
Seems like a reasonable feature to me :+1:
After looking into this, Mutter (GNOME's window manager, which our own window manager is built on top of) doesn't support wrapping around when switching workspaces, so the simple method of implementation is out. In addition, our ideas for workarounds would necessitate the ability to tell Mutter which workspace we want to switch to, and no such API exists for that within Mutter. As far as we can tell, it's fundamentally impossible while Mutter is still in use by Budgie, and without any changes to Mutter's API. Unless GNOME adds a function to Mutter to allow manually setting a workspace index, or adds a setting within Mutter to enable workspace wraparound, I don't think this is feasible to implement within Budgie 10. Definitely within 11, though, since we'll be replacing Mutter.
hmm - haven't looked at what is available from a direct mutter (V)API point of view - but from a introspection POV - wrap around workspaces is possible via an extension https://github.com/theychx/WorkspaceSwitcherWrapAround/blob/master/src/extension.js