[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Konsole: Tab titles gnome-terminal style?




Hi,

I see... Problem is, I'd like it to change dynamically, without me having to set it manually or with a shell command (i.e. dcop). The window title for Konsole shows me something like (editing file main.mk with vi in directory /home/carles/project/):

main.mk (~/project) - VIM - Shell No. 2 - Konsole

and when I switch to Shell (#1):

project.c (~/project) - VIM - Shell - Konsole

If I quit VI, then this automatically changes. What I'd like is the tab title to show me what the window title shows about the active tab, so that way if I have 2 tabs and in every tab I am editing a different file with VI, I can quickly identify what tab is editing which file...

Thanks!!!

Carles

Rob Sims wrote:
On Thursday 11 November 2004 07:52 am, Carles Cufi wrote:

"Shell No. x". In fact, I'd like konsole to do exactly what
gnome-terminal does, which is to show in the tab title what you'd see
as a window title once you click on that tab. Any clues on how to do
this?


By hand:
Double click the tab and rename, or right click the tab and "rename session."

Automatically:
Wherever you set the terminal title (often the PROMPT_COMMAND environment variable), add the command:
dcop "$KONSOLE_DCOP_SESSION" renameSession "New Title"



Reply to: