You are not logged in.

#1 2013-10-15 15:54:46

systemovich
Member
Registered: 2013-05-27
Posts: 20

[SOLVED] [mutt] Name "mutt" not appears in terminal window title bar

The name "mutt" does not appear in the terminal window title bar in i3; instead, "username@hostname" appears. The terminal is Terminator.

When running weechat, "weechat 0.4.2" appears in the window title. With vim, "filename (path) VIM" appears in the title bar.

How can I fix this, please?

Last edited by systemovich (2013-10-16 08:51:25)

Offline

#2 2013-10-16 08:50:16

systemovich
Member
Registered: 2013-05-27
Posts: 20

Re: [SOLVED] [mutt] Name "mutt" not appears in terminal window title bar

Inserting the following bash function into ~/.bashrc allows you to manually change the bash title:

# Set window title
## Courtesy of http://www.kirsle.net/blog/kirsle/set-window-title-in-bash
function title {
	# PROMPT_COMMAND="echo -ne \"\033]0;$1 (on $HOSTNAME)\007\""
	PROMPT_COMMAND="echo -ne \"\033]0;$1 \007\""
}

Offline

Board footer

Powered by FluxBB