Jump to content
Guest thebogdan

konsole window title

Recommended Posts

Guest thebogdan

I found a post on the ubuntu forums regarding removing the \u@\h \w from the konsole window title by editing /etc/bashrc. I edited the line:


PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' to

PROMPT_COMMAND='echo -ne "\033]0;\007"'


The result is that my konsole window titles are 'foo - Konsole' instead of 'rob@machine /home/rob - foo - Konsole'. Much better.


My question is, how do I remove the '- Konsole' part?



[moved from Tips & Tricks by spinynorman - welcome aboard :)]

Share this post

Link to post
Share on other sites

I'm not on my linux box at the moment, but you may have to change your launcher's command (right-click the icon you click on to launch konsole and select Propertires) to something like this:

konsole --caption ''


(That's two single quotes with nothing in between them, not one double quote)

Edited by Steve Scrimpshire

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...