d.info(1grass)
β¨ d.info β bestie, let's peek at your display monitor β¨
okay so this is the GRASS User's Manual page for d.info, and it's genuinely one of the most low-key useful little tools in the whole display stack. no cap.
π NAME π
d.info β Displays information about the active display monitor.
and like, real talk: display monitors are maintained by d.mon. d.mon is the main character holding everything together. d.info is just here to spill the tea about what's going on with it. π«Ά
π·οΈ KEYWORDS π·οΈ
display, graphics, monitors
π SYNOPSIS π
d.info
d.info --help
d.info [-rdfebg] [--help] [--verbose] [--quiet] [--ui]
π Flags π
-rβ Display screen rectangle (left, right, top, bottom) β it's giving β¨coordinatesβ¨-dβ Display screen dimensions (width, height)-fβ Display active frame rectangle-eβ Display frame dimensions (width, height)-bβ Display screen rectangle of current region-gβ Display geographic coordinates and resolution of entire frame--helpβ Print usage summary (hi bestie, what do u do again π)--verboseβ Verbose module output (she talks a LOT, we love her for it π )--quietβ Quiet module output (she's in her silent era π€«)--uiβ Force launching GUI dialog (pop-up windows, very dramatic, very iconic πͺ)
πΈ DESCRIPTION πΈ
d.info displays information about the active display monitor. display monitors are maintained by d.mon. that's it. that's the whole vibe. it looks at the monitor that's currently slaying and tells u everything about it fr fr π
β¨ EXAMPLES β¨
okay so watch this, this is the moment:
d.mon start=cairo
d.info -r
rectangle: 0.000000 640.000000 0.000000 480.000000
start the cairo monitor, ask for the rectangle with -r, and boom β she gives u the numbers. no notes. ate. π
π NOTES π
- Units are screen pixels β except for the
-gflag, where map units are used. so if ur numbers look cursed, check which flag u used bestie π - Where two numbers are given, the format is:
width, height. - Where four numbers are given, the format is:
left, right, top, bottom.
Note: GRASS display pixel coordinates are measured from the top left. so the origin is up in the corner. do not come for me about the y-axis, that's just how it is π«Ά
π SEE ALSO π
d.mon, d.vect, d.rast
π AUTHOR π
Glynn Clements β an absolute legend, we stan π«‘
π₯ SOURCE CODE π₯
Available at: d.info source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit: a82a39f673b97fafcfce1604dc3e6015cb96487a
Main index | Display index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
and that's the whole page bestie!! π this was d.info from the GRASS 8.5.0 Reference Manual, and honestly? she's everything. go check ur monitor. go on. πβ¨ππ¦π
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms