Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Using Cupertino every day

A short guide for the first days on a machine that uses Cupertino as its session. Everything here is taken from the crate READMEs and from changes that are on main; the server’s README (crates/cupertino-server/README.md) has the detail. Cupertino is early (0.x): this page says what exists and how it is meant to be used, not that it is finished. Where a step has not been run on real hardware, the page says so.

Starting and leaving a session

  • Start. On a machine installed from the USB image (see Install from a USB stick), cupertino-login starts the session on tty1: log in there. On other machines, the package installs the session entry cupertino.desktop, so GDM lists Cupertino in its session chooser; choose it, then log in. Do not turn on automatic login for this session while it is new: when the compositor ends for any reason, the session ends and GDM shows its login screen again, and automatic login would start the session again at once.
  • Leave normally. Log out from the menu bar’s system menu or with Super+Shift+Q. Applications are asked to quit first, and a confirmation panel appears. While the login process is restarting after a crash, Super+Shift+Q ends the session without asking.
  • Reopen applications. The log out, restart and shut down panels have Open my windows again after I log in, on until you turn it off; the panel remembers your choice. With it on, the applications that were open start again once at the next login, through their desktop entries. Applications without a desktop entry and the shell’s own programs are not saved. Each application opens as it does when you start it: getting its windows and documents back needs support in the application itself. After a crash or a power cut nothing is reopened.
  • Lock. Super+Ctrl+Q.
  • Leave at once. Ctrl+Alt+Backspace ends the compositor. Ctrl+Alt+F1 to F12 switch to a text console. Both are reserved: no application can take them over.
  • Bound the first login. Write a whole number of seconds into ~/.config/cupertino/session-limit, for example echo 600 > ~/.config/cupertino/session-limit. The compositor stops after that long. Remove the file for a normal session.
  • From a checkout, without GDM. On a free text console, start the checkout’s server; see Building and running.

Not verified: how GDM treats the session on a real machine (the virtual console, and the restart after a crash). The first login on the hardware is the test.

Keyboard shortcuts

KeysAction
Super+Spacelauncher
Super+Returnterminal (the first of foot, alacritty, kitty, wezterm and xterm that is installed)
Super+Tab, Super+Shift+Tabapplication switcher (release Super to pick)
Ctrl+Up, F3, the overview keyoverview (the same key closes it)
Ctrl+Left, Ctrl+Right, Ctrl+1 to Ctrl+9workspaces
Super+Q, Super+W, Super+M, Super+Hquit application, close tab or window (see below), minimize, hide application
Super+Ctrl+F, Super+Ctrl+Left, Super+Ctrl+Rightfull screen, tile left, tile right
Super+Alt+EscapeForce Quit
Super+Alt+Sscreen reader on or off, at the login screen and the lock screen too, the one shortcut that works on the lock screen besides switching consoles (the first of the installed readers, /usr/bin/orca; the same as Settings > Accessibility > Screen reader; no shortcuts file can take it while a reader is installed)
Shift+Super+/Help menu with its search field focused

To change a shortcut, add a chord = action line to ~/.config/cupertino/shortcuts.conf, for example Super+x = exec:foot, or Super+Tab = none to free a chord. The file is applied on top of the defaults. modifier_profile = classic-pc in ~/.config/cupertino/keyboard.conf switches to common PC keyboard habits (Alt+Tab switches, Alt+F4 closes, Ctrl is the command key in Settings and text fields, and a tap of Super alone opens the launcher).

Under the default profile Super is the command key in every application. Other applications get Super chords as the Ctrl chords they bind, and a Ctrl chord on a letter, digit, punctuation key or Return reaches them with Super instead, so Ctrl copies, pastes and closes nothing. In a text field the line-editing chords Ctrl+A, E, B, F, P, N, D and H move and delete as their keys do. Terminals keep Ctrl: they get Super and a letter as Ctrl+Shift and the letter, the chord terminals copy, paste and open tabs with. client_rewrite = off in keyboard.conf, or the application’s id in rewrite_off, sends every chord as it is pressed.

Super+W closes the front tab or document. Cupertino’s own applications decide what that is themselves: the compositor asks the window to close, and the application closes what is in front. Every other application, X11 ones included, gets Super+W as its own close chord, like any other Super chord: Ctrl+W (a browser closes the tab, an editor the document), or Ctrl+Shift+W in a terminal with tabs. A terminal without tabs (foot, Alacritty, xterm) has no such chord, so Super+W closes its window. An application whose chords are sent as they are pressed (client_rewrite = off, rewrite_off) gets the compositor’s close-window instead. Under classic-pc the application gets Ctrl+W as it is pressed. Application-wide and window chords stay the compositor’s in every application: Super+Q quits (it asks every window of the application to close), Super+M minimizes, Super+H hides, and the title bar’s close button and the menu bar’s Close Window close the window. An application with no Ctrl+W of its own does nothing on Super+W; close it with its close button or Super+Q.

Layouts, Compose and dead keys

  • Layouts. At login Cupertino reads the system layout (X11Layout, X11Variant and X11Options from localed). If keyboard.conf has no input_sources, those layouts become the input sources. To set them yourself, write input_sources = us, de, fr(nodeadkeys) in ~/.config/cupertino/keyboard.conf; that file wins over localed.
  • Switching. Ctrl+Space opens the input source list and steps through it (most recently used first); releasing the modifiers picks one. Ctrl+Alt+Space steps to the next source in menu order.
  • Option characters. Both Alt keys act as Option (not under modifier_profile = classic-pc, where Alt stays Alt): Alt+2 types ™, Alt+Shift+2 types €, and Alt+E then E types é (on a US source, which uses the us(mac) symbols). Applications then receive no Alt from these keys, so their own Alt shortcuts do not work; layout_level3 = right-alt in keyboard.conf gives the left key back as Alt.
  • Compose key. compose_key = right-alt in keyboard.conf (also right-ctrl, menu, caps-lock, scroll-lock, or off) sets the compose key of the system layouts. Unset, it keeps the one localed holds.
  • Dead keys and Compose sequences. Applications built on Cupertino’s own Wayland client (CupertinoKit apps) read the locale’s compose table (XCOMPOSEFILE, then ~/.XCompose, then the locale’s file), so layouts with dead keys such as us(intl) and de(deadkeys) type their characters. Other toolkits do their own compose handling.
  • Accents. Holding a letter key opens the accent picker, but only with accent_table set and only in applications with text input support.

Screenshots

KeysWhat happens
Super+Shift+3 (also Super+Shift+S)the whole screen
Super+Shift+4a selection
Super+Shift+5the toolbar
Super+Ctrl+Shift+3, Super+Ctrl+Shift+4the screen or a selection, to the clipboard

Files go to the Desktop folder unless ~/.config/cupertino/screenshot.conf sets location to documents, pictures, clipboard or a directory. The toolbar writes the file back. On the overlay, Escape cancels, Space switches to picking a window, the arrow keys make and move a selection (Alt with an arrow resizes it) and Return captures. The screenshot tool has no built-in video recorder. External recorders can use the ScreenCast portal: in OBS choose Screen Capture (PipeWire), then select a display or window. The OBS black-capture buffer-negotiation regression is fixed in fe28a392; the local recording verified desktop frames after replacing the portal. See Portals for scope and remaining limitations.

Apps that control the desktop

The first time an app asks to see your windows and their controls and use the pointer and keyboard, or to take pictures of the screen, you are asked, and your answer is remembered for that app in ~/.config/cupertino/desktop-control.conf. Settings > Privacy > Desktop Control and Settings > Privacy > Screen Capture list the apps that asked, each by the name of its app or, for a program that runs without a window of its own, by its file name and full path. Turning an app’s switch off stops it at once, even in the middle of what it is doing; turning it on allows it again. Forget removes the app, which then asks again the next time. The two pages are separate: an app can be allowed to take pictures of the screen and not to control the desktop. The file must be yours and writable by no one else; otherwise the pages say why and change nothing.

Electron apps (VS Code, Slack, Discord, Obsidian and others) show their own menus in the menu bar, on Wayland and through X11 alike, and keep no menu bar in their window. Clicks, shortcuts shown beside items, check and radio items and submenus the app fills only when they open all work as in any other app. Such an app hands its menus to the menu bar under a number of its own window instead of naming them for the window it shows, so the menu bar matches them to the window: on Wayland by the app’s process, through X11 by the window’s title as the X server holds it. A menu leaves the bar when the app removes it, quits or closes the window. An app that names its menus for its window, as later Electron releases are expected to, is shown those menus with no matching.

The in-window menu bar of all Electron apps comes back with ELECTRON_FORCE_WINDOW_MENU_BAR=1 in the environment they start with, for example a line ELECTRON_FORCE_WINDOW_MENU_BAR=1 in a file under ~/.config/environment.d/ before you log in; their menus then leave the menu bar, which shows its own File, Edit, View, Window and Help for them. Remove the line to return to menus in the menu bar.

Known gap: an Electron app on Wayland with several windows in one process gets each window’s menus by the order the windows were opened, which holds while every window has a menu; otherwise the menus of the window registered last show for all of its windows. Electron’s menus are usually the same for every window.

Show in Files from other apps

Other apps’ “Show in folder” commands open Files on the item’s folder with the item selected and scrolled into view: VS Code’s Reveal in File Explorer, Electron apps’ shell.showItemInFolder, a browser’s Show in folder for a download, and the portal’s Open Directory, which sandboxed apps use. Files answers the session bus name org.freedesktop.FileManager1:

  • ShowItems selects the items in a window on their folder. Items of one folder share a window, and a window that already shows that folder (with no search typed) is used; items of different folders get a window each. A folder named as an item is selected in its enclosing folder.
  • ShowFolders opens a window on each folder.
  • ShowItemProperties selects the items as ShowItems does; Files has no information window yet.

The app’s startup id raises the window, so it comes in front of the app that asked. An item that no longer exists is a notice; the others are still shown. When Files is not running, the bus starts it for the call (/usr/share/dbus-1/services/org.cupertino.Files.FileManager1.service), with no window of its own: it opens what the call asks for and exits when that window closes, or after 10 seconds when no call comes. When another file manager already holds the name, it keeps answering until it quits, and Files takes over then.

Title bars that apps draw

Apps that draw their own title bar (Electron windows with an overlay title bar, GTK header bars) look up their window buttons’ symbols in the icon theme. Cupertino’s icon theme, Cupertino in /usr/share/icons, draws window-close-symbolic, window-minimize-symbolic, window-maximize-symbolic and window-restore-symbolic and takes every other icon from Adwaita. Apps use it when the session’s icon theme is set to Cupertino; otherwise they keep Adwaita’s symbols.

Shortcuts apps use in the background

An app can ask for keyboard shortcuts that work while you use another app, such as a push-to-talk key in a call app or a quick-open key; Electron apps do so with globalShortcut, others through the desktop portal’s GlobalShortcuts. The first time an app asks, a window lists each shortcut with its keys and what it does, and asks Allow or Don’t Allow; Allow takes no click or key for half a second after the window shows, so a key you were typing cannot allow it. Your answer is remembered for the app with the keys you allowed: a later request for those keys binds them without asking, a request for a key you have not allowed asks again and lists only the new shortcuts, and an app you said no to is not asked again. Every shortcut can be read before Allow: a long list scrolls. Escape or closing the window answers no and remembers nothing. To be asked again, take the app’s line out of ~/.config/cupertino/global-shortcuts.conf (allow = <app id> <keys>… or deny = <app id>); your own comments in the file are kept. A desktop-control run cannot click or act in this window, nor in the screen-sharing and screenshot windows.

