Takumi Docs

Keys

On Takumi, Super works like the Mac’s Command key, in every app. Super is the key with the Windows logo on a PC keyboard, or Command on a Mac keyboard. Super+C copies and Super+V pastes in the browser, in a document and in the terminal alike.

To see the keys worth knowing, type keys in the Palette (Super+Space). Typing what a key does, such as screenshot or emoji, shows its key too. Super+Shift+/ shows a list of the main keys on screen.

Harmony: one Command key

Takumi calls this Harmony. A Mac’s editing keys all sit under one thumb, and they mean the same in every app. On a PC they are spread between Ctrl, which a terminal uses to stop programs, and the Windows key, which does very little. Harmony gives Super the Mac’s job everywhere, so the keys your hands already know work on day one.

The terminal is where it matters most. Ctrl+C in a terminal stops whatever is running, so a copy key that sent it would be a trap. Super+C sends a real “copy” instead, which the terminal copies with, and Ctrl+C keeps its terminal meaning.

Harmony works below every app, using keyd, so it needs nothing from the app.

Editing keys

Keys Does
Super+C Copy
Super+V Paste
Super+X Cut
Super+Z Undo
Super+Shift+Z Redo
Super+A Select all
Super+S Save
Super+F Find
Super+W Close the tab
Super+T New tab
Super+N New window
Super+, The app’s preferences
Super+P Everything you copied; Enter pastes one
Super+. or Super+; or Super+Ctrl+Space Emoji and symbols by name; Enter types one
Super+H Dictate: speak, then press again and what you said is typed

Ctrl, for people from Windows

Ctrl+C, Ctrl+V and the rest still work in most apps, exactly as they did on Windows. Super works in all of them, the terminal included. Use whichever your hands reach for; there is nothing to switch.

Alt and Super on a PC keyboard

On a Mac keyboard, Command sits beside the space bar. On a PC keyboard, that place is Alt’s, with the Windows key further out. To have the Command key where a Mac has it, type swap alt (or windows key, command key) in the Palette and choose Swap Alt and Super. The left Alt then works as Super, with every key on this page, and the left Windows key works as Alt. The right Alt stays as it is, since many layouts use it to type accented letters. Put Alt and Super back undoes it. Both ask for your password in the Core.

Apps and the Core

Keys Does
Super+Space The Palette: find anything
Super+I Quick settings: Wi-Fi, Bluetooth, sound, night light
Super+Return A new terminal
Super+B The browser
Super+E Files
Super+L Lock the screen
Super+U Accessibility: screen reader, pointer size, sticky keys, contrast
Super+Alt+Esc Force quit an app that has stopped answering
Super+Shift+/ Show the main keys on screen

Super+B, E and Return open the apps you chose as your browser, file manager and terminal (Apps, the Shelf and defaults).

Notices

Keys Does
Super+Shift+Space Acts on the notice showing: copies its code, or does what a click does
Super+Esc Puts every notice away
Super+Alt+Page Down / Page Up The next waiting notice / the one before

More in Quick settings, Today and notices.

Windows

Keys Does
Super+← / → Along the strip
Super+↑ / ↓ Up and down a column, then between workspaces
Super+Home / End The first / last window on the strip
Super+Tab (or Alt+Tab) The last window; keep holding to choose among recent ones
Super+` The same app’s other windows
Super+Shift+arrows Move the column, or the window
Super+1 to 9 Go to a workspace
Super+Ctrl+1 to 5 Move the column to a workspace
Super+O See everything
Super+R Step the width: a third, a half, two thirds
Super+- / = Narrower / wider
Super+M Fill the screen’s width
Super+Shift+M Full screen
Super+Ctrl+C Centre the column
Super+[ / ] Stack the next window into this column / take this one out
Super+Ctrl+↑ Float the window above the strip, and back
Super+Ctrl+↓ Between floating windows and the strip
Super+Ctrl+← / → Go to the screen on that side
Super+Shift+Ctrl+← / → Move the column to the screen on that side
Super+Q Close the window

Windows on the strip explains each of these.

Super+Shift+Ctrl+Q ends the whole session at once. It is a way out when nothing else answers; your apps are not asked to close first, so Log out in Quick settings is the gentle way.

Screenshots and recording

Keys Does
Super+Shift+3 or Print A picture of the whole screen
Super+Shift+4 or Super+Shift+S A picture of a part you drag over
Super+Shift+5 A picture of a window
Super+Shift+6 Record the screen; again to stop
Super+Shift+7 A picture of a part, opened straight away to mark up

More in Screenshots and recording.

Zoom and accessibility

Keys Does
Super+Alt+= / - / 0 Zoom in, out, off
Super+Alt+arrows Move what the zoom shows
Super+Ctrl+Enter or Super+F5 Screen reader on or off, the lock screen included
Super+U Accessibility settings in the Core

More in Accessibility.

Sound, media and brightness keys

The keys printed on your keyboard do what their pictures say, and the Core shows a meter. Most work on the lock screen too.

Keys Does
Volume up / down 5% at a time
Alt + volume up / down 1% at a time
Shift + volume up / down All the way up / down
Mute Mutes the sound
Shift + Mute Sends the sound to the next speakers or headphones
Alt + Mute, or the microphone key Mutes or unmutes the microphone
Shift + microphone key Switches to the next microphone
Alt + microphone key Opens the microphone’s settings in the Core
Play / pause, next, previous Controls the player you chose
Alt + next / previous Skips ten seconds forward / back
Alt + play Pauses everything that is playing
Shift + play Chooses which app the media keys control
Brightness up / down 5% at a time; with Alt, 1%
The display key Shows your screen on a projector, or stops
The power key Opens the Core on shut down, restart, sleep and log out

More in Sound and Displays.

Laptop keys

  • The keyboard light keys make the keys brighter or dimmer, and the Core shows “Keyboard light” with a meter. A laptop with a single light key goes round its steps and then off. After the laptop wakes from sleep, the light comes back as you left it.
  • The touchpad key turns the touchpad off, so your palm never moves the pointer while you type, and on again. The Core says “Touchpad off” and how to get it back. On a laptop without the key, type touchpad in the Palette for the same switch.
  • The microphone key mutes the microphone in use, a headset’s too, and the light on the key shows whether it is muted, whatever muted it.

Many laptops change the keyboard light themselves and never tell the system. Their light changes as it always did, without a notice.

Not yet. On a laptop without a light on the microphone key, nothing on screen says the microphone was muted by the key. The struck microphone in the capsule and the Microphone tile in Quick settings show it.

The top row

On many keyboards the top row does brightness, sound and media first, and F1 to F12 with Fn. Type function keys or media keys in the Palette for Top row: F1 to F12 first or Top row: media keys first, whichever is not on now. It asks for your password.

This works on Apple keyboards and on Lenovo and Huawei laptops. Other keyboards decide this in their own firmware, and the row says so: Top row: the keyboard decides. Press its Fn lock (Fn+Esc on many laptops), or look in the computer’s firmware settings.

The pointer and the touchpad

Type what you want in the Palette. Each row offers the opposite of what is on now, and takes effect at once.

Type Row
natural scrolling, scroll direction Turn natural scrolling off (or on)
tap to click Turn tap to click off (or on)
pointer speed, mouse speed Pointer speed: faster, Pointer speed: slower, with “Now 4 of 8”
key repeat Key repeat: faster, Key repeat: slower, with “Now 4 of 6”

Natural scrolling (two fingers move the page the way they go, as on a Mac) is on for the touchpad from the start; a mouse wheel keeps scrolling the usual way. Tap to click is on too. Two fingers pressing the touchpad give the right button, three the middle.

Keyboard layouts

The keyboards you type with belong to the computer: the login screen, the password prompt when it starts, and every account use the same list. Type keyboard in the Palette:

Row Does
Keyboards: English (US), German Enter asks which keyboard to add
Switch to German switches now
Add the French keyboard adds it at the end
Remove the German keyboard removes it, after asking

Type a language or a country to find its keyboards: keyboard french lists French, French (AZERTY) and French (Switzerland). Adding one asks for your password in the Core. With two or more, the capsule shows the layout in short letters, and a click on them switches to the next.

A computer keeps up to four keyboards. The first is the one you type your password with when the computer starts and at the login screen, so removing it asks first and says which keyboard takes its place.

Not yet. There is no key for switching keyboards yet. Click the letters in the capsule, or use Switch to … in the Palette.

Japanese, Korean and Chinese

These need an input method, which turns what you type into the language’s characters. Type japanese, korean, chinese, pinyin or input in the Palette:

Row Switches with
Type Japanese Ctrl+Space, or 半角/全角 on a Japanese keyboard
Type Korean Ctrl+Space, or 한/영 on a Korean keyboard
Type Chinese with Pinyin Ctrl+Space
Type Chinese with Zhuyin (Bopomofo) Ctrl+Space
Type Chinese with Cangjie Ctrl+Space

Enter installs what it needs, with your password once, and starts it. Ctrl+Space then switches between your keyboard and the input method in every app at once. Super+Space stays the Palette’s. Stop typing Japanese (and so on) removes it, after asking.

Not yet. Apps built on Electron, such as VS Code and Slack, need a setting of their own before they can use an input method. Vietnamese, Thai and the languages of India are not offered yet.

Turn Harmony off

If you would rather Super did only window and Core keys, Harmony can be turned off from the command line (below). Super+C and the other editing keys then do nothing special, and Ctrl is your editing key.

Your own keys

Takumi’s window and Core keys are in ~/.config/niri/takumi/defaults.kdl. Keys of your own go in ~/.config/niri/takumi/overrides.kdl, which is read last and never overwritten. The format is described in niri’s documentation. Leave Super+C, V, X, Z, A, S, F, W, T, N and , free: Harmony uses them.

Good to know. In a virtual machine without 3D graphics, the window and Core keys use Alt instead of Super (Alt+Space opens the Core), because the Mac keeps Command+Space for itself.

From the command line

takumi keys harmony off              # Super stops being the Command key
takumi keys harmony on               # and back
takumi keys harmony swap on          # left Alt and the Windows key trade places
takumi keys harmony swap off         # put them back
takumi keys layout                   # your keyboards
takumi keys layout add fr azerty     # add a keyboard
takumi keys layout remove de         # remove one, never the last
takumi keys layout next              # switch to the next
takumi keys input add japanese       # type Japanese; also korean, pinyin, zhuyin, cangjie
takumi keys input toggle             # the input method on or off
takumi keys pointer                  # natural scrolling, tap to click, speeds
takumi keys pointer natural off      # natural scrolling off
takumi keys pointer speed faster     # the pointer faster
takumi keys pointer repeat slower    # a held key repeats more slowly
takumi keys fn fkeys                 # F1 to F12 first; "media" for media keys first
takumi keys backlight cycle          # the keyboard light round its steps
takumi switch touchpad               # the touchpad off or on

Takumi OS 0.1.0, pre-alpha. These pages describe what Takumi does today; plans are marked as plans.