-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qubes-style forced window decoration #91
Comments
Secondly, of course, we can run Weston or whatever, but now we're purely relying on client side decorations, which is great as long as the client isn't trying to trick you with a UI redress attack. |
Container applications running with
For other X servers like Xephyr and nxagent I don't have an idea right now.
There is some work done to port xpra to Python 3 and GTK 3. When that task is complete, xpra client (that shows the window) should run on Wayland without X and could provide a similar colored border. Though, I doubt xpra server will be able to forward pure Wayland applications, except it will act as a Wayland compositor on itself. Most probably that is not on the current roadmap of xpra development. |
I have added a new option I have still no idea for windows created with e.g. |
Whoa, that's some maintainer response! Thanks :) Re: xpra; you're right! I was working with When using |
You are right - xpra shows the host-hostname with
Yes. The container application sets a window title, but xpra controls it. x11docker runs two instances of xpra, xpra server and xpra client. xpra is designed to run across a network where these two instances would run on different machines. The container application runs on an invisible X server: Xvfb, Xdummy or Xwayland, a virtual frame buffer (vfb) in xpra terms. On that vfb xpra server acts as a window manager. xpra server forwards the window content from the vfb to xpra client. The host X server has its own window manager where xpra client is a regular X client. Because xpra client is the real client of the host X server, it controls the window title. It can be customized. From
x11docker now sets
sway runs Xwayland to support X applications. If you run x11docker with In any case, xpra client does not run as a Wayland client of sway. That would need full GTK3 support of xpra. |
(Sorry, I haven't had time to work on this, but I hope to pick up up Soon(TM). Everything you said made sense.) |
No problem ;-). Feel free to reopen if you have more questions or wishes. |
In Qubes, you run related software (e.g. personal, work...) in related Xen domUs for separation. In dom0, a window manager makes them visually distinct via a combination of window title prefix (which can not be set by the child VM/domU) and window decoration color. This still looks "seamless"
How do I accomplish something similar in x11docker? Can we get that with pure Wayland?
I can think of a few things that ostensibly work.
--xpra
and--xpra-wayland
work really well. Window decoration appears to be mutter (I'm running Gnome 3)'s problem. Not sure if there's an obvious way to tweak window decoration color, which I've found very helpful for quickly determining what context a window lives in.The text was updated successfully, but these errors were encountered: