Xephyr(1)
π Xephyr π
okay bestie, so this is the manual page for Xephyr β and it's part of the General Commands Manual crew, iykyk. it's an X server that outputs to a window on a pre-existing X display. let's get into it π«Ά
β¨ NAME β¨
Xephyr β an X server that outputs to a window on a pre-existing X display. literally the whole vibe in one line π
πΈ SYNOPSIS πΈ
Xephyr [:display] [option ...]
π¦ DESCRIPTION π¦
so Xephyr is a kdrive server that outputs to a window on a pre-existing "host" X display. think Xnest but with support for modern extensions like composite, damage and randr. no cap, that's the glow-up. β¨
unlike Xnest, which is an X proxy β meaning it's limited to the capabilities of the host X server β Xephyr is a real X server that uses the host X server window as a "framebuffer" via fast SHM XImages. it's giving main character energy fr fr. π
it also has support for "visually" debugging what the server is painting. so you can literally watch the paint happen. iconic.
π OPTIONS π
the server accepts all the standard options of Xserver(1), plus these extra ones:
-screen widthxheightβ sets the screen size. you pick how big, bestie.-parent idβ uses existing window id. and heads up: if a-screenargument follows a-parentargument, this screen is embedded into the given window. cute little nesting moment. πͺ-host-cursorβ sets 'cursor acceleration': the host's cursor is reused. honestly this is only really there to aid debugging by avoiding server paints for the cursor. the performance improvement is negligible, so don't come for me expecting speed. π-resizeableβ allows theXephyrwindow to be resized, even if it's not embedded into a parent window. by default, theXephyrwindow has a fixed size. so if you want wiggle room, this is your girl. π-no-host-grabβ disables grabbing the keyboard and mouse. that's it, that's the option.
π₯ SIGNALS π₯
send a SIGUSR1 to the server (like, e.g. pkill -USR1 Xephyr) to toggle the debugging mode. πβ¨
in this mode, red rectangles are painted to screen areas getting painted, before painting the actual content. so you see the red boxes first, then the real stuff. very "behind the scenes" of it all.
the delay between this can be altered by setting a XEPHYR_PAUSE env var to a value in micro seconds. tune it to your heart's content. β±οΈ
π CAVEATS π
ngl, there's some stuff you should know:
- Rotated displays are currently updated via full blits. this is slower than a normal orientated display. debug mode will therefore not be of much use rotated. π
- the
'-host-cursor'cursor is static in its appearance. no animation, just a still little guy. - the build gets a warning about
'nanosleep'. "i think the various'-D'build flags are causing this. i haven't figured as yet how to work round it. it doesn't appear to break anything however." (that's the author talking, and honestly, relatable.) π« - Keyboard handling is basic but works. lowkey fine.
- Mouse button 5 probably won't work. rip button 5. π
none of these are dealbreakers, they're just the honest tea. β
π SEE ALSO π
π AUTHOR π
Matthew Allum <mallum@o-hand.com> β 2004. thank you for your service, legend. π«‘
and that's the whole page, bestie!! this one's from X Version 11, shipping as xorg-server 21.1.25 β Xephyr(1), periodt. πβ¨π
π¦ where this page comes from
- alpine 3.24: xorg-server-doc 21.1.25-r0 Β· MIT
- arch rolling: xorg-server-xephyr 21.1.25-2 Β· LicenseRef-Adobe-Display-PostScript AND BSD-3-Clause AND LicenseRef-DEC-3-Clause AND HPND AND LicenseRef-HPND-sell-MIT-disclaimer-xserver AND HPND-sell-variant AND ICU AND ISC AND MIT AND MIT-open-group AND NTP AND SGI-B-2.0 AND SMLNJ AND X11 AND X11-distribute-modifications-variant
- fedora 43: xorg-x11-server-Xephyr 21.1.25-2.fc43 Β· Adobe-Display-PostScript AND BSD-3-Clause AND DEC-3-Clause AND HPND AND HPND-sell-MIT-disclaimer-xserver AND HPND-sell-variant AND ICU AND ISC AND MIT AND MIT-open-group AND NTP AND SGI-B-2.0 AND SMLNJ AND X11 AND X11-distribute-modifications-variant
- fedora 44: xorg-x11-server-Xephyr 21.1.25-2.fc44 Β· Adobe-Display-PostScript AND BSD-3-Clause AND DEC-3-Clause AND HPND AND HPND-sell-MIT-disclaimer-xserver AND HPND-sell-variant AND ICU AND ISC AND MIT AND MIT-open-group AND NTP AND SGI-B-2.0 AND SMLNJ AND X11 AND X11-distribute-modifications-variant
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms