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 -g flag, 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