A shortcut gets its keys only when its key is no modifier (Shift, Control, Alt, Super, Caps Lock) and they hold ⌃, ⌥ or ⌘ (Control, Alt or Super) or are a function or media key, when the desktop does not use them itself (its own shortcuts, the console switches, the screen reader’s ⌘⌥S), and when no other app holds them already: the first app to bind a key keeps it. A shortcut that cannot have its keys is shown in the window with the reason and is not bound; the app is told which shortcuts it has. A shortcut whose keys the desktop takes later, through shortcuts.conf, loses them, and the app is told.

While a shortcut is bound, its key press and release go to the app that bound it and never to the app you are typing in. A shortcut on a symbol you type with Shift works with Shift held (Ctrl+plus is Ctrl+Shift+= on a US keyboard). Where the right Alt key is AltGr (layout_level3 = right-alt, none, or under modifier_profile = classic-pc), AltGr does not count as Alt: AltGr and a key types its symbol in the app you are typing in; where both Alt keys are Option (the default), they count as Alt. Shortcuts do nothing while the screen is locked, while an app holds all keys (a virtual machine or a remote desktop) and while the app switcher is open. They end when the app quits or closes them.

Saved passwords

Apps keep saved passwords and tokens in the keyring: gnome-keyring, which the packages install. Logging in with your password unlocks it, and logging out locks it again. After an automatic login, or after your password was changed with passwd, it stays locked: the first app that needs it opens a window that asks for the keyring’s password, and Cancel there refuses the app. Unlocking the lock screen with your password also unlocks the keyring. Logging in unlocks the keyring named login only. When an app has made another keyring the default one, that keyring would ask for its own password in every session, so Cupertino asks once whether to move its items into the login keyring: Move Items asks for that keyring’s password, copies its items and saves new passwords in the login keyring from then on (the other keyring is kept); Don’t Move is remembered, and you are not asked again.

There is no Cupertino window for saved passwords yet. In a terminal, secret-tool search --all ATTRIBUTE VALUE shows the matching items (with their secrets), secret-tool clear ATTRIBUTE VALUE deletes them, and the Seahorse app (“Passwords and Keys”, installed separately) lists and deletes them in a window. cupertino-sessiond’s README (“Secret Service”) has the details and the commands that list every item.

Not verified: none of this has been run in an installed session yet; the README lists the checks.

Logs and crash reasons

cupertino diagnose checks the GPU driver, the session, the portal, the services and the last crash in one go, and names the fix for what is wrong; cupertino --format json diagnose gives the same as JSON. cupertino diagnose events --since 24h lists the errors the desktop recorded, and cupertino diagnose export --output FILE writes one file for a bug report (Checking a machine).

FileHolds
~/.local/state/cupertino/session.logone line per session start and end: a normal end, the exit status, the signal that ended the compositor, or the watchdog. When the compositor ends with an error, the end line also has the reason: a panic on its main thread or a lost rendering context for which the server could not make a new renderer. A GPU reset that the server survives is one line of its own (see A GPU reset), and so is a session that has only a software renderer (see No GPU acceleration). An abort or a fault (SIGABRT, SIGSEGV) is named as the reason, and server.log has its backtrace, as it has a panic’s. Other signals leave no reason; the line names the signal.
~/.local/state/cupertino/server.logeverything the compositor logs, including the GPU, the driver, the kernel and any panic. The previous run is server.log.1. An error that stops the start is its last line, the server stopped: ....
~/cupertino-tty.logwhat the processes print when a checkout is started from a text console, including a start that fails before server.log opens.

RUST_LOG changes the log filter, and CUPERTINO_LOG_FILE moves server.log. After a panic, or a lost rendering context for which the server could not make a new renderer, the teardown may take 2 s, then the server exits.

A GPU reset

