Skip to content

Apps With No Overlay

Context-Aware Overlays cover a long list of apps. For any other app, PolyKybd collects what information it can by itself. There is nothing to install or configure.

Two things happen together:

  • Shortcuts the app publishes get an icon on their key — Ctrl+S gets a floppy disk, Ctrl+B a bold B — read from the same accessibility information a screen reader uses.
  • The app’s own icon appears on Escape, on every modifier layer, confirming which app those icons belong to.

PolyKybdHost asks three sources in order and takes the first that is still recognisable when reduced to a 1-bit 72×40 keycap:

  1. The icon the app itself ships — the executable’s own icon on Windows, the .desktop entry or icon theme on Linux, the bundle’s icon on macOS. This is always correct, because it is the picture you already associate with that app.
  2. Simple Icons (CC0), the real brand mark where one exists.
  3. Material Design Icons (Apache-2.0), which covers the Microsoft family that Simple Icons does not include.

Most applications already publish its shortcuts — that is how a screen reader can announce them. PolyKybd reads the same information, matches each label to a concept, and draws a small icon in the bottom-right corner of that key, clear of the key’s own legend.

Your platform Where the shortcuts come from Status
Windows UI Automation Supported
Linux AT-SPI2 Supported; depends on the app’s toolkit, see below
macOS Accessibility API Supported (host 1.2.8+), after a one-off permission

What an app publishes depends on its toolkit, so on Linux it varies by app family:

App family Example What PolyKybd gets
GTK3 with a menu bar Mousepad Every shortcut in the menu bar
GTK4, version 4.18 or newer — The shortcuts its menus show (host 1.17.0+; not yet confirmed on a real desktop)
GTK4, older than 4.18 Ubuntu 24.04’s GTK 4.14 Nothing: these versions report every shortcut as blank
Qt / KDE Kate The shortcuts in its menus (host 1.17.0+)

Nothing breaks when an app publishes nothing — the keyboard simply stays as it was, Escape included.

If you develop an app, Make Your App’s Shortcuts Readable lists what to publish on each platform.

An icon is drawn only when the shortcut’s label maps to a concept the icon set covers — Save, Copy, Paste, Find, Undo, Bold, Print and so on. A label the host cannot match confidently gets no icon, because a plausible but wrong icon is worse than none. Key combinations that the operating system uses (such as Alt+Tab) are skipped too.

Labels are matched in English and in the 19 other languages PolyKybdHost’s menus are translated into (host 1.19.40 or later), so a German Speichern gets the same save icon as Save. The app’s language does not have to match the system language. An older host matches English labels only.

If a hand-made overlay covers the app, it takes priority, but per key, not for the whole window. Every key the artwork draws keeps exactly what its author intended, and the generic icons fill only the keys it leaves blank.

Turn that off (see below) and an app with artwork shows exactly what was drawn for it and nothing else.

In a multi-machine setup the app runs on one computer while the keyboard is plugged into another. The shortcuts are read on the machine the app is actually running on and sent across as text, so a forwarded app gets the same icons a local one does.

All six are in Settings… in the tray menu, section Keycap icons, and are on by default. The names are those of host 1.28.12; older hosts use the names in brackets. Turn on accessibility applies to Linux only, so other systems show five of the six. On Linux it shows after you turn on the section’s Advanced switch.

Setting What it controls
Icons for apps without an overlay (Generic icons) The whole feature. Off: no Escape mark and no shortcut icons for any app.
Apps with their own overlay → Add the Escape mark Whether an app that already has artwork also gets its mark on Escape, when the artwork leaves Escape blank.
Apps with their own overlay → Fill blank keys from the app’s menus (Add icons from the app’s menus in 1.28.9, Add shortcut icons before) Whether such an app is also read for its shortcuts, with icons on the keys its artwork leaves blank. Off: such an app shows its artwork and its Escape mark only.
Read shortcuts from app menus (Shortcut icons) Whether the focused app’s menus are read for its shortcuts at all. Off: no shortcut icons, and an app without artwork gets no Escape mark either, since that mark only accompanies shortcut icons. An app with artwork still gets its mark when Add the Escape mark is on.
Download icons from the internet (Download missing icons) Whether app logos and shortcut icons may be downloaded from simple-icons and Iconify. Off: icons already downloaded keep working; new ones are skipped.
Linux → Turn on accessibility Linux only. Whether PolyKybdHost may turn on the desktop’s accessibility switch so Qt and KDE apps publish their shortcuts. Off: only apps that publish anyway (GTK) are read.

Icons for apps without an overlay switches everything off: nothing generic is drawn and the other settings have no effect.

Everything happens on your own computer. The host reads the focused app’s shortcut labels locally and never sends them anywhere; the only network request is for the icon set itself, and it is cached after the first time. Nothing about which apps you use leaves the machine.