scrotwmos

The tabs

This guide is for the person at an appliance’s keyboard. It says what each of the twelve tabs shows and which keys work in it. dom0 has no shell, so the tabs are how you see and control the machine.

How the tabs work

Press MOD+F1 through MOD+F12 to open a tab. MOD is the Super key. A bare F1 to F12 goes to your program.

Real keyboards and programs

A program in a world can send key presses. So a tab opened from a real keyboard belongs to that keyboard: a program cannot close it, switch it, or move its selection. These actions always need a real keyboard, on a tab a real keyboard opened:

A program can open a tab and look around in it. It cannot end anything, power anything off from a tab, or take a tab from you. A program can send the power key.

The lock

MOD+Shift+Delete locks the screen. Learn your world’s mark on the lock: a lock without it is a fake. scrotwmos-dom0(7) says how the lock works. Under the lock, only F10 opens, so you can sleep or power off.

Alerts

While an alert band is up, MOD+Fn still works: open F4 to read the alert, or F3 for the log. scrotwmos(7) explains the band and the codes.

F1 help

An index of sections: keys, tiling, layouts, window states, tutorial, panels, worlds, alerts, power, and about. Enter opens a section as its own page; Esc goes back to the index. The keys page lists every binding in force, with its line from scrotwmos.conf(5). About shows the version, the build date, the kernel, and the BIOS and microcode versions.

Keys: Esc close, or back on a page; Up, Down select a section, or scroll a page; Page Up, Page Down scroll a page; Enter open; h help.

F2 top

One row for each session: name, kind (vm, container, none), uid, state, cpu % (of one CPU), gpu %, memory in MiB, tasks, and uptime, with a CPU graph. Under them, the display GPU: on i915 a row for each engine (rcs0, vcs0, …), and a dom0 row for the compositor.

Enter opens the selected row:

d stops the selected session. It asks first, in a box: Stop session "<name>"?, its tasks and its memory. Only y stops it; any other key cancels.

Keys: Up, Down, Page Up, Page Down, Enter, d, y, h, Esc. h shows every key; Left and Right scroll the keys line when it does not fit.

F3 log

This boot’s log, newest at the bottom: dom0’s lines and the sessions’. At the bottom it follows new lines. Scrolled back, it stays put.

Keys: Up, Down, Page Up, Page Down, /, b, l, h, Backspace, Enter, Esc. h shows every key; Left and Right scroll the keys line when it does not fit.

F4 alerts

The alerts waiting (at most 16), a line for any that were lost, and the last eight you continued. Each row shows its status, its count when it came more than once, its session, and what happened, after the GPU when the alert names one. Under the rows, under what happened, is what to do about the selected alert. On a byol, F4 gives the byol’s words.

Enter opens the selected alert: what happened, what to do, its session, status, count, and the log (F3; on a byol, /var/log/swm-wl.log), then its code taken apart. F4 only reads. Continue an alert on its band.

The selection stays on its alert when a new alert moves the rows.

Keys: Up, Down, Page Up, Page Down, Enter, h, Esc.

F5 network

The top lines: Internet, Address, Route, DNS, Wi-Fi, Uplink, Standby, Sessions and Offline. Address, Route and DNS show only with a lease; Standby, the link that takes over, only in the mode both; Offline, the sessions without a network, only when there are some. When the network is down, the Internet line says why, such as not measured or ROM not approved; F9 measures and approves a card.

Wi-Fi. Under the header network saved security signal, each network seen and each one saved. The last row, Other network, joins a hidden network by its name. The last act’s result shows under the list: Result saved: <name>, deleted: <name>.

Key What it does
Up, Down select a network
Enter join it: a box takes its passphrase, 8 characters or more, shown as *; Enter joins, Esc cancels. On Other network, the box takes the name first
d delete a saved network and its passphrase; a box asks first, y deletes
w turn Wi-Fi off or on, until the next boot
u next uplink: change to the next uplink mode: wired first, Wi-Fi first, wired only, Wi-Fi only, both
Page Up, Page Down scroll the network top
h show every key and the uplink modes

w and u ask first, in a box, when they stop the link that carries the Internet now: y does it, any other key cancels.

The world keeps its saved networks and its mode. In both, wired carries the traffic, and Wi-Fi holds a lease to take over.

