This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Konsole caption

Tags: konsole konsole konsole
(comma "," separated)
Holy Cheater
Registered Member
Posts
1
Karma
0

Konsole caption

Mon May 04, 2009 8:38 am
How to make konsole caption show current path / program running?
The only thing it show is name of running shell. And updates the names of running processes very slowly.

Bash works fine in xterm.
Zsh works with something like this:
precmd() { print -Pn "e]0;%~a" }
preexec() { print -Pn "e]0;$1a" }

But konsole doesn't update caption (bash/zsh/whatever).
User avatar
Jekyll
KDE Developer
Posts
34
Karma
0
OS

Re: Konsole caption

Sat Apr 07, 2012 12:18 am
If you are using the KDE4 Konsole, change the tab title format to "%n:%D",where %n expands to the name of current running process and %D expands to the path of the current working directory.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell