Go Back   Linux Forums by TotalPenguin! Get linux Help! > GUI Linux > Linux Programming and Scripting > Shell Scripts

Shell Scripts Post your shell script and what it does here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-12-2008, 11:01 PM
X03 X03 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 6
X03 is on a distinguished road
Default Change / Set the title of your xterm window

This is a small script that changes the title of any xterm window. It consists of two lines:

Code:

#!/bin/sh
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
File Type: txt chtitle.sh.txt (33 Bytes, 1 views)
Reply With Quote

Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/sd device addresses change Pan Linux Hardware 5 06-19-2008 10:48 AM
Enforce Password Change Wanch Linux Security 6 03-23-2008 03:52 AM
Change login resolution of Ubuntu TotalPenguin Linux Applications 4 02-22-2008 04:24 PM
Simple Question.... Change Default Editor Wanch Linux Applications 1 01-28-2008 01:00 PM
Change my Windows Manager Crop Linux General 1 01-21-2007 05:48 PM


All times are GMT. The time now is 09:44 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.