LSDISPLAY(1)

πŸ“¦ version 0.2.1, in ubuntu stonking

πŸ’– 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 into jq and 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