Virtual desktops
Settings → Modules → Virtual desktops
The virtual desktops module shows one tile per desktop on the bar, the current one highlighted. Use this page to choose how the desktops look and whether the module may switch, add and remove desktops.
Reset to defaults. A button next to the page title. It puts every setting on this page back to its default after you confirm with Reset. It is greyed out when every setting is already at its default.
While the module is off, a notice says it isn't on the bar. Its settings still save and apply when you turn it on. Select Turn on to put it on the bar, or Modules to open the Modules page.
Look
Bar view. How each desktop shows on the bar, chosen from thumbnails. Names show the names you gave the desktops; outlines show where each desktop's apps sit. Left and right bars show numbers for both. Default: Numbers. Choices: Numbers (numbers), Dots (dots), Names (names), Outlines (thumbnails). Takes effect at once. Config: [virtual-desktops] view.
Private desktop API
This card is marked Experimental. On its own the module can only show your desktops. To switch, add and remove desktops from the bar, and to drag a window from the task strip onto a desktop, Katofli has to use the shell's undocumented desktop interfaces. They change between system updates, so Katofli only uses them on system builds it has been checked against and falls back to read-only anywhere else, or if the shell stops answering.
Use the shell's private desktop API. Lets the module switch, add and remove desktops and move windows. Default: off. Takes effect at once. Config: [virtual-desktops] enable-private-api.
Note: a line under the switch shows the current state: Connected (switching, adding, removing and moving windows work), Read-only (the module shows your desktops but can't change them, sometimes with the reason), or that the module is off.
Try again. Shown only after Katofli crashed while it used the private interfaces. Katofli then stops using them on that system build and says Desktop switching was turned off after a crash on this system version. The bar still shows your desktops, and a system update turns switching back on by itself. Select Try again to turn switching back on now; if Katofli crashes again, it turns switching off again. This button writes no config.
Common tasks
- To switch desktops by clicking the bar: turn on Use the shell's private desktop API, then check the line under it says Connected.
- To see the names you gave your desktops: pick Names under Bar view.
- To move a window to another desktop: turn on Use the shell's private desktop API, then drag the window's tile from the task strip onto a desktop tile.