cua icon indicating copy to clipboard operation
cua copied to clipboard

[Feature]: Allow sending Super from Cua Spaces for macOS to Linux guests

Open Ayuilos opened this issue 1 month ago • 1 comments

Primary area

Other (Cua Spaces app — macOS, interactive Space viewer)

User problem

When a Mac user operates a Linux Space from Cua Spaces for macOS, the Command key is always sent as Control and the Control key is also sent as Control. No key on the Mac keyboard produces Super (Meta/Win) in the guest.

That makes Super-centric Linux desktops unusable from the keyboard. The clearest case is Cua's own Omarchy image: Hyprland has about 180 Super-based bindings there (launching the terminal and launcher, closing windows, switching workspaces, tiling), and none of them can be triggered from the Mac viewer.

Desired outcome

A way to send Super from macOS to non-macOS guests, for example one of:

  • a per-Space or global setting "Send ⌘ as Super" (alongside the current "⌘ as Control" behavior);
  • treating left and right Command differently (e.g. left ⌘ → Control, right ⌘ → Super);
  • picking the mapping by guest desktop (e.g. Super for Hyprland/Omarchy images).

Keeping ⌘→Control as the default makes sense for copy/paste muscle memory; the problem is that the mapping is lossy (two Mac keys map to Control, none to Super) and cannot be changed.

Current workaround

None inside Cua Spaces. Users have to leave the viewer: connect over VNC with a client that sends ⌘ as Super, or trigger individual shortcuts with cua do hotkey super+… from a terminal.

Affected components and platforms

  • Cua Spaces for macOS 0.9.3 (macOS 26.5.2): the native input path has InputEncoder.commandAsControl, and the bundled WebUI viewer enables metaAsControl when the host is macOS and the guest OS is not macOS.
  • Any Linux or Windows guest whose shortcuts rely on Super/Win; most visibly the Omarchy image (Hyprland).
  • Related: Super shortcuts sent from the viewer also do not reach the guest compositor on Hyprland (#5344), so currently no Spaces client can use Super-based shortcuts in a Linux guest.

Ayuilos avatar Oct 16 '26 06:10 Ayuilos

Thanks, this pairs with #5344 (Super chords from the Linux viewer). @injaneity is looking at both.

f-trycua avatar Oct 18 '26 06:10 f-trycua