Skip to main content

Developer tools

tdt layout​

Every window that calls taunus_devtools::register("main", &ui) (and serve("taunus-hello") once per process) can be inspected from the PC:

tdt layout # every visible window: the element tree with positions, sizes, text and focus
tdt layout -a taunus-hello
tdt screenshot shot.png

Settings › Developer › Show layout bounds outlines every element on the device.

Frames per second​

tdt ui fps on shows a frame counter; each app logs its frame rate to $XDG_RUNTIME_DIR/taunus/fps-<app>.log (taunus-perf). TAUNUS_FPS_TRACE=1 prints every frame gap.

cargo run --release -p taunus-gallery shows every theme widget, in both form factors, with the wallpaper's colours. Look there before building your own control. It is also in debug images.

Logs​

The session's programs log to /tmp/<program>.log (the shell, clockd, accountsd, castd, PipeWire); the shell keeps the log of a crashed run as /tmp/taunus-shell.crash.log. Root services log to /var/log/. Read them with tdt shell.

Apps started from the home screen have no log today: their output is discarded. Run an app from tdt shell to see it.

//2bi: every app's output goes to a per-app log in the runtime directory, and tdt logs [APP] [-f] shows it.