gtk4-broadwayd(1)

πŸ’… NAME πŸ’…

gtk4-broadwayd β€” bestie, it's literally the Broadway display server πŸ‘‘


✨ SYNOPSIS ✨

gtk4-broadwayd [OPTIONS...] <DISPLAY>
gtk4-broadwayd --port=PORT --address=ADDRESS <DISPLAY>
gtk4-broadwayd --unixaddress=ADDRESS <DISPLAY>

okay so that's the whole vibe: you give it a <DISPLAY>, you can sprinkle some options on top, and it does its thing πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

So gtk4-broadwayd is a display server for the Broadway GDK backend. What does that mean for us? It means multiple GTK applications can all show their windows in the same web browser β€” they just all connect to gtk4-broadwayd and boom, shared screen energy 🌈✨

When you're using gtk4-broadwayd, you tell it which display number to use, and you prefix that number with a colon, just like X does it. Feral sibling behavior, but iconic πŸ‘‘ The default display number is 0.

gtk4-broadwayd :5

Then you point your web browser at http://127.0.0.1:8085 and just... look at it. Obsessed 🫢

And to start your applications, you do this:

GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk4-demo

That's it, that's the whole ritual fr fr πŸ’€


πŸŽ€ OPTIONS πŸŽ€

  • --port PORT β€” use the PORT you pass in for the HTTP connection instead of the default, which is 8080 + (DISPLAY - 1). Math but make it fashion ✨
  • --address ADDRESS β€” use the ADDRESS you pass in for the HTTP connection instead of the default, which is http://127.0.0.1. Local queen stays local πŸ’œ
  • --unixsocket ADDRESS β€” use the given ADDRESS as the unix domain socket address. Heads up bestie: this one overrides both --address and --port, and it's only available on Unix-like systems. No cap. 🧚

lowkey important reminder: the synopsis up there says --unixaddress=ADDRESS, while the options list calls it --unixsocket. Both are exactly what the page says, so I'm not touching either one β€” iykyk πŸ™ˆ

that's the whole page babes, you ate it πŸ’…

source is GTK, manual page gtk4-broadwayd(1), and yes it's giving classic GTK manpage energy 🌸 bye bestie, go run your display server πŸ¦‹βœ¨

πŸ“¦ where this page comes from
  • ubuntu stonking: libgtk-4-bin 4.24.1+ds-1 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later AND sun-permissive AND lcs-telegraphics-permissive AND X11R5-permissive AND MIT AND BSD-3-clause-Google AND Apache-2.0 AND CC0-1.0 AND ZPL-2.1
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms