Re: Title bar of X apps, no host name?

2011-12-23 Thread Jon TURNEY
On 07/11/2011 18:23, Jon TURNEY wrote: On 03/11/2011 19:27, Timothy Madden wrote: On 24.10.2010 04:59, Jerry Cloe wrote: When I start individual windows between two linux boxes I always get the host name in the title bar of the window. For example from my desktop linux box: ssh -X

Re: Title bar of X apps, no host name?

2011-11-07 Thread Jon TURNEY
On 03/11/2011 19:27, Timothy Madden wrote: On 24.10.2010 04:59, Jerry Cloe wrote: When I start individual windows between two linux boxes I always get the host name in the title bar of the window. For example from my desktop linux box: ssh -X jerry@prodserver then gedit The title bar of the

Re: Title bar of X apps, no host name?

2011-11-04 Thread Csaba Raduly
On Thu, Nov 3, 2011 at 8:27 PM, Timothy Madden wrote: Does anyone know how to change the window title to include the hostname please ? Put the following into your PS1 (on the remote machines) : \[\e]0;\h:\w\a\] Or you could google for xterm window title Csaba -- GCS a+ e++ d- C++ ULS$

Re: Title bar of X apps, no host name?

2011-11-04 Thread Timothy Madden
On 04.11.2011 11:09, Csaba Raduly wrote: On Thu, Nov 3, 2011 at 8:27 PM, Timothy Madden wrote: Does anyone know how to change the window title to include the hostname please ? Put the following into your PS1 (on the remote machines) : \[\e]0;\h:\w\a\] Or you could google for xterm window

RE: Title bar of X apps, no host name?

2011-11-04 Thread Jay Goldman
You can put what you want in the title by setting PROMPT_COMMAND - e.g., set PROMPT_COMMAND=setWindowTitle $(uname -n) where setWindowTitle is a shell script like: echo -ne \e]2;$*\a by putting it in the PROMPT_COMMAND you handle the case where some command sets the window title while it is

Re: Title bar of X apps, no host name?

2011-11-03 Thread Timothy Madden
On 24.10.2010 04:59, Jerry Cloe wrote: When I start individual windows between two linux boxes I always get the host name in the title bar of the window. For example from my desktop linux box: ssh -X jerry@prodserver then gedit The title bar of the resulting gedit window will be along the

Title bar of X apps, no host name?

2010-10-23 Thread Jerry Cloe
When I start individual windows between two linux boxes I always get the host name in the title bar of the window. For example from my desktop linux box: ssh -X je...@prodserver then gedit The title bar of the resulting gedit window will be along the lines of: gedit (on prodserver.host.com)