Version: (using KDE 4.2.4) Installed from: Debian testing/unstable Packages I would be nice if konsole abbreviated the home directory with a tilde in the dynamic tab name. Currently, I set "%D" for the tab name, which is more convenient to me than "%d" because I have many directory of the same name, such as "etc" and "utils". But, since I spend most of time under my home directory, "/home/something/username" is redundant and takes up unnecessary space of the tab, which is already scarce. So, I wish the home directory be abbreviated to "~" as with bash's "\w" prompt string (See the "PROMPTING" section of "man bash"). Regards, Ryo
Some common directory names such as src,tmp are handled specially by abbreviating them to a single letter and then prepending the name of the previous directory to give more context. You can change the list of 'common' directory names by adding the following to your konsolerc file (usually found in ~/.kde/share/config/) [ProcessInfo] CommonDirNames=src,tmp,etc,utils (etc.)
(In reply to comment #1) > Some common directory names such as src,tmp are handled specially by > abbreviating them to a single letter and then prepending the name of the > previous directory to give more context. You can change the list of 'common' > directory names by adding the following to your konsolerc file (usually found > in ~/.kde/share/config/) > > [ProcessInfo] > CommonDirNames=src,tmp,etc,utils (etc.) Thanks, but it's not clear to me how to abbreviate my home directory ("/home/somedir/myusername") to "~". I've added the following two lines to ~/.kde/share/config/konsolerc (Yes, the file had existed before I did anything to it) [ProcessInfo] CommonDirNames=/home/somedir/myusername and invoked konsole, but nothing changed.
SVN commit 1185589 by hindenburg: In the tab title, for %D change the user's home path with a ~ if it starts at the beginning. FEATURE: 206316 FIXED-IN: 4.6 M +28 -1 ProcessInfo.cpp M +7 -0 ProcessInfo.h M +3 -0 Session.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1185589