From: Christian V. S. <cv....@ma...> - 2020-06-10 19:25:28
|
On Wed, Jun 10, 2020 at 02:03:06PM +0200, John Smith wrote: > On Tue, 9 Jun 2020, Christian Victor Schulz wrote: > > > @John Smith: > > Have you tried using the Wayland version mlterm-wl? This may solve your > > problem. > > It does! Many thanks for this inspired suggestion. However, building mlterm-wl > produces a bare window without the normal Ubuntu decorations. I have never > compiled anything for Wayland before, and have googled without success for a > solution. So I need a little more help. > > John Smith Oh well, I forgot about that. The problem is that Gnome's Wayland session does not provide server-side window decorations; instead, the clients, e.g. mlterm, have to render the decorations themselves. This is called client-side window decorations. There have been lots of acrimonious discussions about this "feature" which you can read up on if you are interested, but this will not change anytime soon (there are other wayland compositors like sway that do have server-side decorations) and mlterm does not provide any window decorations. I don't know whether Araki Ken plans to implement this at some point. I forgot about it because I don't use Gnome anymore. Unfortunately, it probably renders my idea useless. Let's see what Araki Ken has to say about this, but for now, here are some other ideas: 1. Does the mouse behave weirdly under Gnome's X11 session as well? You can choose the X11 session when logging in. I think it is called "GNOME Classic". This is a somewhat temporary solution, but X11 support will probably not be dropped anytime soon. 2. mlterm can masquerade as a libvte terminal. libvte is the library that is used by Gnome Terminal and many other terminal emulators (termite, guake, ...). The way this works is that the libvte library headers are replaced so that if you start e.g. a Gnome terminal, the terminal will actually be an mlterm within the normal Gnome terminal window. This could maybe solve your problem, but setting it up is a bit involved and I never tried it. You can find instructions on how to do this in src/tip/gtk/README. Christian Schulz |