Jump to content

Change / Set the title of your xterm window

- - - - -

  • Please log in to reply
No replies to this topic

#1
X03

X03

    Newbie

  • Members
  • Pip
  • 7 posts
This is a small script that changes the title of any xterm window. It consists of two lines:

[FONT=monospace]
[/FONT]#!/bin/sh[FONT=monospace]
[/FONT]printf "\033]0;$1\007"


Usage: ./chtitle.sh YourTitleHere

You can replace $1 with a title and include this in your login scripts if you like.

Attached Files






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users