d.info(1)

πŸ’– d.info β€” bestie edition πŸ’–

okay so this is d.info(1) from the GRASS GIS User's Manual and it's literally the "hey what's my display doing rn" command. it lives in the GRASS GIS manual, section 1. come sit, we're gonna read it together 🫢


✨ NAME ✨

d.info β€” displays information about the active display monitor. the display monitors themselves? those are maintained by d.mon. so like, d.mon is the momager and d.info is the one reading out the stats πŸ’…

🌸 KEYWORDS 🌸

display, graphics, monitors

πŸ¦‹ SYNOPSIS πŸ¦‹

d.info
d.info --help
d.info [-rdfebg]  [--help]  [--verbose]  [--quiet]  [--ui]

πŸŽ€ Flags πŸŽ€

  • -r β€” show the screen rectangle (left, right, top, bottom)
  • -d β€” show the screen dimensions (width, height)
  • -f β€” show the active frame rectangle
  • -e β€” show the frame dimensions (width, height)
  • -b β€” show the screen rectangle of the current region
  • -g β€” show the geographic coordinates and resolution of the entire frame
  • --help β€” prints the usage summary, aka the little cheat sheet
  • --verbose β€” verbose module output (chatty mode, we love her)
  • --quiet β€” quiet module output (shhh era)
  • --ui β€” force launching the GUI dialog

πŸ’œ DESCRIPTION πŸ’œ

d.info displays information about the active display monitor. and the display monitors are maintained by d.mon. that's it, that's the whole job, and she does it flawlessly no cap ✨

πŸ“ EXAMPLES πŸ“

okay so watch this, start a monitor then ask her for the rectangle:

d.mon start=cairo
d.info -r
rectangle: 0.000000 640.000000 0.000000 480.000000

ate. no crumbs. πŸ”₯

⭐ NOTES ⭐

  • Units are screen pixels β€” except for the -g flag, where map units are used. so don't mix those up bestie, i'm begging 😭
  • when you get two numbers, the format is: width, height
  • when you get four numbers, the format is: left, right, top, bottom
Note: GRASS display pixel coordinates are measured from the top left. so like, origin is up in the corner, not down at the bottom like some other coordinate systems would have you believe. iykyk πŸ™ˆ

🌈 SEE ALSO 🌈

  • d.mon
  • d.vect
  • d.rast

πŸ‘‘ AUTHOR πŸ‘‘

Glynn Clements

πŸ’– SOURCE CODE πŸ’–

Available at: d.info source code (history)

Accessed: Saturday Jan 17 05:40:35 2026

Main index | Display index | Topics index | Keywords index | Graphical index | Full index

Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual


and that's the whole page, bestie πŸŽ€ huge shoutout to GRASS 8.4.2 and to d.info(1) herself β€” go ask your monitor how she's doing, she'll tell you fr fr πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from