BROADWAYD(1)
π BROADWAYD β ok bestie, let's talk about the Broadway display server
(that's broadwayd from the User Commands manual, if you're keeping track π)
β¨ NAME β¨
broadwayd β the Broadway display server, aka the little server that makes your GTK+ windows show up in a browser instead of on a screen. no cap. π¦
πΈ SYNOPSIS πΈ
broadwayd [--port PORT] [--address ADDRESS] [--unixsocket ADDRESS]
[:DISPLAY]
π DESCRIPTION π
okay so. broadwayd is a display server for the Broadway GDK backend. what that means in group-chat terms: it lets multiple GTK+ applications all put their windows up in the same web browser, just by connecting to broadwayd. iconic behaviour honestly. π
when you're using broadwayd, you gotta tell it which display number to use, prefixed with a colon β literally just like X does it. and if you don't say anything? the default display number is 0. π
broadwayd :5
then you point your web browser at http://127.0.0.1:8085. yes, that port. that's the one. β¨
and you start your apps like this, bestie:
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk3-demo
you can also add password protection for your session π
by creating a file in $XDG_CONFIG_HOME/broadway.passwd or $HOME/.config/broadway.passwd with a crypt(3) style password hash inside. a simple way to generate that hash is with openssl:
openssl passwd -1 > ~/.config/broadway.passwd
lowkey obsessed with how easy that is. one line and you're locked in. π₯
π OPTIONS π
--portβ use PORT as the HTTP port instead of the default, which is8080 + (DISPLAY - 1). yes, the default does math. it's giving β¨calculatedβ¨.--addressβ use ADDRESS as the HTTP address instead of the defaulthttp://127.0.0.1:PORT. main character energy, your own address. π--unixsocketβ use ADDRESS as the unix domain socket address. this one is powerful, ok? it overrides--addressand--port. and heads up: it's available only on Unix-like systems. π
π«Ά and that's the whole page, bestie
source: GTK+, and it's the BROADWAYD(1) page from the User Commands manual section. periodt. ππΈπ¦ go run broadwayd :5 and make something pretty.
π¦ where this page comes from
- fedora 43: gtk3 3.24.52-1.fc43 Β· LGPL-2.0-or-later
- fedora 43: gtk3 3.24.52-1.fc43 Β· LGPL-2.0-or-later
- fedora 44: gtk3 3.24.52-1.fc44 Β· LGPL-2.0-or-later
- fedora 44: gtk3 3.24.52-1.fc44 Β· LGPL-2.0-or-later
- ubuntu resolute: libgtk-3-bin 3.24.52-0ubuntu1 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
- ubuntu stonking: libgtk-3-bin 3.24.52-0ubuntu1 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms