Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Grid workspace for the COSMIC compositor

说明与用途

COSMIC 补丁添加了 5×5 工作区网格,支持边缘循环、直观手势和键盘导航、二维网格概览,并提供安全的安装/回滚脚本。

问题

COSMIC’s default linear workspace layout made navigation cumbersome; users needed a bounded 5×5 grid with edge‑wrapping and intuitive gesture controls.

结果

The patch adds a 5×5 grid workspace layout with edge‑wrapping, intuitive gesture and keyboard navigation, a 2D grid overview, and safe install/rollback procedures. No compositor crashes observed after a month of use.

工作流

  • Patch cosmic-comp and cosmic-workspaces to branch cosmic-grid
  • Add optional workspace_grid config field in cosmic-comp-config
  • Map 4‑finger swipe and Super+Arrow to grid deltas (±cols or ±1)
  • Compute idx = row * cols + col over existing Vec
  • Emit set_workspace_coordinates with row, col
  • Render 2D grid sidebar in cosmic-workspaces
  • Build patched binaries with scripts/build.sh
  • Install with scripts/install.sh (backup stock, install patched, hold packages)
  • Rollback with scripts/rollback.sh if needed

证据

The patch branch cosmic-grid on cosmic-comp carries two commits on top of the pin: dbe7678 and 54f7719

来源

I've been running this grid as my daily driver for about a month now. Navigation genuinely beats Alt+Tab

来源

The build and rollback story was designed for safety from day one. scripts/install.sh backs up the stock binaries to stock/, installs the patched binaries to /usr/bin/, and runs apt-mark hold on both packages

来源

  • 记录日期: 2026-09-20T03:45:34.505Z