On a display, the server asks the render GPU whether it was reset before each round of frames, and a frame that fails with the context lost counts as a reset too. On a reset the server makes a new renderer for each card and draws again: the windows stay, the clients stay connected and nothing restarts. A driver without the robustness extension reports no reset, so only a frame that fails with the context lost starts this.

Each reset is one line in session.log:

<time> the GPU was reset: gpu=<card> reason=<who caused it>; <outcome>

The outcome is renderer remade, the clients stayed connected or renderer not remade (<error>), the session ends.

The limits: a fourth reset within 60 s, or a renderer that cannot be made, ends the session. The login screen comes back, as after any lost rendering context. A client’s buffer that the reset lost shows what the driver left in it until the client draws again.

Not verified on hardware: the new renderer has run only through the offscreen reset hook, not against a real reset.

To investigate a reset with an AI assistant:

  1. Run cupertino --format json diagnose --area crash. The crash.gpu_reset check is warn when session.log has a reset, with the facts resets, remade, last_time, last_gpu, last_reason and last_outcome.
  2. Copy the lines of ~/.local/state/cupertino/server.log around last_time (server.log.1 if the session has restarted since).
  3. Give both to an AI assistant, or to the driver’s bug tracker. Paste them by hand; no Cupertino service does this yet.

If it hangs

  • One application does not answer. While the desktop is in use, the compositor pings every application window once a second (a desktop nobody touches is not pinged; the first input pings at once). With no answer 2 s after a ping, the pointer over its window shows the busy cursor and the dock marks it Not Responding. Press Super+Alt+Escape, or use Force Quit in the menu bar. An application that does not answer is killed at once; any other gets a close request first and is killed 3 s later if it is still there.
  • A shell component fails (dock, menu bar, launcher and so on). Its host starts it again alone, after a restart time that grows from a quarter of a second to 8 seconds, and the host and the other components go on; five failures within a minute stop it until cupertino shell restart NAME. If the host itself fails, the compositor starts it again, at most once per second. A program that exits successfully stays stopped.
  • The compositor hangs. Ctrl+Alt+Backspace and Ctrl+Alt+F<n> need a live compositor. From another console or over ssh, pkill cupertino-server ends it. As a last resort, with sudo sysctl kernel.sysrq=1 set beforehand, Alt+SysRq+R, E, I returns the keyboard to the kernel and ends all processes. Save your work in other sessions first.
  • After a panic, an abort, a fault, or a lost rendering context with no new renderer. On a display the server first makes a new renderer and the windows stay (A GPU reset). The login screen comes back within seconds. session.log has the reason and server.log.1 (after the next login) the backtrace.

Known limits

The 2026-11-10 installed-session review and follow-up inspection recorded 32 interaction and presentation issues; at the 2026-11-12 recheck 31 remain open, 2 of them fixed in code and awaiting the installed-session check, and one is resolved by design. See Desktop quality and open issues for the complete list, evidence status and acceptance checks. In particular, menu pointer ownership, sidebar bounds, control panel readability and connectivity, Trash emptying, quick preview, input/cursor behavior and glass/scrollbar consistency are not accepted as finished. Newly installed applications also remain absent from the launcher until its process restarts (DQ-30); the backlog records the workaround. ChatGPT Desktop could not be moved by dragging through XWayland in the installed session, and launching it with --ozone-platform=wayland restored dragging; the move was not reproduced headless and awaits the installed-session check (DQ-33). Electron applications that draw their own titlebar, such as ChatGPT and Claude Desktop, keep it instead of Cupertino’s by design (DQ-31, closed). The backlog records the app-specific flags file and remaining checks. ChatGPT status-menu actions can also stop working because the menu bar retains obsolete action IDs (DQ-32). Some entries are maintainer reports still awaiting focused reproduction.

