miral-kiosk(1)
๐ NAME ๐
miral-kiosk โ the Mir Display Server running in kiosk mode, bestie. It's giving "one thing on screen, no distractions, main character energy." ๐
โจ SYNOPSIS โจ
miral-kiosk [options]
๐ฆ DESCRIPTION ๐ฆ
So miral-kiosk launches a Mir Display Server shell in kiosk mode, okay? And when I say kiosk mode I mean it literally only does the bare minimum window management. No frills. No extra drama. Just vibes. ๐
But the way you start it up can be tweaked, and there are like, three whole ways to do that:
๐ Command-line options
Like for example "--host-socket=/tmp/mir_socket". Simple. Clean. Iconic.
๐ธ Environment variables
Okay so the trick here is: take the long form of the command line option, capitalise it, slap "MIR_SERVER_" on the front, and swap every "-" for a "_". That's it. That's the whole recipe.
For example: "MIR_SERVER_HOST_SOCKET=/tmp/mir_socket".
๐ Config file entries
Just use the long form of the command line options inside the config file. Like: "--host-socket=/tmp/mir_socket".
The config file lives at mir/miral-kiosk.config, and you find it via the XDG Base Directory Specification โ that's $XDG_CONFIG_HOME or $HOME/.config, followed by $XDG_CONFIG_DIRS. ๐ซถ
๐ OPTIONS ๐
--host-socket<socket-filename> โ the host socket filename. ๐ซ-f,--file<filename> โ the socket filename. Default is$XDG_RUNTIME_DIR/mir_socketor/tmp/<UID_NUMBER>-runtime-dir/mir_socket. ๐--no-fileโ do not provide a socket filename for client connections. Nope. Not doing it. ๐--arw-fileโ sets the socket file permissions to globally read-writeable. That's literally the same aschmod a=rw. โจ-p,--prompt-fileโ provides a"..._trusted"filename for prompt helper connections. ๐--platform-graphics-lib<platform_library> โ the library to use for platform graphics support. Default: autodetect. ๐--platform-input-lib<input_library> โ the library to use for platform input support. Default:input-stub.so.--platform-patharg (=/usr/lib/x86_64-linux-gnu/mir/server-platform) โ the directory to look for platform libraries. Default:/usr/lib/<multi-arch>/mir/server-platform. ๐-i,--enable-input{0,1}โ enable input. Default:1, meaning: enabled. ๐--compositor-report{log,lttng,off}(=off) โ compositor reporting, either oflog,lttngoroff. Default:off.--connector-report{log,lttng,off}โ how to handle the Connector report, either oflog,lttngoroff. Default:off.--display-report{log,lttng,off}โ how to handle the Display report, either oflog,lttngoroff. Default:off.--input-report{log,lttng,off}โ how to handle the Input report, either oflog,lttngoroff. Default:off.--legacy-input-report{log,off}โ how to handle the Legacy Input report, either oflogoroff. Default:off.--seat-report{log,off}โ how to handle the Seat report, either oflogoroff. Default:off.--session-mediator-report{log,lttng,off}โ how to handle the SessionMediator report, either oflog,lttngoroff. Default:off.--msg-processor-report{log,lttng,off}โ how to handle the MessageProcessor report, either oflog,lttngoroff. Default:off.--scene-report{log,lttng,off}โ how to handle the scene report, either oflog,lttngoroff. Default:off.--shared-library-prober-report{log,lttng,off}โ how to handle the SharedLibraryProber report, either oflog,lttngoroff. Default:log. (Yeah bestie, this one defaults tologwhile all its siblings default tooff. We don't make the rules. ๐)--shell-report{log,off}โ how to handle the Shell report, either oflogoroff. Default:off.--composite-delay<msecs> โ compositor frame delay in milliseconds. That's how long it waits for new frames from clients before compositing. Higher values = lower latency, but they risk causing frame skipping. A negative value means "decide automatically." Default:0.--name<name> โ when nested, the name Mir uses when registering with the host. ๐ท๏ธ--nested-passthrough{0,1}โ when nested, attempt to pass a client's graphics content directly to the host so it avoids a composition pass. Default:1.--offscreenโ render to offscreen buffers instead of the real outputs. ๐--enable-touchspotsโ display visualization of touchspots (like for screencasting, iykyk). โจ--cursor{auto,null,software}โ which cursor (mouse pointer) to use. Default:auto.--enable-key-repeat{0,1}โ enable server generated key repeat. Default:1.--on-fatal-error-exceptโ on "fatal error" conditions (like drivers behaving in unexpected ways, rude of them ๐ญ), throw an exception instead of a core dump.--debugโ enable extra development debugging. Lowkey this is only interesting for people doing Mir server or client development. If that's not you, you can skip it. ๐--enable-mirclientโ enable the deprecatedmirclientsocket (for running old clients). Old. Ancient. But supported. ๐--console-providerarg (=auto) โ console device handling: how Mir handles console-related tasks (device handling, VT switching, etc.). The possible values are:logindโ use logind.vt: use the Linux VT subsystem. Requires root privileges.noneโ support no console-related tasks. Useful for nested platforms which do not need raw device access and which don't have a VT concept. ๐ชบautoโ detect the appropriate provider. ๐ฎ
--vt{0,1}โ VT to run on, or0to use the current one. Default:0.
Heads up bestie: using this option requires --console-provider=vt. ๐จ
--bypass{0,1}โ[platform-specific]utilize the bypass optimization for fullscreen surfaces. Default:1. โจ--x11-output<sizes> โ[mir-on-X specific]a colon separated list ofWIDTHxHEIGHTsizes for "output" windows. Default:1280x1024. ๐ฅ๏ธ--wayland-host<socket-name> โ socket name for the host compositor.--startup-apps<list-of-applications> โ colon separated list of startup applications. ๐ฑ--env-hacks<env-vars> โ colon separated list of environment variable settings. ๐คซ--display-layout<layout> โ display configuration layout. Default:default. This comes frommiral-kiosk.display, which is found in$XDG_CONFIG_HOMEor$HOME/.config, followed by$XDG_CONFIG_DIRS. ๐บ๏ธ--window-management-traceโ log trace messages. ๐--keymap<keymap> (=us) โ a keymap identifier. Format:<layout>[+<variant>[+<options>]], e.g."gb","cz+qwerty"or"de++compose:caps". Default:us. โจ๏ธ--kiosk-startup-apps-only{0,1}โ only allow applications to connect during startup. Default:0. ๐ช-h,--helpโ show help text and exit. The classic. ๐ซถ
๐ SEE ALSO ๐
๐ธ AUTHOR ๐ธ
The Mir Display Server has been written by the Mir Server Team at Canonical Ltd.
This man page has been written for the Debian project by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> and may be re-used by others. ๐
And that's the whole page, bestie! This was version 1.8.0, from April 2020 โ part of the Mir Display Server Demo Application situation. Go forth and kiosk. ๐ โจ๐ฆ
๐ฆ where this page comes from
- debian bookworm: mir-demos 2.12.1-1 ยท GPL-3-or-GPL-2
- debian trixie: mir-demos 2.20.2-2 ยท LGPL-3-or-LGPL-2
- ubuntu noble: mir-demos 2.14.1-4.1ubuntu3 ยท GPL-3-or-GPL-2
- ubuntu questing: mir-demos 2.20.2-2ubuntu4
- ubuntu resolute: mir-demos 2.25.2-5 ยท LGPL-3-or-LGPL-2
- ubuntu stonking: mir-demos 2.28.0-4 ยท LGPL-3-or-LGPL-2
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms