These sections were split out of reference.md to keep it readable.
SteamVR’s Launch a program list is Steam’s: one flat list of the .desktop entries it finds (SteamClient.Apps.ScanForInstalledNonSteamApps), with no submenus. It leaves out an entry with NoDisplay=true, and one whose OnlyShowIn or NotShowIn excludes gamescope, the desktop Steam runs in (XDG_CURRENT_DESKTOP=gamescope). So Frametop’s own entries (the settings apps, Reset Screen Layout, Hide/Show Screens, the Tour and Controls Guide, the recorders, Gaze Bench and Gaze Probe) carry NotShowIn=gamescope; and leave that list, while the Frametop desktop’s Application Launcher, KRunner and frunner (KDE) and Desktop Mode keep them where they were. Each also says which submenu it goes in (X-Frametop-Menu).
In their place the list has one entry, Frametop (menu/ft-menu.desktop, installed by menu/install.sh, which install.sh runs). Its TryExec leaves it out of the list when menu/ft-menu is gone, as after installing a version without the menu over this one. Next to it stay Desktop, Native Desktop, and each profile’s entry (Frametop: NAME). menu/ft-menu opens a list (kdialog, the host’s, so it opens from Steam’s list and in the desktop) with a submenu each for Settings, Screens, Profiles, Help, and Recorders and tools, and Update Frametop. A submenu lists only the entries installed in ~/.local/share/applications, so an optional app that isn’t installed isn’t there. Picked from Steam’s list, the menu hands what it opens to ft-floatd as float/ft-dashroute does (dashlaunch), so with Apps from the SteamVR dashboard set to Frametop’s it floats in the desktop; otherwise it opens as from Steam’s list. ft-menu list prints the menus.
Update Frametop (also the entry’s right-click action in the desktop, and ft-menu update) opens Konsole and runs the update command from the README: curl -fsSL https://frametop.github.io/frametop/get.sh | bash, with --release when the menu runs from a release, and --dir when the clone or the releases aren’t in their default place (ft-menu update-command prints it). Its questions and password prompts are the command’s own. Konsole stays open until Enter, so its last lines can be read. A copy synced from a PC (scripts/sync.sh) has no update command here: it’s updated on the PC.
menu/install.sh also moves the optional apps’ entries an older version put there into the menu in place, so an update takes them out of Steam’s list without rebuilding them; their own installers write the rest when they run next. menu/install.sh uninstall removes only the menu’s entry, so Frametop’s apps are then in the desktop’s menus but not in Steam’s list; uninstall.sh removes it with Frametop’s other entries.
A Kirigami app with a Python backend, in the Plasma menu under Settings. It runs in the dev container and talks to the relay over its control socket, @frametop_relay. It has ten pages, and Frametop Tour at the end of its menu:
pointer/helper/vrbuttons.h, pointer/helper/actions/) and sends presses to the relay (vrbtn right/a 1), which does the mapped action. The helper only takes the buttons that are mapped (the relay tells it with vrbind), at an overlay-global priority, and only while no game (scene application) runs, so games keep every button; with In games on (controller_in_games), a mapped button is taken from games too. That needs SteamVR’s “Enable global input from overlays (Experimental)” setting (steamvr/globalActionSetPriority), which the page’s Global input switch turns on and off. Mappings are saved as controller_buttons in ~/.config/frametop-input.json. The Frametop actions behind the Meta shortcuts (Steam menu, float, frunner, hide the screens, hand tracking on or off, the keyboard) are in the list. For any other key combination, such as a desktop shortcut, set the button to keys: and the evdev codes joined by +, as in key_bindings, by hand in that file: "controller_buttons": {"right/b": "keys:125+32"} presses Meta+D where typing goes. All its keys go down, then up, on the press, and modifiers still held on the desktop come up around it. Up to 6 keys; volume, power, sleep, wake and suspend keys are refused. The pages show it as Press Meta+D. keys: works on key combinations too, and on mouse buttons in pointer mode.pause_auto, pause_gesture, pause_desktop, and pause_sound in ~/.config/frametop-input.json. See Pausing for VR games.vr_keyboard_persist) leaves it open after the text field loses focus. The mode is saved as vr_keyboard in ~/.config/frametop-input.json, and the page lists the keyboards that count as connected. Its Key combinations section maps modifiers plus a key, or one modifier tapped on its own, on any keyboard, to any action but passing a key through or nothing, or to Run a command…: a command line the input relay runs with sh -c when you press the keys (command:CMD). The command runs as the relay’s user service, outside the desktop’s session, with layout/, float/ and steam/ on its PATH (so ft-layout use Work or ft-float launch org.kde.dolphin work as they are), and its output goes to the relay’s journal. The gaze clicks (Gaze left click and Gaze right click) only go on key combinations. The defaults are a Meta tap (open the Steam menu, or close the dashboard), Meta+J (gaze left click), Meta+K (gaze right click), Meta+Shift+F (float window in VR or put it back), Meta+Shift+H (hide or show the screens), Ctrl+Alt+Shift+Esc (release all keys: every key held on the desktop, in KWin and on a remote display comes up, for a modifier left stuck there; it fires with other modifiers held too), and Meta+Alt+Tab and Meta+Alt+Shift+Tab (spin the panels: every screen and floating window turns about your head, so the next one on the right or left comes to the front; ft-screens’ spin next|prev|<degrees>); remove them or add others there. With Frametop Voice installed, a Right Ctrl tap starts and stops dictation too. A tap is a press with no other modifier held, then a release with no other key or mouse button going down or up, and no scroll, in between. It fires on the release, never on the press. A bound one sends the desktop F24 before the release, so Plasma’s launcher doesn’t open on it. The Meta tap switch (on by default, meta_tap) turns a Meta tap’s binding off, whatever it is (a dictation binding on Meta too): Meta pressed and let go alone then goes to the desktop as it is, and Meta combinations still work. A key or mouse button already down when Meta goes down also keeps it from being a tap. Tapping a left modifier binds either side’s; tapping a right one (Right Ctrl) binds that key alone. The combination’s last key isn’t typed, and the modifiers still reach the app; while typing goes to Steam rather than the desktop, keyboards aren’t grabbed, so Steam or the game sees the keys too. They’re saved as key_bindings in the same file; a file with its own list, even an empty one, gets no defaults. Meta+Shift+H and Ctrl+Alt+Shift+Esc are the exceptions, once each: Meta+Shift+H was a KWin shortcut until it became a default, and Ctrl+Alt+Shift+Esc is how to get out of a stuck modifier, so installing or updating adds each to a list of your own that doesn’t use that combination yet (input/rules-migrate.py, from scripts/conf-migrate.sh). It backs the file up first (frametop-input.json.bak-screens-toggle-key, frametop-input.json.bak-release-keys-key) and adds only that line; a file laid out by hand rather than as Frametop Input Settings writes it, or made read-only, is left alone with a note. It records each one that ran in ~/.local/state/frametop/input/rules-migrations.json (screens-toggle-key, release-keys-key), so a list that got Meta+Shift+H gets Ctrl+Alt+Shift+Esc too, and a combination you remove afterwards stays removed.~/.config/frametop-voice.json, and the service applies them within 2 seconds.internal.enableTravelMode, off by default), whose tracking holds up in a moving car, train or plane. It’s SteamVR’s own setting, set with SteamVR’s vrcmd while SteamVR runs; with SteamVR stopped, or without vrcmd, the switch is greyed out and says why.sasaken.frame-perf-overlay), from the pointer helper (overlays). Tick a panel, or Ignore the whole app, and the pointer passes through it to what’s behind. It’s for panels you only look at, like a performance overlay that follows your view. The list is saved as POINTER_IGNORE in ~/.config/frametop.conf: comma-separated overlay keys, where a shell pattern like vendor.app* covers a whole app, including panels it opens later. The helper reloads at once. Frametop’s own screens aren’t listed, and entries for apps that aren’t open are listed below, to remove./etc/steamframe/bt-fixups.sh through pkexec. Pair new devices in Steam.Device rules are saved in ~/.config/frametop-input.json. input-settings/install.sh installs the menu entry. Its launcher hands podman the real XDG_RUNTIME_DIR and user bus and gives the app the session’s Wayland socket, because the desktop session runs on a private D-Bus and podman fails on it.
When the desktop starts, its screens arrange themselves around where you’re facing. You can move them by hand at any time and put them back with Meta+Shift+R, the reset button left of any screen’s bar, the Reset Screen Layout menu entry, or a button mapped to Reset desktop screen layout. These show the three-second countdown, then put the screens and connected remote displays back where the layout in use (the profile’s, with one in use) has them, around where you are now. Apps, their windows and fullscreen, hidden screens, sizes and stream connections stay as they are; disconnected remote displays are skipped, screens on a wrist and floating windows stay put, and a panel pinned to the head with its pin button goes back in the room unless the profile saved it pinned. Afterwards Plasma’s screen arrangement follows, as after Arrange now. To reopen a profile with its apps, open it: its name in frunner (Meta+Space), or Open profile. With BACKEND=gamescope, reset still opens the profile again. Arrange now in the app arranges the screens (and the profile’s remote displays) without reopening its apps or hiding its hidden screens again.
The desktop’s own screen arrangement follows where the screens are around you, whatever their numbers: a screen you see to the left of another is to its left in Plasma too, so the pointer and dragged windows cross straight to it. Screens one above the other stack, and screens pinned to a wrist or your head come last. It’s updated at startup, after arranging or saving the layout, and half a second after you let go of a screen you moved. With the headset off there’s no head pose to go by, and the arrangement stays as it was.
Frametop Display Settings has four tabs (three with the gamescope backend, which has no Visibility & pins):
~/.local/state/frametop/layout-anchor.json, forgets it at desktop start, and without it the preview works it out from screen 1. See profiles.md.NOTIFY_FORWARD (whether the desktop’s notifications show in the Steam session, see The desktop), shows where they go now, and offers a desktop restart after a change.layout/ft-layout does the arranging. It’s a Python script that uses only the standard library and runs on the host:
layout/ft-layout apply # arrange every screen
layout/ft-layout capture # save the current arrangement and sizes as the layout
layout/ft-layout save NAME # ...under a name too, with the open apps and hidden screens (a profile, docs/profiles.md), and use it
layout/ft-layout use NAME # switch to a profile: arrange the screens in it and open its apps
layout/ft-layout open NAME # a profile's launcher entry: use it, or start the desktop in it
layout/ft-layout default NAME|none # the profile the desktop starts with (start --wait runs it at desktop start)
layout/ft-layout layouts # list the named layouts (* = in use); rename OLD NEW, delete NAME
layout/ft-layout pin N|all left|right|head # pin as they are now; unpin N|all
layout/ft-layout plan # print the arrangement as JSON (no VR needed)
layout/ft-layout scale # per-screen scale, positions (as the screens are around you), and taskbar screen, to KWin
layout/ft-layout toggle # hide or show all screens
layout/ft-layout hide N|all # hide a screen on its own, whatever the visibility mode; show N|all brings it back, hidden lists them
display-settings/install.sh # menu entries and the Meta+Shift+R shortcut
The layout is stored relative to your head when it’s applied. /run/user/<uid>/frametop-layout.log, in the host’s runtime directory (not the nested desktop’s /run/user/<uid>/frametop), has the run from the last desktop start and ft-screens’ layout runs after it.
Other computers’ monitors as Frametop screens (ft-screens only), streamed from Vibepollo or Sunshine with Moonlight’s protocol. Frametop Remote Displays (remote-displays/, also opened by the Remote displays button on Display Settings’ Screens page) finds Vibepollo and Sunshine computers on the network, signs in to one with its Web UI login (it keeps a narrow API token, not the password, and pins the host’s certificate), shows whether it answers, and adds its displays: its monitors, or a virtual one at any size. A computer with a Steam Link dongle on the Frame’s hotspot streams over it (Connection: auto, network or dongle only); the others use the network. Each display has a Connected switch (and the host one for all of its displays), Shown, its stream’s resolution, frame rate and bitrate, and its width in VR. On Windows, a monitor switches to its stream’s resolution while it streams (or its closest mode with the same shape), and back when the stream ends. That takes Frametop’s build frametop-2.0.0-2 or newer; frametop-2.0.0-1 scaled the monitor’s own resolution into the stream. A Windows host with Frametop’s build can also get the Frame’s microphone (Send my microphone on its card, off by default): apps on the PC record it as “Microphone (Steam Streaming Microphone)” while its displays stream. A disconnected display keeps its settings, and within the same desktop run, its place. In VR each one is a panel with a screen’s controls, and profiles keep where they are. See remote-displays.md.
layout/ft-layout remote list # the remote displays and their streams' state
layout/ft-layout remote connect|disconnect ID...
layout/ft-layout remote host NAME mic=on|off # send it the Frame's microphone (streams pick it up within 3 s)
layout/ft-layout remote host NAME input=on|off # use its keyboard and mouse in Frametop while the headset is worn (Linux hosts)
remote-displays/install.sh # its menu entry
On the PC, host/windows/Setup Frametop host.cmd sets it up for Frametop: Vibepollo 2.0.0 (installed if missing), Frametop’s build of its sunshine.exe, the settings Frametop needs, the Web UI login you sign in with from the Frame, and a firewall check (-Check to see what it would change, -Undo to put things back). host/windows/README.md has the steps, and the windows-host-1 release has the kit as a zip. A Linux PC (Arch or CachyOS) installs Frametop’s Vibepollo package with Vibepollo’s installer, as host/linux/README.md says; it hasn’t been tested yet.
On a Mac, host/macos/frametop-host-setup.sh (or Setup Frametop host.command) installs Sunshine and runs one instance per real display, each on its own port (47989 + 100·N), started at login. You allow Sunshine Screen Recording and Accessibility once in System Settings. Without Accessibility the Frame’s pointer moves on the Mac but clicks, scrolling and typing don’t arrive; the setup checks both, and offers to ask again if Accessibility is missing. Remote Displays finds the Mac as one computer; signing in with the Web UI login pairs the displays you pick, and the password isn’t kept, so adding more later signs in again. Macs have no virtual displays (--check, --undo as on the PC). Frametop Streams in the menu bar turns each display on or off with a click, or all of them, and ft-sunshine off|on|status does the same in Terminal. Off lasts through logins until on. host/macos/README.md has the steps for setting up a Mac, and the macos-host-1 release has the kit as a zip.
A desktop window can float in VR as a panel of its own, away from the screens. Meta+Shift+F floats the window under the pointer (or the active one, over the wallpaper), or puts it back on its screen if it floats. So do Float in VR in every window’s menu (Alt+F3; Back to Desktop on a floating one), the button left of Close in its title bar, and a mouse button, controller button, or key combination mapped to Float window in VR in Frametop Input Settings; Put all floating windows back is mappable too. Launch as Standalone, in an app’s right-click menu in the Application Launcher or the taskbar, starts the app with its first window floating, where that app last floated or in front of you. floating-windows.md explains how it works.
float/ft-floatd does this. It runs inside the desktop’s Plasma session (log: /tmp/frametop-floatd.log), loads the KWin script float/frametop-float.js, and moves each floating window to a spare KWin output of its own, which ft-screens shows as a panel cropped to the window. The settings are in ~/.config/frametop.conf: FLOAT_SLOTS is how many windows can float at once (16, the most; 0 turns floating off; restart the desktop after a change), and FLOAT_MARGIN the pixels around each window on its output, so menus have room past its edges (300). Scroll on a floating panel’s corner tab to make it 5% bigger or smaller a notch at the same pixels (half to twice its screen’s density; ft-screens sends ft-floatd density N STEPS). FLOAT_DOCK_DISTANCE (0.10 m; 0 turns it off) is how near a screen a carried floating window has to be for that screen to light up and take it when it’s let go (dockat). Pull the wheel while moving a window by its title bar on a screen, and it tears off and floats on the laser (tear). Each app’s last floating place, size, density, and scale are kept in ~/.config/frametop-float.json by desktop file name, relative to the primary screen, so they move with the screens. FT_FLOAT_DEBUG=1 in ft-floatd’s environment logs every event from the KWin script.
Apps from the SteamVR dashboard: with DASHBOARD_APPS=frametop (Frametop Display Settings, Visibility & pins, “Apps from the SteamVR dashboard”; the default is steamvr), an app picked in the dashboard’s Launch a program list opens floating in the desktop, as Launch as Standalone does, not as a SteamVR window. The list is Steam’s (its VR menu), and picking an app runs SteamClient.Apps.LaunchNonSteamApp(cmdline) in Steam’s UI. float/ft-dashroute, which the session starts next to ft-floatd (log: /tmp/frametop-dashroute.log), wraps that call over Steam’s DevTools port, 127.0.0.1:8080 (float/dash-route.js), and hands the command line to ft-floatd (dashlaunch). ft-floatd finds the app’s desktop file by its command (Steam’s command line is the Exec line without its field codes) and launches it floating, or answers that it stays SteamVR’s: when the setting is off, Frametop is paused, every floating window is in use (counting launches still waiting for their window), or it’s Steam, SteamVR, a desktop, or one of Frametop’s layout entries (STEAMVR_ONLY). Then Steam’s own launch runs after all. The wrapper only hands launches over while ft-dashroute’s heartbeat is fresh (every 3 seconds; stale after 10), so with the desktop closed every launch is Steam’s own, and ft-dashroute turns it off as it exits. The setting applies at once. float/ft-dashroute status shows whether the wrapper is in; scripts/update-check.py checks that Steam’s UI still launches that way.
With floating on, the session gives the desktop’s windows Frametop’s own decoration (decoration/): Breeze’s look plus the float button. Apps that draw their own title bar, like Chromium and Electron apps, don’t have the button. decoration/apply.sh puts a changed copy into the running desktop, and decoration/apply.sh --off goes back to Breeze until the next desktop start.
float/ft-float float [ID|active] # float a window (default: the active one, as a toggle)
float/ft-float float pointer # the float key: the window under the pointer, floated or put back
float/ft-float dock [ID|active|all] # put a floating window back (default: the active one), or all of them
float/ft-float launch org.kde.dolphin # start an app (its desktop file name) floating
float/ft-float run COMMAND [ARG...] # the same for a command
float/ft-float close ID # close a window
float/ft-float list # the spare outputs and what floats on them
float/ft-float launch firefox action=new-private-window # one of the app's own actions, floating
float/ft-float launch org.kde.dolphin screen=2 # its first window docked on screen 2
float/ft-float activate ID # make a window the active one, unminimized
float/ft-float dashlaunch CMDLINE # what ft-dashroute sends for a dashboard launch: ok, or steamvr REASON
Meta+Space opens frunner, a search pill straight ahead of where your head points, for apps, profiles (opened with ft-layout open, like Open profile in Display Settings), and remote displays ({host} - {display}). Tab, Shift+Tab, and the arrow keys move through what it finds, and Enter or a click opens it. A running app’s most recent window spins to the front with the lazy susan. An app that isn’t running starts floating. A remote display connects if needed and spins to the front. Shift+Enter or a right click opens an item’s menu: an app’s own actions (a private window), Open new window, Open docked on this screen, and its windows; a profile’s Open profile; a remote display’s Go to and Disconnect. Esc, Meta+Space again, or a click elsewhere closes it. It’s the frunner action in Frametop Input Settings, bindable to mouse and controller buttons too, and opened that way it brings Frametop’s keyboard. frunner.md has the decisions and how it works.
frunner/ft-frunner runs inside the desktop’s Plasma session (log: /tmp/frametop-frunner.log) and runs the pill, ft-spotpanel (built by screens/build.sh), in the container. While the search is open, ft-screens sends it every key. Use counts are in ~/.config/frametop-frunner.json and icons in ~/.cache/frametop/frunner.
frunner/test/frunner-test.py # the ranking and the search against a fake ft-screens and ft-floatd (offline)
frunner/tools/render.py OUT.png # the panel's picture, without a headset
tour/ft-tour (in the app menu and frunner as Frametop Tour, under Frametop → Help in SteamVR’s Launch a program list, and in Frametop Input Settings’ menu) walks through Frametop a page at a time: the screens and the 3D mouse, the key combinations the relay has now (key_bindings, as Frametop Input Settings shows them) and macros, gaze mode with Meta+J and Meta+K, hand tracking with and without gaze, frunner, floating windows (with the Apps from the SteamVR dashboard choice), pinning, profiles, pausing for VR games, and the rest. Each page has buttons that try things (frunner, a spin, a calibration or quick check) or open their settings page (FT_INPUT_PAGE, FT_DISPLAY_PAGE); the gaze and hands pages have a button to practise clicking on. A part that isn’t installed says how to install it. A Kirigami app with a Python backend (tour/ft_tour.py), in the container like Frametop Input Settings; FT_TOUR_PAGE=ID opens it on a page.
The Recenter & controls reference page is also available directly as Frametop Controls Guide in the app menu and Controls guide in Input Settings. FT_TOUR_PAGE=recenter opens it directly. Its buttons open settings only; reading the page never performs a reset.
The desktop’s autostart runs ft-tour --first-run (frametop-tour.desktop, written by session/frametop-session.sh; log: /tmp/frametop-tour.log), which opens it only while ~/.local/state/frametop/tour.json is missing or from an older tour (TOUR_VERSION). Closing the tour, Skip the tour, and Finish write that file, unless Show this tour when the desktop starts is ticked on its last page. ft-tour --reset removes it.
tour/test/tour-test.py # the flag, the wrapper's --first-run and --reset, and the pages for each set of installed parts (offline)