Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226104

Re: xterm no title (buster)

From dickey@invisible-island.net
Newsgroups linux.debian.user
Subject Re: xterm no title (buster)
Date 2020-08-11 12:00 +0200
Message-ID <ACzex-1pE-5@gated-at.bofh.it> (permalink)
References (3 earlier) <ABAml-6tz-1@gated-at.bofh.it> <ABOpk-6BA-1@gated-at.bofh.it> <ACd4l-4Uo-9@gated-at.bofh.it> <ACetr-5Ex-5@gated-at.bofh.it> <ACzex-1pE-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Monday, August 10, 2020 at 7:50:04 AM UTC-4, to...@tuxteam.de wrote:
> On Mon, Aug 10, 2020 at 12:14:30PM +0200, Marc SCHAEFER wrote:
> > On Sun, Aug 09, 2020 at 09:59:12AM +0200, tomas wrote:
> > > To verify/falsify that, you might run xprop on your xterm window.
> > > The property you are looking for is called WM_NAME. You can even
> > 
> > xprop | grep WM_NAME
> > WM_NAME(STRING) = "schaefer@reliand: /home/schaefer"
> 
> So xterm is "setting" [1] its title correctly.
> 
> > > use xprop to /set/ the window property -- this way you can be sure
> > 
> > xprop -f WM_NAME 8s -set WM_NAME "toto"
> 
> This is to be expected, after what you found out above.
> 
> [...]
> 
> Given that evidence, my guess is that the window manager is somehow
> botching the title bar dispay. Either it tries to use some non-existent
> font, or it's writing with the same background and foreground colour
> or something.
> 
> Have you tried another "classic" X program? For example xmag or xeyes?
> 
> This may be a hint -- either your window manager is specifically treating
> xterm in a special way, or the decorations of all "classic" X programs
> fail in the same way.
> 
> Cheers
> 
> [1] Of course it cannot actually "set" the title. It just can ask
>    politely the window manager to do it.

While you can set the title for xmag and xeyes using the X Toolkit option "-title", it seems that OP may be doing something different.  For instance, if OP's shell sends escape sequences to set the title, that could be in UTF-8, which has been a problem (a) because the original protocol uses ISO-8859-1 and (b) because the corresponding X properties have to be handled as multibyte rather than strings.

EWMH sort-of fixes the problem by providing a different set of properties which hold UTF-8.  buster has xterm patch #344.  The most recent fix for xterm in this area is from patch #350:

https://packages.debian.org/buster/xterm
https://invisible-island.net/xterm/xterm.log.html#xterm_350

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

xterm no title (buster) Marc SCHAEFER <schaefer@alphanet.ch> - 2020-08-08 11:20 +0200
  Re: xterm no title (buster) Long Wind <longwind2@yahoo.com> - 2020-08-08 11:50 +0200
    Re: xterm no title (buster) Marc SCHAEFER <schaefer@alphanet.ch> - 2020-08-08 13:10 +0200
      Re: xterm no title (buster) <tomas@tuxteam.de> - 2020-08-08 14:50 +0200
  Re: xterm no title (buster) "Thomas Schmitt" <scdbackup@gmx.net> - 2020-08-08 12:00 +0200
  Re: xterm no title (buster) Stefan Monnier <monnier@iro.umontreal.ca> - 2020-08-08 14:30 +0200
    Re: xterm no title (buster) Marc SCHAEFER <schaefer@alphanet.ch> - 2020-08-08 18:30 +0200
      Re: xterm no title (buster) Marc SCHAEFER <schaefer@alphanet.ch> - 2020-08-08 19:00 +0200
        Re: xterm no title (buster) mick crane <mick.crane@gmail.com> - 2020-08-08 21:00 +0200
        Re: xterm no title (buster) <tomas@tuxteam.de> - 2020-08-09 10:00 +0200
          Re: xterm no title (buster) Marc SCHAEFER <schaefer@alphanet.ch> - 2020-08-10 12:20 +0200
            Re: xterm no title (buster) <tomas@tuxteam.de> - 2020-08-10 13:50 +0200
              Re: xterm no title (buster) Marc SCHAEFER <schaefer@alphanet.ch> - 2020-08-10 19:10 +0200
                Re: xterm no title (buster) Marc SCHAEFER <schaefer@alphanet.ch> - 2020-08-10 19:20 +0200
                Re: xterm no title (buster) <tomas@tuxteam.de> - 2020-08-10 19:40 +0200
              Re: xterm no title (buster) dickey@invisible-island.net - 2020-08-11 12:00 +0200
  Re: xterm no title (buster) Mike Kupfer <mkupfer@alum.berkeley.edu> - 2020-08-09 00:20 +0200
    Re: xterm no title (buster) Marc SCHAEFER <schaefer@alphanet.ch> - 2020-08-09 00:20 +0200

csiph-web