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


Groups > comp.sys.raspberry-pi > #37766

Re: Titles in lxterminal

Path csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From Jim Jackson <jj@franjam.org.uk>
Newsgroups comp.sys.raspberry-pi
Subject Re: Titles in lxterminal
Date Wed, 18 Feb 2026 20:15:33 -0000 (UTC)
Organization A noiseless patient Spider
Lines 29
Message-ID <slrn10pc7f5.h2e.jj@iridium.wf32df> (permalink)
References <10n560g$2u42e$1@dont-email.me>
Injection-Date Wed, 18 Feb 2026 20:15:34 +0000 (UTC)
Injection-Info dont-email.me; posting-host="9641bf0b7801898edc57e3a6b2919df1"; logging-data="3080186"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Xe6LBpHCQZ1ezQqoOevApawegcMb1PB8="
User-Agent slrn/1.0.3 (Linux)
Cancel-Lock sha1:ifQG2xqWVGPvjh9G3hMI/vxkjS8=
Xref csiph.com comp.sys.raspberry-pi:37766

Show key headers only | View raw


On 2026-02-18, bp@www.zefox.net <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?
>
> Thanks for reading,
>
> bob prohaska
>

You need to write the string ESC]0;Title^G  to the terminal.

I have this in a little script called xtn which does this.

To generate ESC in bash use ^V^[   where '^' is holding down the control key.
^G is done like wise. You will have to wrap the strings in quotes

e.g.  echo -n "^[]0;"$1"^G"

good luck. I've just done this in LXTerminal with bash as my shell.

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Titles in lxterminal bp@www.zefox.net - 2026-02-18 20:04 +0000
  Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-18 20:15 +0000
    Re: Titles in lxterminal bp@www.zefox.net - 2026-02-19 03:22 +0000
      Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-19 16:53 +0000
      Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-20 15:50 -0400
  Re: Titles in lxterminal Theo <theom+news@chiark.greenend.org.uk> - 2026-02-19 00:43 +0000
    Re: Titles in lxterminal bp@www.zefox.net - 2026-02-19 03:47 +0000
      Re: Titles in lxterminal Richard Harnden <richard.nospam@gmail.invalid> - 2026-02-19 16:01 +0000
        Re: Titles in lxterminal bp@www.zefox.net - 2026-02-19 16:54 +0000
          Re: Titles in lxterminal Richard Harnden <richard.nospam@gmail.invalid> - 2026-02-19 17:52 +0000
          Re: Titles in lxterminal bp@www.zefox.net - 2026-02-22 00:21 +0000
            Re: Titles in lxterminal Richard Harnden <richard.nospam@gmail.invalid> - 2026-02-23 10:26 +0000
              Re: Titles in lxterminal bp@www.zefox.net - 2026-02-23 18:18 +0000
                Re: Titles in lxterminal druck <news@druck.org.uk> - 2026-02-23 23:46 +0000
                Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-25 19:45 +0000
                Re: Titles in lxterminal druck <news@druck.org.uk> - 2026-02-25 20:42 +0000
                Re: Titles in lxterminal Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-25 22:28 +0000
                Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-27 16:29 +0000
                Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-27 16:29 +0000
        Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-19 16:57 +0000
    Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-20 15:42 -0400
      Re: Titles in lxterminal Theo <theom+news@chiark.greenend.org.uk> - 2026-02-20 20:49 +0000
        Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-25 21:33 -0400
          Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-27 16:24 +0000
            Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-27 19:57 -0400
              Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-28 11:28 +0000
                Re: Titles in lxterminal Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-28 22:15 +0000
                Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-28 22:06 -0400
                Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-03-01 11:39 +0000
            Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-03-02 21:16 -0400
  Re: Titles in lxterminal Gordon Henderson <gordon+usenet@drogon.net> - 2026-02-19 16:24 +0000
    Re: Titles in lxterminal bp@www.zefox.net - 2026-02-19 17:03 +0000
      Re: Titles in lxterminal Gordon Henderson <gordon+usenet@drogon.net> - 2026-02-19 20:06 +0000
        Re: Titles in lxterminal Theo <theom+news@chiark.greenend.org.uk> - 2026-02-19 22:55 +0000

csiph-web