mir_demo_server(1)
π NAME π
mir_demo_server β Mir Display Server Demo π¦ (it's the demo server bestie, she's a whole vibe)
πΈ SYNOPSIS πΈ
mir_demo_server [options]
β¨ DESCRIPTION β¨
Okay so real talk: this launches a Mir server demo session. That's the whole thing. Launch it, vibe with it, slay. π
But listen β you can tweak how the Mir demo server starts up, and there are three ways to do it, bestie:
- Command-line options: e.g.
"--host-socket=/tmp/mir_socket". - Environment variables: take the long form of the command line option, Capitalise it, prefix it with
"MIR_SERVER_", and put"_"in place of"-". E.g."MIR_SERVER_HOST_SOCKET=/tmp/mir_socket". - Config file entries: just use the long form command line options in the configuration file. E.g.
"--host-socket=/tmp/mir_socket".
And where does the config file live, you ask? The config file (mir/mir_demo_server.config) is located via the XDG Base Directory Specification. That means $XDG_CONFIG_HOME or $HOME/.config, followed by $XDG_CONFIG_DIRS. π Go find her, she's in there.
π OPTIONS π
Okay this is the long part, but every single one of these matters so we're doing all of them. No skipping. Not me being thorough or anything. π
--host-socket <socket-filename>β Host socket filename.-f [ --file ] <filename>β Socket filename (default:$XDG_RUNTIME_DIR/mir_socketor/tmp/<UID_NUMBER>-runtime-dir/mir_socket).--no-fileβ Do not provide a socket filename for client connections. π«--arw-fileβ Set socket file permissions to globally read-writeable (equivalent tochmod a=rw).-p [ --prompt-file ]β Provide a"..._trusted"filename for prompt helper connections.--platform-graphics-lib <platform_library>β Library to use for platform graphics support (default: autodetect).--platform-input-lib <input_library>β Library to use for platform input support (default:input-stub.so).--platform-path arg (=/usr/lib/x86_64-linux-gnu/mir/server-platform)β 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 to 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 to 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). π (yes, this one defaults tolog, everyone else isoff, she's special)--shell-report {log,off}β How to handle the Shell report, either oflogoroff(default:off).--composite-delay <msecs>β Compositor frame delay in milliseconds (how long to wait for new frames from clients before compositing). Higher values result in lower latency but 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 to avoid a composition pass (default:1).--offscreenβ Render to offscreen buffers instead of the real outputs.--enable-touchspotsβ Display visualization of touchspots (e.g. for screencasting).--cursor {auto,null,software}β 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 (e.g. drivers behaving in unexpected ways) throw an exception (instead of a core dump).--debugβ Enable extra development debugging. This is only interesting for people doing Mir server or client development.--enable-mirclientβ Enable deprecated mirclient socket (for running old clients). π« she's deprecated, we still love her--console-provider arg (=auto)β Console device handling how Mir handles console-related tasks (device handling, VT switching, etc.) Possible values given: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 conceptauto- detect the appropriate provider.
--vt {0,1}β VT to run on or0to use current (default:0).
Usage of 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] Colon separated list ofWIDTHxHEIGHTsizes for"output"windows (default:1280x1024).--wayland-host <socket-name>β Socket name for 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-config {clone,sidebyside,single,static=<filename>}β Display configuration, either ofclone,sidebyside,single, orstatic=<filename>(default:sidebyside).--translucent {on,off}β Select a display mode with alpha (default:off).--log-host-lifecycleβ Write lifecycle events from host to log.--glogβ Usegoogle::GLogfor logging.--glog-stderrthreshold <level>β Copy log messages at or above this level to stderr in addition to logfiles (default:2).
The numbers of severity levels INFO, WARNING, ERROR, and FATAL are 0, 1, 2, and 3, respectively.
--glog-minloglevel arg (=0)β Log messages at or above this level. The numbers of severity levelsINFO,WARNING,ERROR, andFATALare0,1,2, and3, respectively (default:0).--glog-log-dir <directory-path>β Log files are written into this directory.--x11-display-experimental <x11-display-number>βDISPLAYsocket to use for experimental X11 support (default: none).--xwayland-path <fullpath-to-Xwayland>β Path to Xwayland executable (default:/usr/bin/Xwayland).--wayland-extensions <wayland-extensions-list>β Colon separated list of wayland extensions to enable (enabled by default:
wl_shellxdg_wm_base
zwlr_layer_shell_v1
zxdg_output_manager_v1
zxdg_shell_v6
)
--window-management-traceβ Log trace messages.--custom-compositor {adorning,default}β Select an alternative compositor (default:default)--background-color {purple,blue,grey,black}β Fill the background of the adorning compositor with a color, either ofpurple,blue,grey, orblack(default:black.) π£--disable-while-typing {0,1}β Disable touchpad while typing on keyboard configuration (default:0).--mouse-acceleration {none,adaptive}β Select acceleration profile for mice and trackballs (default:adaptive).--mouse-cursor-acceleration-bias <accel>β Constant factor (+1) to velocity or bias to the acceleration curve within the range[-1.0, 1.0]for mice (default:0).--mouse-scroll-speed-scale <speed-scale>β Scales mice scroll events, use negative values for natural scrolling (default:1).--touchpad-cursor-acceleration-bias <accel>β Constant factor (+1) to velocity or bias to the acceleration curve within the range[-1.0, 1.0]for touchpads (default:0).--touchpad-scroll-speed-scale <speed-scale>β Scales touchpad scroll events, use negative values for natural scrolling (default:-1).--touchpad-scroll-mode <mode>β Select scroll mode for touchpads, with<mode>being either oftwo-fingeroredge(default:two-finger).--touchpad-click-mode {area,finger-count}β Select click mode for touchpads (default:finger-count).--timeout <secs>β Seconds to run before exiting.--cursor-theme <cursor-theme>β Colon separated cursor theme list (e.g."DMZ-Black", default:DMZ-White).--print-input-eventsβ List input events onstd::cout.--screen-rotationβ Rotate screen onCtrl-Alt-<Arrow>.--test-client <executable>β Client executable.--test-timeout <secs>β Seconds to run before sendingSIGTERMto client (default:10).-h [ --help ]β Show this help text and exit.
π¦ 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. π«Ά
okay and that's the whole page bestie, you ate that π
for the record, this is from the mir_demo_server(1) manual, version 1.8.0, dated April 2020 β shoutout to the Mir Server Team at Canonical and to Mike Gabriel for writing the man page for Debian. periodt. πβ¨π
π¦ where this page comes from
- debian bookworm: mir-test-tools 2.12.1-1 Β· GPL-3-or-GPL-2
- debian trixie: mir-test-tools 2.20.2-2 Β· LGPL-3-or-LGPL-2
- ubuntu noble: mir-test-tools 2.14.1-4.1ubuntu3 Β· GPL-3-or-GPL-2
- ubuntu questing: mir-test-tools 2.20.2-2ubuntu4
- ubuntu resolute: mir-test-tools 2.25.2-5 Β· LGPL-3-or-LGPL-2
- ubuntu stonking: mir-test-tools 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