LSDISPLAY(1)
π LSDISPLAY(1) β the display list bestie π
okay so first things first: this is the manual page for lsdisplay, living in section 1 (User Commands) of the manual. yes she's in the big girl section. periodt. π
β¨ NAME β¨
lsdisplay β list connected displays with details and layout diagram π₯οΈπ¦
πΈ SYNOPSIS πΈ
lsdisplay [OPTIONS]
that's it. that's the whole synopsis. no positional args, no drama, just vibes and options. π
π DESCRIPTION π
So basically, lsdisplay lists all your connected displays/monitors and tells you literally everything about them: manufacturer, model, serial number, resolution, position, rotation, and connector type. like a full-on glow-up reveal for your hardware, no cap. β¨
And THEN β because she's extra in the best way β she also renders an ASCII art diagram showing the physical layout of your displays. visual representation?? we love to see it. π
Where does all this tea come from, you ask? Display identification is done by parsing EDID data straight out of /sys/class/drm/*/edid. Meanwhile, resolution and positioning info comes from xrandr(1), with a fallback to kscreen-doctor(1) or wlr-randr(1) when you're running a Wayland session. she's adaptable, she's flexible, she's everything. π
Think of her as the display-world equivalent of lscpu(1), lsusb(8), and lspci(8) β same energy, same family, but for display devices specifically. iykyk. π
π₯ OPTIONS π₯
--jsonβ dump all the display info as JSON. perfect for piping intojqand being a menace with data. π--short,-sβ compact output, one single line per display. short and sweet, she ate. π--no-layoutβ skips the ASCII art layout diagram. (sad, honestly, but valid if you're in a hurry.)--version,-Vβ shows the version number and peaces out. βοΈ--help,-hβ shows the help message and exits. the classic "help me bestie" move. π«Ά
π OUTPUT π
By default you get two sections, okay? two. that's the default vibe.
CONNECTED DISPLAYS
A whole table, bestie. Each display gets listed with: output name, resolution, position, diagonal size, manufacturer, model, connector type, serial number, rotation, and the primary flag. all the stats. all the lore. πβ¨
LAYOUT
An ASCII art diagram showing the relative positions and sizes of all your displays, with correct proportions. yes, correct proportions β she's not playing around, the geometry is real. ππ
π¦ EXAMPLES π¦
lsdisplay
lsdisplay --json
lsdisplay -s
lsdisplay --json | jq '.[].manufacturer'
look at that last one. piping into jq to grab just the manufacturers? that's main character energy fr fr. π₯
π FILES π
/sys/class/drm/card*/edidβ the EDID binary data for each display output. this is where she reads the identity tea from. β/sys/class/drm/card*-*/statusβ the connection status for each output port. plugged in or not, she'll know. π
π SEE ALSO π
xrandr(1), kscreen-doctor(1), lsgpu(1), lspci(8), lsusb(8), lscpu(1), edid-decode(1)
the whole friend group honestly. go say hi. π―ββοΈ
π BUGS π
Found a bug?? π Report it at https://github.com/AGuyMarc/lsdisplay/issues β please and thank you, she wants to be better. π«Ά
π AUTHOR π
Guy-Marc APRIN <2026@gm.casa>
NB: the contact email rotates yearly β so it's 2027@gm.casa in 2027, etc. year-by-year glow up on the inbox, we respect it. π
πΈ LICENSE πΈ
GPL-2.0. See LICENSE for the full text. read it, love it, respect it bestie. π
lowkey iconic, highkey useful. she's giving lscpu but make it displays. π β¨
this whole page is lsdisplay 0.2.1, brought to you May 2026 π β mwah, go list some displays. ππ¦πΈπ
π¦ where this page comes from
- ubuntu stonking: lsdisplay 0.2.1-2 Β· GPL-2.0-or-later
- π the page's license: GPL-2.0-or-later
- Copyright (C) 2026 Guy-Marc APRIN <2026@gm.casa>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms