I am using LXDE environment in Debian, but I think my question is general.
When I have a window opened (i.e. terminal emulator running bash) the window has a window title with the text
/bin/bash. When I start
mc in the terminal, the title changes to
The same text also appears as the window name on the window panel, where I can switch between opened windows.
My problem is, the window name does not refresh, it still shows
mc [martin@localhost], even when I am already logged on another machine. Only when I start
mc does the title refresh again.
Is there a way to make the title refresh automatically?