RBERRYPI ---------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 4 из 100
 От   : Jim Diamond                         3:633/10          03 мар 26 16:30:01
 К    : All                                                   03 мар 26 08:49:02
 Тема : Re: Titles in lxterminal
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <slrn10qcdj7.pvs.zsd@x360.localdomain>
52d00d9f
@REPLY: <slrn10q3h9c.gle.jj@iridium.wf32df>
2055f1e6
@PID: PyGate 1.5.12
@TID: PyGate/Linux 1.5.12
@CHRS: ASCII 1
@TZUTC: 1100
@REPLYADDR zsd@jdvb.ca
@REPLYTO 3:633/10 UUCP
On 2026-03-01 at 07:39 AST, Jim Jackson <jj@franjam.org.uk> wrote:
> On 2026-03-01, Jim Diamond <zsd@jdvb.ca> wrote:

>> After I sent my last email, I started to wonder whether it could be a
>> window manager thing.

>> I am using fvwm3.

>> By the way, I looked only (only for a few minutes), and didn`t find any web
>> page or "cheat sheet" or ... which mentioned using `30` to set the window
>> title.  Did you get that off some web site somewhere, deep inside some
>> documentation, or ... ?

> Sorry don`t understand the "30" reference.

You haven`t been following along closely.  Here is the entire message which
you first (at least first in this sub-thread) replied to:

--------------------------------------------------------------------
> Date: Wed, 25 Feb 2026 21:33:02 -0400

> On 2026-02-20 at 16:49 AST, Theo <theom+news@chiark.greenend.org.uk> wrote:
>> Jim Diamond <zsd@jdvb.ca> wrote:
>>> On 2026-02-18 at 20:43 AST, Theo <theom+news@chiark.greenend.org.uk> wrote:
>>>> bp@www.zefox.net wrote:
 >>>>> From time to time I get badly confused about which terminal
window does what.
>>>>> This is on a Pi5 running bookworm, if it matters.

 >>>>> One thing that would help is causing each lxterminl window or
tab to display
 >>>>> the name of the command being run. In most cases that would
be an ssh command
>>>>> and hostname.

>>>>> Obviously, this can be done manually by using the Tabs > Name Tab menuu,
 >>>>> but it seems likely there`d be a setting in
.config/lxterminal/lxterminal.conf
>>>>> which I`m unable to intuit.

>>>>> Does anyone know if this is true, and if so what syntax is required?

>>>> Does this set the window title:

>>>> $ export TITLE="hello world"
>>>> $ echo -en "]30;$TITLE"

>>> I realize that the conversation has moved on, but for anyone coming in
>>> late...

>>> There is a `3` in the above line which should not be there.
>>> Try
>>> $ echo -en "]0;$TITLE"

>> They both work for me (in Konsole). According to:
>> $ zless /usr/share/doc/xterm/ctlseqs.txt.gz

>> Code       | Sun | CDE | XTerm | Description
>> OSC 0 ST   |  -  | yes |  yes  | set window and icon title
>> OSC 1 ST   |  -  | yes |  yes  | set icon label
>> OSC 2 ST   |  -  | yes |  yes  | set window title
>> OSC 3 ST   |  -  | n/a |  yes  | set X server property


>> where OSC (`operating system command`) is `ESC ]` in 7-bit mode (0x9b in
>> 8-bit mode) and ST (`sequence terminator`) is `ESC ` or 0x9c.  So it looks
>> like the first 3 is overridden by the second 0 as there`s no OSC 3 0 ST
>> command listed.

> Theo,

> Huh.  They don`t work for me in urxvt.

> Of course, the question was about lxterminal.  So maybe it didn`t work for
> the OP because of the `3`, and maybe for some other reason.

>                                 Jim
--------------------------------------------------------------------

See where I said

>>> There is a `3` in the above line which should not be there.

and later

> Of course, the question was about lxterminal.  So maybe it didn`t work for
> the OP because of the `3`, and maybe for some other reason.

Then you replied and said

> just installed rxvt-unicode, fired it up and ran my usual terminal name
> script which uses these codes and it works! Dunno what makes you setup
> not work.

So now I wonder whether you actually used the "3" when you tried setting the
title in urxvt.   When you said "these codes" I assumed you were talking
about the codes with "30" in them, since that was the escape sequence that
had been mentioned earlier.

I also wonder whether the OP got straightened out, but I`m not sure he
ever replied in the end.

                                Jim

--- PyGate Linux v1.5.12
 * Origin: Dragon`s Lair, PyGate NNTP<>Fido Gate (3:633/10)
SEEN-BY: 19/10 50/109 153/757 218/840 840 220/70
221/1 6 360 226/17 100
SEEN-BY: 229/426 240/1120 267/800 301/1 113 812
310/31 335/364 341/66 463/68
SEEN-BY: 633/10 280 414 418 420 422 509 2744
712/848 770/1 3 100 340 350
SEEN-BY: 772/210 220 230 5019/40 5020/715 848 1042
4441 12000 5030/49 722
SEEN-BY: 5030/1081 1474 5053/55 5061/133 5075/128
@PATH: 633/10 280 770/1 218/840 221/6 301/1
5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх