[Techtalk] Changing the titlebar on an xterm

Peggy Russell prusselltechgroup at gmail.com
Fri May 2 19:47:54 UTC 2014

Hi Akkana,

My favorite control sequence/terminal pages are:

- http://man7.org/linux/man-pages/man4/console_codes.4.html
- http://www.xfree86.org/current/ctlseqs.html
- http://invisible-island.net/xterm/  (Thomas Dickey/ncurses)
  -- The above has a link to:
     --- http://tldp.org/HOWTO/Xterm-Title.html

Possible commands:
  printf -- '\e]2;New Title\7'  
  wmctrl -i -r $WINDOWID -N 'New Title'
  wmctrl -r :ACTIVE: -N 'New Title'

xterm no problem, but konsole they are hit and miss, especially 
from kde3 to kde4.

Peg Russell

More information about the Techtalk mailing list