KDE 4.X

Joseph Sinclair plug-discussion at stcaz.net
Tue Sep 8 21:19:12 MST 2009


The escape sequence works just fine on KDE as well.  Any terminal program that handles the VT100 escapes.
One line above the quoted text you stated "I have now gone over to gnome since the kde 4 debacle."
I used Gnome Terminal as the example based on that statement.

Jerry Davis wrote:
> On Tue, 08 Sep 2009 20:39:35 -0700
> Joseph Sinclair <plug-discussion at stcaz.net> wrote:
> 
>> Jerry Davis wrote:
>>> I wish the old konsole was back, I had a whole bunch of ssh terminals I went
>>> into and automatically renamed the terminal tab. now NO ONE seems to know
>>> how to do it - a LOT of ideas and theories on how it is supposed to -- but
>>> no one with knowledge of how to do it.
>>>
>> You can get the title in Gnome Terminal switched by having the command set
>> the title.  You just have to echo the correct escape sequence (this goes back
>> to the old VT100 commandset). A quick hack is to have a shell script that
>> runs the ssh command set the prompt to the hostname, then run ssh, then set
>> the prompt back (although the remote shell is perfectly capable of echoing
>> the same escape sequence to change the title itself as well). Here's an
>> example script: #!/bin/bash echo -ne "\033]0;${1}@${2}\007" ssh ${1}@${2}
>> echo -ne "\033]0;$(whoami)@$(hostname)\007" the \033]0; and \007 pair are
>> what set the terminal title.
>>
>> You could even have the remote system do the reset by echoing the desired
>> string in the .bashrc (check for an interactive terminal before doing that,
>> though).
>>
>>
> 
> thanks for the lesson in gnome terminal. But we were talking of KDE here, and I
> was talking about the kde terminal specifically.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20090908/21408641/attachment.pgp 


More information about the PLUG-discuss mailing list