Skip to content
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

Can the number of desktops be adjusted? #128

Open
lowercasename opened this issue Apr 5, 2021 · 2 comments
Open

Can the number of desktops be adjusted? #128

lowercasename opened this issue Apr 5, 2021 · 2 comments

Comments

@lowercasename
Copy link

This might be my X11 naivete coming through, although a Google didn't come up with anything generic for X11. Is there a way to set the maximum number of virtual desktops, either in Berry or X11? I've currently got 10 showing.

@JLErvin
Copy link
Owner

JLErvin commented Apr 5, 2021

X11 itself has no concept of a virtual desktop, it's the responsibility of the window manager to implement them (although I will note that the EWMH specifications does have a concept of a desktop).

The maximum number of desktops in berry is just a hardcoded value associated with a constant WORKSPACE_NUMBER (you can find the declaration here) that has a default value of 10. You can always change that and recompile if you need more desktops. Technically speaking this could be a configurable value at runtime but I personally don't see too much of a use-case for that.

@lowercasename
Copy link
Author

That's very interesting, I had no idea! I guess this is why all window managers trumpet the fact that they have virtual desktops.

The only use case I can see for it is if one, say, starts moving through virtual desktops consecutively with a bash script they wrote and gets bored by about desktop 6. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants