Changing the title of a Konsole window

For those of you who use KDE and Konsole, you can easily change the title of the Konsole window with the command:

dcop $KONSOLE_DCOP_SESSION renameSession 'NewSessionName'

this is pretty handy if, like me, you end up having a bunch of screen sessions running in different Konsole windows.

more ...