The server’s README has the full list under “Daily-driver known limits”. The ones to expect in a first week:

  • A real session on the NVIDIA driver with GDM has not been run yet, and explicit sync has not run on NVIDIA.
  • The portal backend serves the appearance settings, the file chooser, the app chooser, screen sharing, screenshots, colour picking and the shortcuts apps use in the background; every other portal goes to the GTK backend (Portals). A video call shares one display or one window at a time, without sound. A display you let an app share again without asking is listed in Settings > Privacy > Screen Sharing, where Forget removes it; a window is remembered only until the app quits. The screenshot portal asks for consent and retries a failed capture, and its colour picking takes the colour of the pixel you click.
  • The volume and mute keys change the default PipeWire output and the microphone mute key toggles the default input. With no PipeWire daemon, volume and mute fall back to the ALSA master mixer.
  • X11 apps run through xwayland-satellite. Scale 2 and the clipboard were checked in a virtual machine only. With monitors of different scales, every X11 window gets the smallest scale. Every window, an X11 one or one that draws its own title bar included, gets the same rounded corners, outline and shadow as Cupertino’s own windows; square corners an application draws are cut to that outline. A window an application draws transparent around a shape of its own (an overlay, a floating widget, a pill-shaped bar) is left as it draws it.
  • Settings > Appearance > Show scroll bars reaches applications of other toolkits. GTK 3 and GTK 4 applications on Wayland, and Chromium and Electron applications, follow a change at once: the portal serves GTK’s overlay-scrolling key and sets the same key in GSettings (the org.gnome.desktop.interface schema, which a GNOME session on the same account shares). GTK applications under X11 read it from gtk-3.0/settings.ini and gtk-4.0/settings.ini in ~/.config when they start; only that key is written there. Chromium and Electron show bars over the content only with their overlay scroll bar feature on: an application started from the dock, the launcher, the menu bar or Files gets --enable-features=OverlayScrollbar, and then follows GTK’s setting while it runs. Chromium keeps only the last --enable-features it is given, so that switch also lists the features its desktop entry enables and those of the flags file its launcher reads (such as ~/.config/chromium-flags.conf, electron-flags.conf or code-flags.conf); a --disable-features=OverlayScrollbar in either keeps the classic scroll bars. An application counts as Chromium or Electron when its program sits beside Chromium’s resources, or is a script whose exec line starts such a program with the launch’s arguments ("$@"), or a small program that names one by its full path. One started from a terminal, through xdg-open or as a Flatpak keeps classic scroll bars unless it is given that switch, in its own flags file for instance. Some older Chromium builds take the switch to mean bars over the content whatever the setting. Qt Widgets applications keep their style’s scroll bars: Qt has no desktop setting for them. Qt Quick controls show theirs only while the content scrolls.
  • An application that draws its own title bar puts its close, minimise and zoom buttons at the leading end, as Cupertino’s own windows do: GTK header bars, Chromium’s tab strip, Electron windows with a title bar overlay and Qt’s client-side decorations read the order from the portal (org.gnome.desktop.wm.preferences button-layout, close,minimize,maximize:). It is also set in GSettings and in the GTK settings files for GTK 3 on Wayland and GTK under X11. An application that places its own controls where the buttons go, as some Electron applications do in the top leading corner, can find them covered.
  • GSettings and the GTK settings files are your own and shared with other desktops on the account, so Cupertino writes overlay-scrolling, button-layout, gtk-overlay-scrolling and gtk-decoration-layout the first time it starts, and afterwards only when its own value changes or the key still holds what Cupertino last wrote there (kept in ~/.local/state/cupertino/toolkit-settings). A value you set yourself since, with gsettings, GNOME’s settings or in the file, stays until you change Show scroll bars, which writes the scroll bar key again; your button order stays for good. A settings file keeps its permissions. The portal still serves the desktop’s button order to applications that ask it.
  • The ISO and installer ship foot. Other installations need one of the terminals listed under keyboard shortcuts.
  • A server crash ends the session; windows are not reopened. Applications are reopened only after a confirmed log out, restart or shut down with the checkbox on.

To report a bug, see Trying Cupertino.