Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Call for help: Fluxbox display "(on $HOSTNAME)" for X11 forwarding

I recently discovered that my X11-forwarded client windows do not display the appended string "(on $CLIENT)" like I recall seeing in the past.

Upon some research, including a Unix Stack Exchange question, I learned that it depends on the window manager! It's not a built-in of Xorg.

Xfwm4 file client.c#215 adds this bit inside function clientCreateTitleName().

Fluxbox file WinClient.cc#322 in function WinClient::updateTitle() would be where you add the logic for adding "(on $CLIENT)" string.

If anybody likes C++ development and wants to write me a custom patch and earn my dying thanks, I would greatly appreciate it! Maybe someday I'll learn how to do this part. If a patch for this ever gets written, I would have to build fluxbox myself with the patch, which I am willing to do.

References

https://salsa.debian.org/xfce-team/desktop/xfwm4 https://gitlab.xfce.org/xfce/xfwm4

http://fluxbox.org/download/

Comments