[GH-ISSUE #1350] Don't overwrite window title when attaching to xpra display #929

Open
opened 2026-05-05 07:10:32 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @cryzed on GitHub (Jun 26, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1350

Currently when firejail attaches to the created xpra display it overwrites the window title with "firejail x11 sandbox". I realize that it's important for users to know if the window is X11 sandboxed or not, but using a xpra string-template that preserves the window title would be much nicer (e.g. @title@ (Firejail X11 Sandbox)), or alternatively, not messing with the window title at all and let users customize this option either in /etc/xpra/xpra.conf or using xpra-extra-params in /etc/firejail/firejail.config. At the moment any custom setting is simply overriden, resulting in basically useless window titles.

Originally created by @cryzed on GitHub (Jun 26, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1350 Currently when firejail attaches to the created xpra display it [overwrites](https://github.com/netblue30/firejail/blob/e4b03bc316965e6e27bb88d340a5fe0b34669ca1/src/firejail/x11.c#L766) the window title with `"firejail x11 sandbox"`. I realize that it's important for users to know if the window is X11 sandboxed or not, but using a xpra string-template that preserves the window title would be much nicer (e.g. `@title@ (Firejail X11 Sandbox)`), or alternatively, not messing with the window title at all and let users customize this option either in `/etc/xpra/xpra.conf` or using `xpra-extra-params` in `/etc/firejail/firejail.config`. At the moment any custom setting is simply overriden, resulting in basically useless window titles.
gitea-mirror added the
enhancement
label 2026-05-05 07:10:32 -06:00
Author
Owner

@netblue30 commented on GitHub (Jun 27, 2017):

I'll put something in to fix it. We already have this feature for Xephyr in /etc/firejail/firejail.config

<!-- gh-comment-id:311338206 --> @netblue30 commented on GitHub (Jun 27, 2017): I'll put something in to fix it. We already have this feature for Xephyr in /etc/firejail/firejail.config
Author
Owner

@rusty-snake commented on GitHub (Aug 4, 2021):

Backlink #3331

<!-- gh-comment-id:892674723 --> @rusty-snake commented on GitHub (Aug 4, 2021): Backlink #3331
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#929
No description provided.