Network top. A row for each network card the net VM has, and one for each session: bytes and packets a second each way, drops, and a graph.

A network card added after the install gets no network until F9 measures and approves it.

F6 disks

The first line shows the backup state of the session in focus.

Enter on a disk shows its I/O graphs and its partitions. Page Up and Page Down scroll the tab when it does not fit.

Keys: Up, Down, Page Up, Page Down, Enter, h, Esc.

F7 usb

By default, the compositor takes the input devices present at boot and blocks those plugged in later. To let a new device in:

  1. Press r. A 30-second scan starts.
  2. Plug the device in. It shows as blocked.
  3. Select it with Up and Down, and press a. A box asks first; press y.

s stops the scan. Esc closes the tab and stops the scan too. d removes the selected accepted device, after a box that names what stops; press y. Enter on a device shows its detail: id, firmware, strings, speed, interfaces, power, who uses it, and whether it is remembered.

Keys: Up, Down, PgUp, PgDn, Enter, r, a, s, d, h, Esc.

F8 machine

At the top, fixed: CPU model and threads, CPU use, a bar for each thread, the CPU temperature; memory used and swap; with a battery, its charge and time left, and its power use while it discharges; uptime since boot.

Under it, scrolled: a row for each hardware sensor (fans, temperatures, voltages, currents, power; the CPU’s power from RAPL as power), then each firmware that reports a version (BIOS, EC, microcode, Intel ME or AMD PSP, GPU firmware, UEFI, Thunderbolt, disks). Enter opens the selected sensor: each reading on its own line, and its driver.

Keys: Up, Down, Page Up, Page Down, Enter, h, Esc. h shows every key; Left and Right scroll the keys line when it does not fit.

F9 iommu

What keeps each device away from memory it was not given.

The fixed lines at the top:

Below them, in one scrolling list:

Each record and each device row starts with >: Enter opens it.

Enter on a device shows its detail: its group, its state, its measure, and for a GPU its role, ATS, model, paths, gate result, cycle, preempt timeouts, and GPU hangs. gpu.md explains the GPU words.

Actions, from a real keyboard, each asked first in a box:

On Key What it does
a device held for its ROM Enter, then the password and Enter approve its ROM
a network card that waits for its measure Enter or m, then y measure it in a measure VM
a measured network card Enter, then y approve it; the next net VM gets it
a record d, then y delete it; its card is held until approved again

For a y question any other key cancels; Esc cancels the password box.

Keys: Up, Down, Page Up, Page Down, Enter, m, d, y, h, Esc. h shows every key; Left and Right scroll the keys line when it does not fit.

F10 power

Key What it does
l locks; the world’s password unlocks it
s locks, then sleeps; it wakes to the lock
r asks first; stops every session, then reboots
p asks first; stops every session, then powers off

Under the lock there is no l. The box for r and p says how many sessions stop, when any run. Only y does it; any other key cancels.

The body has one line: last sleep and what woke the machine (USB, the keyboard, the power button, the clock, Wi-Fi, the network), the monitor’s line when that is not known, or none since boot. A closed lid sleeps the machine too. The power key does nothing from the start of a sleep until 5 seconds after the wake.

Keys: l, s, r, p, y, h, Esc.

F11 backups

The points of your home, and its backup place, for the session in focus. A point is your home as it was at that hour. The backup place is a USB disk the copies go to.

Key What it does
Enter open the point: when it was taken, its size, where it is mounted
n take a point now
b browse the point’s files, mounting it first
m mount the point read-only at /points/<hour>
u unmount the point
d delete points: o the old ones now, or a all of them after your password
o start or stop hourly points for this session’s home
s show the share’s points, /share; again for your home’s
p set a USB disk as the backup place
h every key and what it does; Left/Right show the keys past the line’s end

Any number of points can be mounted at once. The hour is the point’s UTC hour, for example /points/20261028T13Z. To restore a file, copy it out of the mounted point in the session.

F12 settings

The pointer and keyboard of this world: speed, acceleration, natural scrolling, tap to click, left-handed, cursor size, key repeat delay and rate. A change is saved and takes effect at once.

Keys: Up, Down select; + increases, - decreases the selected setting; h shows every key; Esc. On an on/off setting, + sets on and - sets off. = and the keypad + and - work too.